mysql 8.0 installation problems encountered win 10

You should look at installation tutorial
and then the official document: Notes on official documents is the most authoritative, the general problem of blog and more.
Links: https://pan.baidu.com/s/1kmnbPsu2p5dC6tZ5iV06bQ

extraction code: w3gb

Look at installation tutorial: https://jingyan.baidu.com/album/0964eca25903618285f53602.html?picindex=5

The main thing is to use mysqld --initialize --console View error details:

:\MYSQL\mysql-8.0.19-winx64\bin>mysqld --initialize --console
 2020-02-22T02:31:15.864762Z 0
  [System] [MY-013169] [Server] C:\MYSQL\mysql-8.0.19-winx64\bin\mysqld.exe (mysqld 8.0.19) initializing of server in progress as process 13620 2020-02-22T02:31:15.866992Z 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. 2020-02-22T02:31:15.868294Z 0 [ERROR] [MY-010457] [Server] --initialize specified but the data directory has files in it. Aborting. 2020-02-22T02:31:15.868310Z 0 [ERROR] [MY-013236] [Server] The designated data directory C:\MYSQL\mysql-8.0.19-winx64\data\ is unusable. You can remove all files that the server added to it. 2020-02-22T02:31:15.885400Z 0 [ERROR] [MY-010119] [Server] Aborting 2020-02-22T02:31:15.887391Z 0 [System] [MY-010910]
 [Server] C:\MYSQL\mysql-8.0.19-winx64\bin\mysqld.exe: Shutdown complete (mysqld 8.0.19) MySQL Community Server - GPL.**

Tip: C: \ MYSQL \ \ data \ is unusable mysql-8.0.19-winx64
delete data re-installation regret database password prompt attention to Remember

Tip: Do not recognize max_connections = 200 according to the official document modification: to successfully enter the database

Here Insert Picture Description

Published 212 original articles · won praise 32 · views 60000 +

Guess you like

Origin blog.csdn.net/qq_42664961/article/details/104440160