MySQL service startup

Source: Internet
Author: User

1.
C:\Program Files (x86) \mysql\mysql-5.5.33-win32\bin>net stop MySQL
The MySQL service is stopping.
The MySQL service has stopped successfully.

2.
C:\Program Files (x86) \mysql\mysql-5.5.33-win32\bin>mysql
ERROR 2003 (HY000): Can ' t connect to MySQL server on ' localhost ' (10061)

3.

C:\Program Files (x86) \mysql\mysql-5.5.33-win32\bin>net start MySQL
The MySQL service is starting.
The MySQL service has started successfully.

4.
C:\Program Files (x86) \mysql\mysql-5.5.33-win32\bin>mysql
Welcome to the MySQL Monitor. Commands End With; or \g.
Your MySQL Connection ID is 1
Server version:5.5.33 MySQL Community Server (GPL)

Copyright (c) and/or, Oracle, its affiliates. All rights reserved.

Oracle is a registered trademark of the Oracle Corporation and/or its
Affiliates. Other names trademarks of their respective
Owners.

Type ' help ', ' or ' \h ' for help. Type ' \c ' to clear the current input statement.

Mysql>

Start MySQL Error 2003 problem is because the MySQL service did not start, or the previous MySQL service did not use Mysqld.exe-remove Delete,

The path to reinstalling MySQL has changed.

Reference

MySQL5.6 for Windows decompression version Configuration installation _ Baidu Experience

Http://jingyan.baidu.com/article/f3ad7d0ffc061a09c3345bf0.html

MySQL service startup

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.