MySQL in Linux

Source: Internet
Author: User

If you install the SDK according to the default configuration, you only need to follow the steps below.

1. CP/usr/local/MySQL/support-files/MySQL. Server/etc/init. d/MySQL copy the service file to init. d and rename it to MySQL.

2,Chmod + x/etc/init. d/MySQL grant executable permissions

3. chkconfig -- add MySQL to add a service

4. chkconfig -- List displays the service list.

If you see MySQL services, and all 3, 4, and 5 are on, the operation is successful. If it is off, Type

 
Chkconfig -- level 345 MySQL on
5. Restart your computer with reboot
 
6. netstat-Na | grep 3306. If a listener is displayed, the service is started.

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.