连接时发生Xampp mysql错误

连接时发生Xampp mysql错误,mysql,server,xampp,Mysql,Server,Xampp,我有一个问题: 我试图从xampp启动mySql,但我得到了 14:45:16 [mysql] Error: MySQL shutdown unexpectedly. 14:45:16 [mysql] This may be due to a blocked port, missing dependencies, 14:45:16 [mysql] improper privileges, a crash

我有一个问题: 我试图从xampp启动mySql,但我得到了

   14:45:16  [mysql]    Error: MySQL shutdown unexpectedly.
   14:45:16  [mysql]    This may be due to a blocked port, missing 
                        dependencies, 
   14:45:16  [mysql]    improper privileges, a crash, or a shutdown by 
                        another method.
   14:45:16  [mysql]    Press the Logs button to view error logs and check
   14:45:16  [mysql]    the Windows Event Viewer for more clues
   14:45:16  [mysql]    If you need more help, copy and post this
   14:45:16  [mysql]    entire log window on the forums

我已经找了4个小时的答案,但我找不到。有人能告诉我怎么解决这个问题吗?我已经尝试转到/xampp/mysql/data并删除ibdata。并尝试将端口从80更改为8080

确保未使用80和8080,并将进程设置为以sudo运行。

默认情况下,MySQL在
3306
端口上运行。检查谁正在使用该端口。检查是否尝试此操作,我会得到以下错误:请求的操作需要提升。修复了使用3306端口的另一个mysql进程。一旦我停止它并再次运行mysql,它就成功了