I have an issue here with baking.
I've read the previous answers to similar questions, but the solutions seem to not apply here.
I can't bake because the error I receive is: Database connection “Mysql” is missing, or could not be created
If I run which php
the PHP it's reading is the correct path within MAMP.
If I check the PDO modules:
php -i | grep "PDO"
PDO
PDO support => enabled
PDO drivers => sqlite, pgsql, mysql
PDO Driver for MySQL => enabled
PDO Driver for PostgreSQL => enabled
PDO Driver for SQLite 3.x => enabled
My application (or what I've completed on it so far) has no trouble connecting to the database.
All answers around the web point to PDO not being enabled, or the incorrect path for PHP, but neither of those apply in my case.
I'm facing the same problem, checked PDO support the same way, same result.
The following script (that I wrote) might help to make sure our settings are ok:
And it works fine :
FYI, here are version details :
Would it be a problem with paths ? Here's my bake interaction:
I also tried :
with no more success.
Now I suspect the Datasource itself ...
HTH
Michelle