MySQL Study Notes-MySQL startup and Connection

Source: Internet
Author: User

, View and start the MySQL Service

After MySQL is installed in Windows XP, it automatically starts the service and has a shortcut connection to the client in the Start Menu, as shown in Figure 4.1.

Fig 4.1

You can view it in the Service Manager of Windows. "Start"-"run", enter "services. msc", and press Enter. The Service Manager of Windows is displayed, and the service item "mysql" is displayed. The service item "started" is displayed on the right, as shown in Figure 4.2.

Fig 4.2

If "started" is not displayed, the MySQL service is not started and cannot be connected. Therefore, the error 10061 is returned. The start method is "start"-"run", enter "cmd", and press enter to bring up the XP command prompt interface (similar to the doscommand line, which will be referred to as the command line later ). Enter "net start mysql" to start the mysql service and stop the mysql service "net stop mysql" (note that the MySQL service name is entered here. If your MySQL service name is DB or another name, you should enter "net start DB" or another name), as shown in Figure 4.3.

Fig 4.3

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.