mysql - Xampp连接mysql时出错

标签 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, 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 - Xampp连接mysql时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50487701/

相关文章:

xampp 中的 mysql 错误 - 错误 1364 (HY000) : Field 'photo' doesn't have a default value

mysql - mysql如何知道哪张表是左右

java - 线程。停止服务器

javascript - 从网页编辑服务器上的文件

mysql - 无法登录root用户

mysql - Xampp Mysql 和 Apache 不工作 - 如何备份数据库

mysql - 定制票务系统的最佳数据库表布局/设计

mysql - MySQL在多个表中应用通配符不起作用

java - 如何在 Spring MVC 中使用单个 View 执行所有 CRUD 操作?

server - Saas:单实例 vs 多实例 vs 单租户 vs Multi-Tenancy ?