Database connection error | WordPress.org

[ad_1]

I have a local environment running on docker, and I’ve downloaded the drupal database and added it to my local phpmyadmin. When I try testing the database connection, I get the following error:

“Fatal error: Uncaught Error: Undefined constant PDO::MYSQL_ATTR_INIT_COMMAND in /var/www/html/wp-content/plugins/fg-drupal-to-wp/admin/class-fg-drupal-to-wp-admin.php:638”

Any idea how to resolve this error?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer