Home > Backend Development > PHP Tutorial > mysqladmin连接不上mysql server

mysqladmin连接不上mysql server

WBOY
Release: 2016-06-23 14:09:45
Original
935 people have browsed it

给root设了密码,然后就连不上了,如图


回复讨论(解决方案)

错误信息显示你在连接时没有给密码 password: NO
检查你的 config 中的 password 项

在哪输密码呢??
求详解,刚开始学,搞不懂

在 config.default.php 中
$cfg['Servers'][$i]['password'] = ''; //在这里填

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