10

2017-04-20 2 views
-1

내가 C:\web\mysql10

에 zip 파일을 사용하여 MySQL을 설치 한 MySQL의 콘솔 윈도우를 열 수 없습니다 my.cnf 파일의 내용을 다음 줄

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

나는 내가, MySQL의 콘솔을 열 수 없습니다 생각을 가지고 이 항목을 가져 오는 중입니다.

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 

가능한 해결 방법을 확인하고 제안하십시오.

감사

편집 나는

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

을 실행하여 이러한 오류를 해결하지만 지금은 문제가 무엇인지 참조하십시오

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

으로 오류를 얻고있다.

감사

답변