Can't connect to MySQL server on 'localhost' (10061) after Installation

后端 未结 30 2860
予麋鹿
予麋鹿 2020-12-13 00:08

I installed MySQL using mysql-installer-5.5.20.0.msi on Windows 7. From the cmd window, I run \"mysqlshow -u root -p\". It asked for a password, then return

30条回答
  •  感情败类
    2020-12-13 00:41

    1. Create the temp folder c:/mysqltmp
    2. In my.ini file under [mysqld] add the line tmpdir=c:/mysqltmp
    3. Add full privileges to user NETWORK SERVICE for "C:\ProgramData\MySQL\MySQL Server X.Y\Data\ibdata1" file
    4. Start service

    These are steps for the same problem with MySQL5.7 and MySQL8.0 on Windows 10

提交回复
热议问题