Question

I downloaded the Drupal archive and extracted it on the dedicated server. In cPanel, I created a MySQL database, but when I try to install Drupal, in the Database configuration page, I can only choose between PostgreSQL and SQLite as database type; I cannot choose MySQL.

screenshot

Why did it happen? How do I fix it?

Was it helpful?

Solution

  1. Create a info.php file and upload it to your server :
 php_info()
  1. upload the file to your server is docroot then visit the URL http://youdomain.com/info.php

  2. search for pdo_mysql and it should be enabled if it does not exist contact the server admin and tell him to enable the pdo_mysql (https://serverfault.com/questions/471282/how-enable-pdo-mysql) : enter image description here

in your case I think you have just the pgsql and SQLite PDO enabled

Licensed under: CC-BY-SA with attribution
Not affiliated with drupal.stackexchange
scroll top