Home > Backend Development > PHP Tutorial > cmd 操作数据库

cmd 操作数据库

WBOY
Release: 2016-06-06 20:23:26
Original
1181 people have browsed it

cmd 操作数据库

回复内容:

cmd 操作数据库

<code> mysql -uroot -p</code>
Copy after login

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

mysql -u root -p

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template