1

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?

2
  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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.