Comment 4 for bug 463381

Revision history for this message
Jeremy BĂ­cha (jbicha) wrote : Re: moodle package is lacking critical dependancy on php-db

Moodle in both Debian and Ubuntu uses postgresql by default. If someone wants mysql, they will have to do more work. Basically, they will need to do something like:

sudo aptitude install moodle mysql-server php5-mysql

If they do this, neither postgresql or php5-pgsql will be installed and moodle will work just fine with mysql. Although php5-mysql is a small file, I'm not sure that we should install it for everyone. Basically, moodle works with either postgresql or mysql but if you want mysql you have to know what you're doing.

Maybe we should add a note that if you want mysql, you'll have to install php5-mysql.

I believe this bug will also occur if someone already has mysql-server installed without php5-mysql.