Can MySQL seamlessly be replaced with MariaDB or are there things to change in this case?

后端 未结 6 1601
天命终不由人
天命终不由人 2020-12-14 07:32

If I replace a MySQL 5.1 server with a MariaDB Server (Maria & XtraDB storages) instead of MySQL (MyISAM & InnoDB), will most of MySQL client software (incl. applica

6条回答
  •  南笙
    南笙 (楼主)
    2020-12-14 07:43

    Just a little feedback requarding the compatibility with mysql driver/CodeIgniter. I ran into the problems on BIT attributes types few minutes ago.

    Value was not retrived from the server. It was always empty. I was using standard CI database configuration which is using "mysql" driver. After changing driver in the database.php to "mysqli" problem was solved.

    Just the heads up that there can be some differences if you are using old mysql driver.

    $db['default']['dbdriver'] = 'mysqli';
    

    MariaDB client API version 5.5.40

提交回复
热议问题