想請教各位高手,我的mysql的服務無法啟動,我是安裝mysql-installer-community-8.0.16.0.msi的mysql,我在cmd管理模式下用指令mysqld --console,
會顯示這個信息,
2019-05-15T09:47:52.386112Z 0 [Warning] [MY-010915] [Server] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
2019-05-15T09:47:52.386198Z 0 [System] [MY-010116] [Server] C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe (mysqld 8.0.16) starting as process 20228
2019-05-15T09:47:52.390820Z 0 [Warning] [MY-013242] [Server] --character-set-server: 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
2019-05-15T09:47:54.952155Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2019-05-15T09:47:54.983025Z 0 [System] [MY-010931] [Server] C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe: ready for connections. Version: '8.0.16' socket: '' port: 0 MySQL Community Server - GPL.
2019-05-15T09:47:54.985999Z 0 [ERROR] [MY-010131] [Server] TCP/IP, --shared-memory, or --named-pipe should be configured on NT OS
2019-05-15T09:47:54.987880Z 0 [ERROR] [MY-010119] [Server] Aborting
2019-05-15T09:47:55.051994Z 0 [Warning] [MY-011311] [Server] Plugin mysqlx reported: 'All I/O interfaces are disabled, X Protocol won't be accessible'
2019-05-15T09:47:56.328163Z 0 [System] [MY-010910] [Server] C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe: Shutdown complete (mysqld 8.0.16) MySQL Community Server - GPL.



如果是 Net Start mysql 是說MySQL 服務已經啟動成功,我有參考這https://blog.csdn.net/lisongjia123/article/details/57418989及https://cloud.tencent.com/developer/article/1188224兩篇的內容修改my.ini和mysql-init.txt檔,不過安裝時沒有這兩個檔,我是找其它網站的資料自已新建的,但其中my.ini檔我有修改裡面的路徑為我的安裝路徑,但還是沒用。
文章關鍵字
文章分享
評分
評分
複製連結

今日熱門文章 網友點擊推薦!