Phpmyadmin不在xampp中工作
我最近安装了xampp v3.2.2。当我尝试访问php我的管理员时,我遇到了一个错误,请启动apache和mysqlPhpmyadmin不在xampp中工作,php,mysql,apache,phpmyadmin,Php,Mysql,Apache,Phpmyadmin,我最近安装了xampp v3.2.2。当我尝试访问php我的管理员时,我遇到了一个错误,请启动apache和mysql 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 co
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.
Retry to connect
我做了以下改变
更新config.inc.php
改变
及
到
删除
ib_logfile0
文件并ib_logfile
重新启动apache..但仍然存在相同的错误。请帮助我MySQL在端口3306
上运行,而不是在端口8080
上运行,因此您必须更改config.inc.php
中的端口
$cfg['Servers'][$i]['host'] = '127.0.0.1:8080' to $cfg['Servers'][$i]['host'] = '127.0.0.1:3306'
MySQL在端口
3306
上运行,而不是在端口8080
上运行,因此您必须在config.inc.php
中更改端口
$cfg['Servers'][$i]['host'] = '127.0.0.1:8080' to $cfg['Servers'][$i]['host'] = '127.0.0.1:3306'
以下步骤对我有效:
以下步骤对我有效:
我面临同样的问题,因为我有变更文件 xampp/mysql/bin/my.ini 我通过以下更改解决了问题//它应该是3306默认值。 [客户]
# password = your_password
port = 3307 **//it should be 3306 default.**
socket = "C:/xampp/mysql/mysql.sock"
# The MySQL server
[mysqld]
port= 3307 **//it should be 3306 default.**
socket = "C:/xampp/mysql/mysql.sock"
在xampp中重新启动apache和mysql服务
希望这能对您有所帮助。我也遇到过同样的问题,因为我有更改文件 xampp/mysql/bin/my.ini 我通过以下更改解决了问题//它应该是3306默认值。 [客户]
# password = your_password
port = 3307 **//it should be 3306 default.**
socket = "C:/xampp/mysql/mysql.sock"
# The MySQL server
[mysqld]
port= 3307 **//it should be 3306 default.**
socket = "C:/xampp/mysql/mysql.sock"
在xampp中重新启动apache和mysql服务
希望这对您有所帮助。我在端口3333上运行了MYSQL,它将更改config.inc.php文件中的端口
$cfg['Servers'][$i]['host'] = '127.0.0.1'
to
$cfg['Servers'][$i]['host'] = '127.0.0.1:3333'
很好,很好
谢谢!我已经在端口3333上运行了MYSQL,它将更改config.inc.php文件中的端口
$cfg['Servers'][$i]['host'] = '127.0.0.1'
to
$cfg['Servers'][$i]['host'] = '127.0.0.1:3333'
很好,很好
谢谢!Mysql没有在8080端口上运行。@Philipp谢谢你的命令,所以我有chenge端口?从httpd文件否,在config.inc.php中,你必须使用3306Mysql没有在8080端口上运行。@Philipp谢谢你的命令,所以我有chenge端口?从httpd文件否,在config.inc.php中,你必须使用3306端口