How to skip MySQLServer startup during Linux Startup

Source: Internet
Author: User
After mysql is installed in Linux, mysql is generally added to the Automatic startup List by adding usrlocal to the etcrc. local file.

After mysql is installed in Linux, mysql is generally added to the Automatic startup List by adding/usr/local to the/etc/rc. local file.

After mysql is installed in Linux, mysql is generally added to the Automatic startup list:

Add/usr/local/mysql/bin/mysqld_safe -- user = mysql &

This usually brings a lot of convenience to users, but my Linux system suddenly got stuck when I started mysql service one day, so I found some solutions on the Internet, as described below:

1. generally, the ssh service is started before the mysql service is started. Therefore, you can use putty and other client tools to log on to the Linux system and modify/etc/rc. local file (or use the chkconfig -- del mysqld command) to delete mysql-related services and restart them.

2. After logging on to the Linux system, run the top | grep mysql command to search mysql-related services and kill the corresponding process number so that the Linux system can continue to start.

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.