【发布时间】:2018-11-20 01:50:13
【问题描述】:
我正在尝试从一本书中学习 PHP + MySQL,我想用 MySQL 更改 MariaDB。
到目前为止,我尝试使用旧版本的 xampp(2015 年 11 月),但它仍然有 MariaDB 并使用它: https://gist.github.com/odan/c799417460470c3776ffa8adce57eece
不幸的是,它不起作用:
9:48:04 PM [mysql] Status change detected: stopped
9:48:04 PM [mysql] Error: MySQL shutdown unexpectedly.
9:48:04 PM [mysql] This may be due to a blocked port, missing dependencies,
9:48:04 PM [mysql] improper privileges, a crash, or a shutdown by another method.
9:48:04 PM [mysql] Press the Logs button to view error logs and check
9:48:04 PM [mysql] the Windows Event Viewer for more clues
9:48:04 PM [mysql] If you need more help, copy and post this
9:48:04 PM [mysql] entire log window on the forums
我是否应该尝试使用 MySQL 而不是 MariaDB 获得 XAMPP 版本(那将是一个非常旧的版本?如果是的话,你能给我一个吗?)
我该如何解决? 我在事件查看器和错误日志中什么都没有。 (我认为 xampp 正在向我显示另一个日志,因为最后一行是从晚上 21:11 开始的并且它没有更新)。
关于用 MySQL 替换 MariaDB 的想法,请记住以上几点?
【问题讨论】:
标签: php mysql apache xampp mariadb