手动安装mysql后拒绝phpmyadmin访问

w1e3prcc  于 2021-06-20  发布在  Mysql
关注(0)|答案(0)|浏览(215)

我试图安装mysql后,我已经有xampp,我改变了密码,现在我得到这个错误,当我试图访问phpmyadmin

Error
MySQL said: Documentation

# 2002 - No connection could be made because the target machine actively refused it.

— The server is not responding (or the local server's socket is not correctly configured).
mysqli_real_connect(): (HY000/2002): No connection could be made because the target machine actively refused it.
Connection for controluser as defined in your configuration failed.
mysqli_real_connect(): (HY000/2002): No connection could be made because the target machine actively refused it.

我尝试了一切,包括更改confing.inc.php中的密码,并尝试从cmd重置密码,当我尝试此操作时,出现以下错误:

MySQL [(none)]> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('');
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'PASSWORD('')' at line 1

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题