eagerpupil
eagerpupil

Reputation: 109

Phpbb can not detect mysql database

Things done:

I have checked that database user owns a database.

Phpinfo() displays support for the mysql (it does not displays my particular database info, should it?)

I am trying to install phpbb on virtual private server. Files have been downloaded and uzipped as per tutorials.

Priviledges have been changed as per attatched link.

Earlier I had problems with mysql and mariadb so I purged all of it and installed new mysql.

Still the message appears:

"You must have support for at least one compatible database within PHP. If no database modules are shown as available you should contact your hosting provider or review the relevant PHP installation documentation for advice."

I am not using ftp.

I have installed phpbb on my local machine in the past, never on vps.

Upvotes: 0

Views: 454

Answers (1)

Areeb
Areeb

Reputation: 554

It seems that the error is pointing towards the unavailability of a PHP MySQL driver. Please install the MySQLi driver on your server.

apt-get install php7.1-mysql

Replace 7.1 with the version you're using.

Upvotes: 1

Related Questions