MySQL self-booting under Linux

Source: Internet
Author: User

If you are installing by default configuration then just 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 give executable permission

3. chkconfig--add mysql Add service

4. chkconfig--list Display Service list

If you see the MySQL service and the 3,4,5 is on, then you are successful, if it is off, type

Chkconfig--level 345 MySQL on
5, reboot restart the computer
6, Netstat-na | grep 3306, if you see a listening instruction, the service is started.

Reprint statement: http://www.cnblogs.com/fnlingnzb-learner/p/5832917.html

MySQL self-booting under Linux

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.