How to install mysql in Ubuntu 14.04

Everyone who has contacted MySQL knows that installing MySQL under Windows is a very big thing, but installing MySQL on other Linux systems such as Ubuntu is much easier. The specific tutorial is as follows .
1、 Enter the MySQL installation command "sudo apt-get install mysql-server" in the Ubuntu command line, as shown in the figure below.

2、 MySQL installation is in progress, wait for the installation to complete.

3、 If MySQL has been installed before, if you encounter a new version of MySQL at this time, you will need to configure it, as shown in the figure below.

If you do not set a new password here, the password is the same as the previous MySQL; if you want to set a new password, just enter the new password.
4、 Reset the new password here, and then a window for entering the new password again will pop up, as shown in the figure below. After the setting is complete, click "ok".

5、 Then proceed according to the procedure, as shown in the figure below.

6、 Wait for the MySQL installation to complete, after it is completed, as shown in the following figure.

7、 At this point, use the command: ps aux | grep mysqld to check to see if mysql has been started.

You can see that mysql has been started, and on the left you can see that the process number of mysql is 6391.
8、 After mysql is started, you can enter the command in the command line: mysql -u root -p, and then enter the password you set before to enter the MySQL database.

9、 Then you can use MySQL normally, and operations such as adding, deleting, modifying, and checking can be performed normally, as shown in the following figure.

10、 If you want to exit the MySQL database, simply enter "exit" or "quit", as shown in the figure below.

At this point, the installation of MySQL in Ubuntu has been completed, do you think it is easier than MySQL installation under Windows?

Recommended Posts

How to install mysql in Ubuntu 14.04
How to install mysql in Ubuntu 14.04
How to install Helm in Ubuntu
How to install MySQL on Ubuntu 14.04
How to install cuda10.1 driver in Ubuntu
How to install MySQL on Ubuntu 18.04 (linux)
How to install ROS Noetic in Ubuntu20.04
How to install python in ubuntu server environment
How to install the latest MySQL on Ubuntu 18.04
How to install Hadoop in standalone mode on Ubuntu 18.04
How to install Ruby on Ubuntu 20.04
How to install Java on Ubuntu 20.04
How to use hanlp in ubuntu
How to install VirtualBox on Ubuntu 20.04
How to install Elasticsearch on Ubuntu 20.04
How to install Protobuf 3 on Ubuntu
How to install Nginx on Ubuntu 20.04
How to install Apache on Ubuntu 20.04
How to install Git on Ubuntu 20.04
How to install Node.js on Ubuntu 16.04
How to install PHP7.4 in CentOS
How to install Vagrant on Ubuntu 20.04
How to install Bacula-Web on Ubuntu 14.04
How to install PostgreSQL on Ubuntu 16.04
How to install Git on Ubuntu 20.04
How to install and use MySQL Workbench on Ubuntu 18.04
How to install Anaconda3 on Ubuntu 18.04
How to install Memcached on Ubuntu 18.04
How to install Jenkins on Ubuntu 16.04
How to install MemSQL on Ubuntu 14.04
How to install Go on Ubuntu 20.04
How to install MongoDB on Ubuntu 16.04
How to install Mailpile on Ubuntu 14.04
How to install PrestaShop on Ubuntu 16.04
How to install Skype on Ubuntu 20.04
How to install Jenkins on Ubuntu 20.04
How to install Python 3.8 on Ubuntu 18.04
How to install KVM on Ubuntu 18.04
How to install KVM on Ubuntu 20.04
How to install opencv3.0.0 on ubuntu14.04
How to install Anaconda on Ubuntu 20.04
How to install Prometheus on Ubuntu 16.04
How to install Jenkins on Ubuntu 18.04
How to install Apache on Ubuntu 20.04
How to install R on Ubuntu 20.04
How to install HDP2.6 in Centos7.2
How to install Moodle on Ubuntu 16.04
How to install Solr 5.2.1 on Ubuntu 14.04
How to install Teamviewer on Ubuntu 16.04
How to install MariaDB on Ubuntu 20.04
How to install Nginx on Ubuntu 20.04
How to install Mono on Ubuntu 20.04
How to install Go on Ubuntu 20.04
How to install Zoom on Ubuntu 20.04
How to install Nginx on Ubuntu 16.04
How to install OpenCV on Ubuntu 20.04
How to install Spotify on Ubuntu 20.04
How to install Postman on Ubuntu 18.04
How to install Go 1.6 on Ubuntu 16.04
How to install Go on Ubuntu 18.04
How to install Audacious under Ubuntu