如何在LAMP安装中将MySQL更改为MariaDb

时间:2021-11-26 22:56:41

I'm a new LAMP developer, and I need to change MySQL to MariaDB in installed Denwer package. So, please, tell me, what should I do for it? I need to reinstall MySQL only (how can I do it? just delete all files?) and install MariaDB or I need to do anything else?

我是一名新的LAMP开发人员,我需要在已安装的Denwer软件包中将MySQL更改为MariaDB。那么,请告诉我,我该怎么做呢?我只需要重新安装MySQL(我怎么能这样做?只删除所有文件?)并安装MariaDB或者我还需要做其他事情吗?

1 个解决方案

#1


2  

As specified in the FAQ on the MariaDB website linked. MariaDB and MySQL are fully compatible. You can simply uninstall mySQL and install MariaDB and everything should work. If you're not sure how you would go about uninstalling and reinstalling mysql then superuser.com is probably the place to start.

正如在MariaDB网站上的常见问题解答中所指定的那样。 MariaDB和MySQL完全兼容。你可以简单地卸载mySQL并安装MariaDB,一切都应该可行。如果您不确定如何卸载并重新安装mysql,那么superuser.com可能就是您的起点。

#1


2  

As specified in the FAQ on the MariaDB website linked. MariaDB and MySQL are fully compatible. You can simply uninstall mySQL and install MariaDB and everything should work. If you're not sure how you would go about uninstalling and reinstalling mysql then superuser.com is probably the place to start.

正如在MariaDB网站上的常见问题解答中所指定的那样。 MariaDB和MySQL完全兼容。你可以简单地卸载mySQL并安装MariaDB,一切都应该可行。如果您不确定如何卸载并重新安装mysql,那么superuser.com可能就是您的起点。