J.C. wrote:
-Changed the config.inc.php file:
$POLLDB["dbName"] = "Polldb";
$POLLDB["host"] = "mydomain.com";
$POLLDB["user"] = "db user name";
$POLLDB["pass"] = "db password";
Warning: mysql_create_db(): Access denied for user: 'mydomainname@localhost' (Using password: NO) in /home/www/mydomainname/poll/db/install.php on line 668
Warning: mysql_create_db(): A link to the server could not be established in /home/www/mydomainname/poll/db/install.php on line 668
Warning: mysql_connect(): Lost connection to MySQL server during query in /home/www/mydomainname/poll/db/include/class_mysql.php on line 32
Connection Error
Essentially - in a nutshell - you are not addressing the database with the correct information.
IF you have it like this and not the actual information that the database needs, it will not function - I don't know by this whether you actually have it edited it - but don't want to force you to put the info in for security reasons, either - Make certain to have the 'Polldb' exactly the way it shows up in the phpMyAdmin or in your list of tables.
For mydomain.com - sometimes you can get by with using the word 'localhost' for 'mydomain.com' or the server_addr might also be an option.
Make certain to have the correct account id for 'db user name' usually the id you use for logging into your Cpanel unless you created a special db user name and assigned that to the database.
- And of course, the password (either the one for logging into your Cpanel - or - the one you assigned in the database when it was created.)