简体   繁体   English

CakePHP - 从Mysql升级到MariaDB

[英]CakePHP - upgrade from Mysql to MariaDB

I have few website in CakePHP 2.4, and have to upgrade its Mysql API to MariaDB API, I am wondering if CakePHP 2.4 support MariaDB natively? 我在CakePHP 2.4中有很少的网站,并且必须将其Mysql API升级到MariaDB API,我想知道CakePHP 2.4本身是否支持MariaDB? Or I have to install some extension for PHP, and change CakePHP a little bit, hope someone can give me some advice, thanks. 或者我必须为PHP安装一些扩展,并稍微更改CakePHP,希望有人可以给我一些建议,谢谢。

As I was googling, and I fond this - https://mariadb.com/kb/en/mariadb-vs-mysql-compatibility/ , so their driver, API is same. 正如我在谷歌搜索,我喜欢这个 - https://mariadb.com/kb/en/mariadb-vs-mysql-compatibility/ ,所以他们的驱动程序,API是相同的。

All MySQL connectors (PHP, Perl, Python, Java, .NET, MyODBC, Ruby, MySQL C connector etc) work unchanged with MariaDB. 所有MySQL连接器(PHP,Perl,Python,Java,.NET,MyODBC,Ruby,MySQL C连接器等)都与MariaDB保持不变。 There are some installation issues with PHP5 that you should be aware of (a bug in how the old PHP5 client checks library compatibility). 您应该注意PHP5的一些安装问题(旧PHP5客户端如何检查库兼容性的错误)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM