Install MySQL 5.1.7 and Navicat 8 in RedHat Linux 2.6.18

Source: Internet
Author: User

I want to use MySQL in linux for my work needs today. After VM 7.1.3 is installed, the Red Hat Linux 2.6.18 is installed as needed ([Red Hat Enterprise. linux.5]. TLF-SOFT-RedHat.Enterprise.Linux.5.Update.2-XiSO.iso under the donkey), and from the Oracle official website to download the MySQL server and client RPM installation package (MySQL-server-5.1.7-0.i386.rpm; MySQL-devel-5.1.7-0.i386.rpm; MySQL-client-5.1.7-0.i386.rpm ).

The process of installing MySQL is relatively simple. You can use RPM to install MySQL by default. However, port 3306 cannot be found using the netstat command, and MySQL service cannot be found after Navicat 8 is installed. After the system is restarted, prompt "Starting MySQL ................................... [failed] ". After searching for the Internet, the experiment was successful. Now let's share it.

Install the MySQL-server-5.1.7-0.i386.rpm in turn; MySQL-devel-5.1.7-0.i386.rpm; MySQL-client-5.1.7-0.i386.rpm these three installation packages.

Enter/etc/selinux, find the config file, change SELINUX = enforcing to SELINUX = disabled, and then save the disk and exit.

Restart the system, you can see Starting MySQL ................................... [successful]. The modification is complete.

After entering the system, go to the terminal console and use [root @ yourname] # netstat-nat to check whether port 3306 exists.

Go to Navicat 8 and add a database connection.

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.