Heim >Backend-Entwicklung >PHP-Tutorial >ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-06 20:49:301259Durchsuche

首次使用phpnow中的MySQL,phpMyAdmin能打开,但是在cmd中不能打开,出现以下错误: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

谢谢回答!

回复内容:

首次使用phpnow中的MySQL,phpMyAdmin能打开,但是在cmd中不能打开,出现以下错误: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

谢谢回答!

<code>mysql -u 用户名 -p
</code>
Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn