Use MariaDB instead of MySQL in my Rails project

后端 未结 6 1324
春和景丽
春和景丽 2021-02-05 07:25

How can I use MariaDB instead of MySQL in my Rails project?

When I try to install mysql2 gem it returns error,because mysqlclient was not found.

Here some soluti

6条回答
  •  情话喂你
    2021-02-05 07:57

    In Ubuntu 14.04.3 LTS I am able to install with sudo apt-get install libmariadbd-dev

    I followed https://mariadb.com/kb/en/mariadb/installing-mariadb-deb-files/ to install MariaDB which adds apt repository for maria db.

提交回复
热议问题