2017-04-20 4 views
-1

Ich habe installiert MySQL Zip-Dateien mit in C:\web\mysqlKann öffnen MySQL-Konsole von Windows nicht mehr als 10

der Inhalt my.cnf Dateien hat diese Zeilen

[mysqld] 
basedir="C:/web/mysql" 
datadir="C:/web/data" 
explicit_defaults_for_timestamp = 1 
innodb_data_home_dir="C:/data" 

Ich bin nicht in der Lage MySQL-Konsole zu öffnen, ich bin bekommen diese

2017-04-20T04:40:10.568049Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened. 
2017-04-20T04:40:10.599302Z 0 [Warning] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key 
2017-04-20T04:40:10.617473Z 0 [Note] Server hostname (bind-address): '*'; port: 3306 
2017-04-20T04:40:10.621449Z 0 [Note] IPv6 is available. 
2017-04-20T04:40:10.637103Z 0 [Note] - '::' resolves to '::'; 
2017-04-20T04:40:10.637103Z 0 [Note] Server socket created on IP: '::'. 
2017-04-20T04:40:10.668373Z 0 [Warning] Failed to open optimizer cost constant tables 

2017-04-20T04:40:10.668373Z 0 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist 
2017-04-20T04:40:10.715453Z 0 [ERROR] Aborting 

Bitte sehen und schlagen Sie eine mögliche Lösung dieses Problem.

Dank

bearbeiten aufgelöst ich diese Fehler durch

"C:\web\mysql\bin\mysqld" --initialize --console 

laufen Aber jetzt bekomme ich Fehler wie

ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061) 

Bitte sehen, was das Problem ist.

Dank

Antwort

Verwandte Themen