Install MySql in Ubuntu

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.