Hey guys, hosting on Digital Ocean and using EE4 and having issues installing Craft CMS. I used this command to create the site:
ee site create example.com --type=php --with-db --cache
Next, used composer to install Craft:
composer create-project craftcms/craft /opt/easyengine/sites/example.com/app/htdoc
When going through the Craft setup via terminal, I’m getting this error:
Which database driver are you using? [mysql,pgsql,?]: mysql
Database server name or IP address: global-db
Database port: 3306
Database username: example.com-xxXXXX
Database password:
Database name: example.com
Database table prefix (type "none" for none): [craft_]
Testing database credentials ... failed: could not find driver
The db credentials are correct but not sure what the error “failed: could not find driver” means.
Any help would be great!!!