Hi all,
I'm trying to install Q2A on www.guggy.com.
I've opened a MySQL db @ Godaddy, where I host the site. I haven't, however, I created a db user at any stage of the process.
Next, I inserted to qa-config.php: 1. username, 2. a corresponding password, 3. database name (similar to username).
I am still getting this error :
Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server during query in /home/.../GUGGY.COM/qa-include/qa-db.php on line 50
Could not establish database connection. Please check the username, password and hostname in the config file, and if necessary set up the appropriate MySQL user and privileges.
I realized that what might trigger this error is the fact that I hadn't opened a user on that database, and therefore I contacted Godaddy support to ask them how to do this. See below their answer.
"When you created your database you created a database user as well. You can also create a second read-only user during the database creation process, but unfortunately it is not possible to set up a new user after database creation and only one user with pull access per database is permitted in our shared hosting environment. Our apologies for any inconvenience this may cause."
Ideas will be more than welcome. As you can easily tell, I'm not that familiar with MySQL, and I couldn't resolve this one by reading manuals / searching the web, as much as I tried.
Thanks in advance!
Assaf