Windows to log in to MYSQL via the DOS command
- 2020-10-23 21:14:20
- OfStack
Example: MYSQL is installed under D:\ApacheServer\mysql
Start the = =
>
Run the = =
>
cmd, or hold win +r to type cmd
C:\Users\Administrator>d: // Enter the D disc
D:\>cd ApacheServer\mysql\bin // Enter the mysql Under installation directory bin folder
D:\ApacheServer\mysql\bin>mysql -h localhost -uroot -p // Enter the mysql Command, then press the prompt to type root User password, enter enter can also use other users, exit input exit enter