Home > database >  Mysql can't from the doc environment into the root
Mysql can't from the doc environment into the root

Time:10-07

CodePudding user response:

Please help me!

CodePudding user response:

Check the MYSQL service - property - MYSQL storage path
Run the following format, in this folder
C: \ Program Files \ MySQL \ MySQL Server 5.7 \ bin \ mysqld exe

CodePudding user response:

To the C: \ Program Files \ MySQL \ MySQL Server 5.7 \ bin \ for example
Run the following command switch paths, connect mysql
 CD C: \ Program Files \ MySQL \ MySQL Server 5.7 \ bin \ 
Mysql - uroot - proot

CodePudding user response:

I don't know the root password?
If no password, do not use the -p parameter, if you know that, then using a simple - p, and then to enter a password when prompted for a password
  • Related