I have seen several comments that suggest that Drupal can deal with the MariaDB fork of MySQL. By most accounts it is an automatic thing. When I get to the Drupal installation page, all I see it SQLite as a choice. I have MariaDB installed and it is responsive... in fact I already created the drupal user and database.

With that, I came here for help. Following the tips.... I checked the installation requirements.....and acoording to what I find there..... it looks like Drupal 7 does NOT work with MariaDB and Drupal 8 does.

Is that the end????

What bothers me is that, when I put Fedora 20 on my laptop back in January, MYSQL was still the standard. I just put Fedora 20 on this desktop that I intended to use for my wife's web site....and I run into this.

So what say you? Can Drupal 7 be teased into working with MariaDB or am I hosed?

Thanks in advance for any responses....

Bob

Comments

John_B’s picture

It does work http://drupal.stackexchange.com/questions/70986/what-complications-are-t... although the documentation page does not say so. Have you looked at Advanced options on the install page where you get to pick the db?

I suspect you have an issue of a missing php driver for the database, which would affect Mysql equally. You have to work how you are going to connect to mysql (with Apache mod_php or fcgid or php5-fpm) and make sure your environment is set up for that. The current orthodoxy is fpm for a live server. However mod_php is easier to get working and I would recommend that for a local machine. (I am assuming you are using Apache not ngingx or something else). Make sure it is installed and enabled, restart Apache, and ensure that your Drupal document root has the same owner as the owner of the Apache process (www-data on Debian, nobody on Centos, maybe apache on Fedora). A phpinfo file in document root should tell you if it is working (you can Google for how to make a phpinfo file if necessary).

You also have to ensure your database (mysql or mariadb) was installed with a working php client library, and this can sometimes cause problems. See https://mariadb.com/kb/en/mariadb/documentation/getting-started/troubles... for example.

Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors