Windows下通过DOS命令登录MYSQL的方法_MySQL
Jun 01, 2016 pm 01:00 PM例:MYSQL安装在 D:\ApacheServer\mysql 下
开始==>运行==>cmd,或者 按住win键+r键输入cmd
代码如下:
C:\Users\Administrator>d: //进入D盘
D:\>cd ApacheServer\mysql\bin //进入mysql安装目录下bin文件夹内
D:\ApacheServer\mysql\bin>mysql -h localhost -uroot -p //进入mysql命令,随后按提示输入root用户密码,输入回车即可,也可使用其他用户,退出输入exit回车

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

What should I do if I can't delete a Windows system dll file? Tips for completely deleting stubborn dll files

Lossless Scaling on Steam Deck OLED runs games at up to 2x FPS

How to update the latest version of Bybit Exchange? Will there be any impact if it is not updated?

deepseek web version entrance deepseek official website entrance

How to optimize MySQL query performance in PHP?

How to use MySQL backup and restore in PHP?

How to insert data into a MySQL table using PHP?
