Home  >  Article  >  Database  >  mysql不要roor帐号登录

mysql不要roor帐号登录

WBOY
WBOYOriginal
2016-06-07 16:25:201246browse

mysql不用roor帐号登录 要先退出mysql的命令行界面,然后运行windows的命令行,进入安装路径下的bin文件夹,然后有两种方法: 方法1:mysql?-u用户名?-p密码(注意-u和用户名及-p和密码间均无空格,密码没有单引号) 方法2:mysql?-u?用户名?-p?数据库名?回车

mysql不用roor帐号登录

要先退出mysql的命令行界面,然后运行windows的命令行,进入安装路径下的bin文件夹,然后有两种方法:
方法1:mysql?-u用户名?-p密码(注意-u和用户名及-p和密码间均无空格,密码没有单引号)
方法2:mysql?-u?用户名?-p?数据库名?回车后输入用户密码即可

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn