Can';t在Xampp上打开MySql服务

Can';t在Xampp上打开MySql服务,mysql,xampp,port,Mysql,Xampp,Port,我在笔记本电脑上运行Xampp,在本地网站上工作。它工作得很好,但今天当我与apache一起启动mysql服务时,我收到以下错误: 4:53:43 PM [mysql] Status change detected: running 4:53:45 PM [mysql] Status change detected: stopped 4:53:45 PM [mysql] Error: MySQL shutdown unexpectedly. 4:53:45 PM

我在笔记本电脑上运行Xampp,在本地网站上工作。它工作得很好,但今天当我与apache一起启动mysql服务时,我收到以下错误:

4:53:43 PM  [mysql]     Status change detected: running
4:53:45 PM  [mysql]     Status change detected: stopped
4:53:45 PM  [mysql]     Error: MySQL shutdown unexpectedly.
4:53:45 PM  [mysql]     This may be due to a blocked port, missing dependencies, 
4:53:45 PM  [mysql]     improper privileges, a crash, or a shutdown by another method.
4:53:45 PM  [mysql]     Press the Logs button to view error logs and check
4:53:45 PM  [mysql]     the Windows Event Viewer for more clues
4:53:45 PM  [mysql]     If you need more help, copy and post this
4:53:45 PM  [mysql]     entire log window on the forums
当我进入“日志”选项卡时,我会看到:

2020-03-09 16:53:43 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-03-09 16:53:43 0 [Note] InnoDB: Uses event mutexes
2020-03-09 16:53:43 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-03-09 16:53:43 0 [Note] InnoDB: Number of pools: 1
2020-03-09 16:53:43 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-03-09 16:53:43 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-03-09 16:53:43 0 [Note] InnoDB: Completed initialization of buffer pool
2020-03-09 16:53:43 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-03-09 16:53:43 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-03-09 16:53:43 0 [Note] InnoDB: Setting file 'D:\XAMPP\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-03-09 16:53:43 0 [Note] InnoDB: File 'D:\XAMPP\mysql\data\ibtmp1' size is now 12 MB.
2020-03-09 16:53:43 0 [Note] InnoDB: Waiting for purge to start
2020-03-09 16:53:43 0 [Note] InnoDB: 10.4.8 started; log sequence number 69450429; transaction id 42048
2020-03-09 16:53:43 0 [Note] InnoDB: Loading buffer pool(s) from D:\XAMPP\mysql\data\ib_buffer_pool
2020-03-09 16:53:43 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-03-09 16:53:43 0 [Note] InnoDB: Buffer pool(s) load completed at 200309 16:53:43
2020-03-09 16:53:43 0 [Note] Server socket created on IP: '::'.
http://localhost/phpmyadmin/index.php
我明白了:

MySQL said: Documentation

Cannot connect: invalid settings.
 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.
 phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
这一点我再强调也不过分,我不能失去我的工作。我尝试了几乎所有我能在网络上找到的修复程序,端口3306它没有被任何东西使用,它甚至没有被mysql使用,因为我在我的pc上再也找不到这项服务了。我尝试在“config.inc.php”中用root替换pma。已尝试删除临时文件,但其仍不工作


我补充说,在我的笔记本电脑中找不到mysql服务(在windows服务中找不到,在程序中也找不到)

“我不能再强调这一点了,我不能丢掉我的工作。”所以你没有备份?没有@Bashir不处理mysql。你是否按照建议检查了错误日志?这是否回答了你的问题?我已经使用这个xampp一个月了,只是现在我有这个问题。我在D:\XAMPP\mysql\data\mydatabase中保存了本地数据,所以我认为这是我的备份。如果我重新安装Xampp并将此数据库粘贴到新的数据文件夹中,可以吗?