Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/281.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_Wordpress_Xampp - Fatal编程技术网

Php 无法从XAMPP启动MySQL服务器

Php 无法从XAMPP启动MySQL服务器,php,mysql,wordpress,xampp,Php,Mysql,Wordpress,Xampp,我在Wordpress上使用xampp mySQL已经一年多了,这是我第一次发现它不起作用。当我启动MySQL时,我遇到了这个错误(它是德语,基本上是不能启动的,请检查端口是否正在使用,并打开日志以获取更多信息): 我已经检查了3306端口是否是免费的(MySQL服务器应该在该端口上运行)。 我还检查了mysql_error.log。这是最后几行: InnoDB: using atomic writes. 2020-10-09 17:01:01 0 [Note] InnoDB: Mutexes

我在Wordpress上使用xampp mySQL已经一年多了,这是我第一次发现它不起作用。当我启动MySQL时,我遇到了这个错误(它是德语,基本上是不能启动的,请检查端口是否正在使用,并打开日志以获取更多信息):

我已经检查了3306端口是否是免费的(MySQL服务器应该在该端口上运行)。 我还检查了mysql_error.log。这是最后几行:

InnoDB: using atomic writes.
2020-10-09 17:01:01 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-10-09 17:01:01 0 [Note] InnoDB: Uses event mutexes
2020-10-09 17:01:01 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-10-09 17:01:01 0 [Note] InnoDB: Number of pools: 1
2020-10-09 17:01:01 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-10-09 17:01:01 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk 
size = 16M
2020-10-09 17:01:01 0 [Note] InnoDB: Completed initialization of buffer pool
2020-10-09 17:01:01 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-10-09 17:01:01 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-10-09 17:01:01 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. 
Physically writing the file full; Please wait ...
2020-10-09 17:01:01 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-10-09 17:01:01 0 [Note] InnoDB: Waiting for purge to start
2020-10-09 17:01:01 0 [Note] InnoDB: 10.4.8 started; log sequence number 240572804; transaction id 
221340
2020-10-09 17:01:01 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-10-09 17:01:01 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-10-09 17:01:01 0 [Note] Server socket created on IP: '::'.
2020-10-09 17:01:01 0 [Note] InnoDB: Buffer pool(s) load completed at 201009 17:01:01

有人能帮我在不卸载xampp的情况下解决这个问题吗?

我无法解决这个问题,所以我只是将/xampp/mysql/data中的目录和我的dbs名称保存在本地驱动程序上,卸载了xampp,然后我再次安装了xampp并将目录导入/xampp/mysql/data。因此,在我的情况下,它确实起了作用。

如果你能把它翻译成英语,我们会更快。
InnoDB: using atomic writes.
2020-10-09 17:01:01 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-10-09 17:01:01 0 [Note] InnoDB: Uses event mutexes
2020-10-09 17:01:01 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-10-09 17:01:01 0 [Note] InnoDB: Number of pools: 1
2020-10-09 17:01:01 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-10-09 17:01:01 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk 
size = 16M
2020-10-09 17:01:01 0 [Note] InnoDB: Completed initialization of buffer pool
2020-10-09 17:01:01 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-10-09 17:01:01 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-10-09 17:01:01 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. 
Physically writing the file full; Please wait ...
2020-10-09 17:01:01 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-10-09 17:01:01 0 [Note] InnoDB: Waiting for purge to start
2020-10-09 17:01:01 0 [Note] InnoDB: 10.4.8 started; log sequence number 240572804; transaction id 
221340
2020-10-09 17:01:01 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-10-09 17:01:01 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-10-09 17:01:01 0 [Note] Server socket created on IP: '::'.
2020-10-09 17:01:01 0 [Note] InnoDB: Buffer pool(s) load completed at 201009 17:01:01