Home > database >  MySql can not login, ERROR 2026 (HY000) : SSL connection ERROR: socket layer receive ERROR
MySql can not login, ERROR 2026 (HY000) : SSL connection ERROR: socket layer receive ERROR

Time:09-29

Mysql installed on Windows 7-5.7.16 - winx64, years ago with a good, come back years later suddenly discovered that can not login, the following error:

C: \ Windows \ system32 & gt; Mysql -u root
ERROR 2026 (HY000) : SSL connection ERROR: socket layer receive ERROR

C: \ Windows \ system32 & gt;

Online to find a circle don't like this error, don't know what went wrong, who is a great god met this problem, please feel free to comment, thank you!

The following is my. The contents of the ini file:

[mysqld]

[mysql]
# set the mysql client default character set
Default - character - set=utf8
[mysqld]
# set port 3306
Port=3306
# set the mysql installation directory
Basedir=C: \ Program Files \ MySql \ MySql - 5.7.16 - winx64
# set the mysql database data storage directory
Datadir=C: \ Program Files \ MySql \ MySql - 5.7.16 - winx64 \ data
# to allow maximum number of connections
Max_connections=200
# server character set the default use 8 bits for coding the latin1 character set
Character - set - server=utf8
# to create a new table will use the default storage engine
Default - storage - engine=INNODB


Sql_mode=NO_ENGINE_SUBSTITUTION, STRICT_TRANS_TABLES


CodePudding user response:

https://github.com/Homebrew/homebrew-core/issues/6753
  • Related