1. First, check whether MySQL is installed on the computer. Enter the command: sudo netstat-tap | grep mysql. If no output is displayed, check whether MySQL is installed;
2. Enter sudo apt-Get install mysql-server mysql-client in the command.
Enter the root password.
3. After the installation is complete, test whether the installation is successful. Enter the Step 1 command.
4. If a problem occurs in the MySQL service, restart: sudo/etc/init. d/MySQL restart.
5. By default, you can only access the MySQL server locally. If you want to access the server remotely, You need to configure the MySQL configuration file,
Sudo gedit/etc/MySQL/My. CNF
Earlier versions
Change "Skip-Networking" to "# Skip-Networking"
New Version
Change "bind-address = 127.0.0.1" to "bind-address = IP address of your machine"
This allows other machines to access MySQL.
6. by default, navicat only has a 30-day trial period. After it is enabled for the first time, a file is generated in the user's home directory. the hidden folder of navicat, which contains a system. reg file. After expiration, you can delete this file, and there will be another 30-day trial.