Home  >  Article  >  Backend Development  >  cmd 操作数据库

cmd 操作数据库

WBOY
WBOYOriginal
2016-06-06 20:23:261069browse

cmd 操作数据库

回复内容:

cmd 操作数据库

<code> mysql -uroot -p</code>

连接mysql错误,少了-u参数

mysql -u root -p

mysql -u root -p 点击 回车即可 你没有-u参数 应该是用匿名用户登录进来的,匿名用户的权限是最低的,连看数据库的权限都没有

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