Can't open and lock privilege tables: Table 'mysql.user' doesn't exist

前端 未结 6 1360
死守一世寂寞
死守一世寂寞 2020-12-24 00:38

I installed MySQL community server 5.7.10 using binary zip. I extracted the zip in c:\\mysql and created the data folder in c:\\mysql\\data. I crea

6条回答
  •  囚心锁ツ
    2020-12-24 01:15

    You have to initialize the data directory by running the following command

    mysqld --initialize [with random root password]

    mysqld --initialize-insecure [with blank root password]

提交回复
热议问题