10061 error occurred after MySQL installation

Source: Internet
Author: User
Tags mysql client

#服务器端 Tips

The Vervice already exists!
The current server installed

#mysqld service does not start

Solutions
Removing the original MySQL service
Mysqld-remove MySQL

Or
SC Delete MySQL
Re-registering the MySQL service
Mysqld–install mysql–defaults-file= "C:\mysql-5.1.34\my.ini"

#检查自己的my. INI has no configuration errors

[Client]
port=3306
Default-character-set=utf8
#客户端字符类型, consistent with the service side, recommended UTF8
[Mysqld]
port=3306

Character_set_server=utf8
#服务端字符类型, it is recommended that UTF8
basedir=c:\mysql5640
#解压根目录

Datadir=c:\mysql5640\data
#解压根目录 \data
Sql_mode=no_engine_substitution,strict_trans_tables

[Winmysqladmin]
C:\mysql5640\bin\mysqld.exe

#环境变量路径有么有问题

#重新 Initialize mysqld--initialize-insecure# start the MySQL service mysqld # start the MySQL service # start the MySQL client and connect to the MySQL service mysql-u root-p # Connect to the MySQL server

10061 error occurred after MySQL installation

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.