- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 4378 Articles for MySQL
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
117 Views
Let us understand how to install MySQL with the help of ULN −Linux support many different ways of installing MySQL. One of the methods is installing it from Oracle’s Unbreakable Linux Network, which is also known as ULN.More information about Oracle Linux and ULN can be found here-http://linux.oracle.com/.Install Unbreakable Linux NetworkLet us understand how MySQL can be installed using ULN, i.e Unbreakable Linux Network. To use ULN, a ULN login needs to be obtained.Once this is done, the machine which is used for installation with ULN has to be registered. It supports both community and commercial packages.Community VersionThe community versions ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
612 Views
Let us understand how to install MySQL on Linux −Linux supports many different solutions to install MySQL. We will see how to install MySQL on Ubuntu 20.02. Following are the steps −Step1 − Open Terminal and enter the following command −Press Enter above and wait for download to complete.Step 2 − Set PasswordUse the mysql_secure_installation command and press enter to set password.Step 3 − Now, enter the MySQL Console using the below commandStep 4 − Display all the databases using the “SHOW DATABASES’ command −Now, start creating a new database and tables in it.
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
355 Views
Let us understand how MySQL can be installed on macOS.There is a package that is located inside a disk image (a .dmg) file which needs to be mounted on by double clicking on the icon in the Finder. The next step is to mount the image and display the contents of it.Before installation of MySQL, the user has to ensure that all MySQL server instances have stopped running. This can be done by using the MySQL manager application, which is present on macOS server or the preference pane or by using the mysqladmin shutdown on the command line.MySQL can be ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
1K+ Views
Oracle comes with a set of binary distributions of MySQL. This includes generic binary distributions in the form of compressed tar files (files that have a .tar.xz extension) for many platforms, and binaries in platform-specific package formats for specific platforms.MySQL compressed tar file binary distributions have names in the format ‘mysql−VERSION−OS.tar.xz’, where VERSION refers to a number and OS indicates the type of operating system on which the distribution is required to be used.To install a compressed tar file binary distribution, the installation needs to be unpacked into a location that is chosen by user. Debug versions of the mysqld ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
123 Views
Some problems with compiling MySQL could be because of not configuring properly. Hence, the solution is to reconfigure.If CMake is run right after it was previously run, there is a possibility that it would use information that was gathered from its previous call. This information is present in CMakeCache.txt. When CMake begins, it looks for this file and reads the contents (if it exists), assuming that the information is correct. This assumption becomes wrong when the file is reconfigured.Each time CMake is run, ‘make’ has to be executed again to recompile. The old object files from previous builds can be ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
374 Views
Linux supports many different methods to install MySQL. Only one of the distributions from Oracle needs to be used out of the many installations available.StepsType − Apt, set up method−Enable the MySQL Apt repositoryType − Yum, set up method−Enable the MySQL Yum repositoryType − Zypper, set up method−Enable the MySQL SLES repositoryType − RPM, set up method−Download a specific packageType − DEB, set up method−Download a specific packageType − Generic, set up method−Download a generic packageType − Source, set up method−Compile from sourceType − Docker, set up method−Use Docker Hub for MySQL Community Edition; download Docker image for MySQL Enterprise ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
284 Views
Let us understand how to install MySQL from a source distribution −Building MySQL from sourceYou need the following tools to build and install MySQL from source −GNU needs to be installed so as to uncompress the distribution. Another ‘tar’ should be installed to unpack the distribution.ANSI C++ compiler.A good ‘make’ program. GNU make is recommendedThe below commands need to be executed to install a MySQL source distribution from an unpacked ‘tar’ file −shell> configure shell> make shell> make install shell> scripts/mysql_install_db shell> /usr/local/mysql/bin/safe_mysqld &If you start from a source RPM, then do the following.shell> rpm −−rebuild MySQL−VERSION.src.rpmThis will ‘make’ a ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
198 Views
Let us understand how to verify the package integrity of MySQL −Once the MySQl package that suits the user’s requirements has been downloaded, it has to be installed. Before installation, it is to be ensured that the package is intact and hasn’t been tampered with.Check Integrity of packageThere are three ways in which the integrity of the package can be checked. They have been listed below.MD5 checksumsCryptographic signatures with the help of GnuPG, which is the GNU Privacy GuardFor RPM packages, the built-in PRM integrity verification mechanismLet us understand the MD5 checksum method of checking the integrity of the package.MD5 ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
679 Views
Let us understand how to check the version of MySQL that the user is currently running −Before entering queries on the console, it is important to ensure that the user is connected to the server.Check MySQL VersionThe below query would give the version number of the server being used, and the current date.mysql> SELECT VERSION(), CURRENT_DATE;Note: The function ‘VERSION()’ and ‘CURRENT_DATE’ are case −insensitive. This means ‘version()’, ‘Version()’, ‘vERsion()’, all mean the same. Same goes with ‘CURRENT_DATE’QueriesLearn about MySQL QueriesAn SQL query is followed by a semi−colon.When a query is issued to mysql, it sends the query to the server ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
437 Views
Let us see the different platforms that MySQL supports. MySQL can be deployed in virtual environments.It supports the below mentioned operating systems −Oracle Linux/ Red Hat/ CentOSOracle Linux 8 / Red Hat Enterprise Linux 8 / CentOS 8 whose architecture can be x86_64, ARM 64Oracle Linux 7 / Red Hat Enterprise Linux 7 / CentOS 7 whose architecture can be ARM 64Oracle Linux 7 / Red Hat Enterprise Linux 7 / CentOS 7 whose architecture can be x86_64Oracle Linux 6 / Red Hat Enterprise Linux 6 / CentOS 6 whose architecture can be x86_32, x86_64Oracle SolarisSolaris 11 (Update 4+) whose ... Read More