---restore content starts---
In view of the personal Linux system is not very familiar with, so directly on the Internet to find the installation of the command to install, did not use the download binary package for installation;
1. Install mysql command: sudo apt-get install Mysql-server
This procedure sets the root user's password.
2. Use command: Mysql-v (V capital)
Can view the installed MySQL version;
3, this installation method will install the configuration in the following folder:/etc/mysql
So need to see the MySQL configuration can be viewed under this folder, edit files under this folder requires root permission
So I used the command window to open the file to be edited with the sudo command.
4, because I was on Windows through Navicat link, so need to modify the MySQL configuration file bind-address empty: The configuration file in the comments off the line (add # comment)
Post-command: Service MySQL restart restart MySQL service for access via Windows
MySQL commonly used to assign the right statement reference:
Http://www.jb51.net/article/31850.htm
Ubtunu installing MySQL