duanji5116 2013-10-06 08:26
浏览 90

CakePHP - 从Mysql升级到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? Or I have to install some extension for PHP, and change CakePHP a little bit, hope someone can give me some advice, thanks.

  • 写回答

1条回答 默认 最新

  • dtdvbf37193 2013-10-06 08:31
    关注

    As I was googling, and I fond this - https://mariadb.com/kb/en/mariadb-vs-mysql-compatibility/, so their driver, API is same.

    All MySQL connectors (PHP, Perl, Python, Java, .NET, MyODBC, Ruby, MySQL C connector etc) work unchanged with 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).

    评论

报告相同问题?

悬赏问题

  • ¥15 全志H618ROM新增分区
  • ¥20 jupyter保存图像功能的实现
  • ¥15 在grasshopper里DrawViewportWires更改预览后,禁用电池仍然显示
  • ¥15 NAO机器人的录音程序保存问题
  • ¥15 C#读写EXCEL文件,不同编译
  • ¥15 MapReduce结果输出到HBase,一直连接不上MySQL
  • ¥15 扩散模型sd.webui使用时报错“Nonetype”
  • ¥15 stm32流水灯+呼吸灯+外部中断按键
  • ¥15 将二维数组,按照假设的规定,如0/1/0 == "4",把对应列位置写成一个字符并打印输出该字符
  • ¥15 NX MCD仿真与博途通讯不了啥情况