title: "We were able to connect to the database server" error in WordPress
body: <p>I could not find an answer.
  Have a production website with production DB. Have backed up the DB and restored to a development environment where I also created a development website in the same server, same cPanel, same user and same password for both DBs. Is a Magento platform 1.9.2, although I do not think is important. Here is the issue: I can execute SQL in the development DB but the same SQL sentence would not execute in the production DB. Also I have uploaded WP to the development and isntalled using the development db for the magento installation, but when I try to run the WP installation for the production site, WP replies "We were able to connect to the database server".
  Remote MySQL, firewall, etc are the same for both DB, what could be the cause of this and how do I solve it? Thank you.</p>