Home > Backend Development > PHP Tutorial > win8系统,cmd登陆mysql,mysql找不到?

win8系统,cmd登陆mysql,mysql找不到?

WBOY
Release: 2016-06-23 13:42:03
Original
853 people have browsed it

win8系统,cmd登陆mysql,mysql找不到?   安装的wampserver,mysql的root密码为空,我要修改一下的,用管理员身份登陆cmd命令行登陆mysql,show databases;找不到mysql数据库。各位指教。


回复讨论(解决方案)

报什么错?截图呢

不是错,只是没显示mysql数据库,我用mysql客户端就没问题。

mysql 后面没有加 -uroot  是以windows用户登录的,没有查看mysql库的权限。你以root登录就能看到了。

mysql 后面没有加 -uroot  是以windows用户登录的,没有查看mysql库的权限。你以root登录就能看到了。

对的,我试过了,通过。给赞。
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