For some friends, the installation of MySQL5.6 in the Ubuntu14.04 is always wrong, here I put the process of my installation to everyone to say:
If you are logged in Ubuntu is not the root account, then first switch to root, command sudo su root will appear after the password authentication, here is your ordinary user login password. Direct validation is possible.
First, when we install the software, update the Ubuntu data source:sudo apt-get Update ENTER after it will automatically update the data source, wait for the end of the next operation can be done.
Second, we first install the MySQL need to rely on:apt-get install mysql-client-core-5.6 and apt-get install mysql-client-5.6
Installation of MySQL:apt-get Install mysql-server-5.6, the installation process to enter the root password;
Iv. verifying that the original host is installed
Here is the main run of sudo netstat-tap | grep mysql command to see if there is a MySQL port, if not add sudo because the permissions can not be executed smoothly:
Netstat-tap | grep MySQL
If the installation succeeds, executing the above command will show:
TCP 0 0 localhost:mysql : LISTEN 6840/mysqld
Type a command to check whether MySQL is started:netstat-tap | grep mysql mysql monitor on localhost, stating that MySQL is already started.
Vi. log in to MySQL using the command line Mysql-u root-p
Finally, you'll be able to manipulate your database.
Install MySQL under Linux