We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Unable to connect to your database using the configuration settings you submitted.

Development and Programming

gigantic's avatar
gigantic
2 posts
6 years ago
gigantic's avatar gigantic

I’m kind of lost on what’s going on here. We are trying to install EE and are getting the error “Unable to connect to your database using the configuration settings you submitted”. I’ve installed many instances of EE and never had an issue with this, but never on IIS. So my first guess is that IIS is the culprit in some way. Side note, I had to install PHP and MySQL Server myself, both of which I’ve never had to do before, so there could be something there as well.

In an attempt to remove variables from the equation, I wrote a quick php script to connect to the database with the credentials I supplied the EE Wizard and was able to successfully connect and write to the database.

I’m not sure what this tells me though, other than it has something to do with how EE is attempting to connect to the database.

I’m not expecting a definitive answer here, just a direction. Any help, guidance or hell even suggestions are greatly appreciated.

ENVIRONMENT:
- IIS - Windows Server 2016 Data Center
- PHP 7.3.5
- MySQL 8.0.16 - MySQL Community Server
- EE 5.2

       
gigantic's avatar
gigantic
2 posts
6 years ago
gigantic's avatar gigantic

I figured it out in my case. When installing PHP I left the pdo_mysql extension commented out. Uncomment, restart server and voila!

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.