MySql Database Connection with Zend


Recommended Posts

Inside my application.ini file with my global settings, I provide the following lines to get my MySql database to connect:

resources.db.adapter = PDO_MYSQL = localhost

resources.db.params.username = [DATABASENAME]_[uSERNAME]

resources.db.params.password = [PASSWORD]

resources.db.params.dbname = [DATABASENAME]_[DATABASENAME]

It's works great for me - hope that helps someone else out there!


Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.