Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/68.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/selenium/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 在xampp服务器中发现mysql的错误路径_Php_Mysql_Apache_Xampp - Fatal编程技术网

Php 在xampp服务器中发现mysql的错误路径

Php 在xampp服务器中发现mysql的错误路径,php,mysql,apache,xampp,Php,Mysql,Apache,Xampp,启动XAMPP服务器时,它会显示以下状态: 21:19:49 [mysql] MySQL Service detected with wrong path 21:19:49 [mysql] Change XAMPP MySQL and Control Panel settings or 21:19:49 [mysql] Uninstall/disable the other service manually first 21:19:49 [mysql] Found Pat

启动XAMPP服务器时,它会显示以下状态:

21:19:49  [mysql]   MySQL Service detected with wrong path
21:19:49  [mysql]   Change XAMPP MySQL and Control Panel settings or
21:19:49  [mysql]   Uninstall/disable the other service manually first
21:19:49  [mysql]   Found Path: "C:\Program Files (x86)\MySQL\MySQL >>>Server 5.1\bin\mysqld" --defaults-file="C:\Program Files (x86)\MySQL\MySQL >>>Server 5.1\my.ini" MySQL
21:19:49  [mysql]   Expected Path: c:\xampp\mysql\bin\mysqld.exe >>--defaults-file=c:\xampp\mysql\bin\my.ini mysql
我删除了MySQL服务器5.1。我重新启动了XAMPP服务器,但它仍然给了我相同的错误


我应该怎么做才能使其正确?

这可能取决于您使用的是哪种XAMPP?