buynotebookscheap Posted March 13, 2007 Posted March 13, 2007 I installed my already running site copied another domain and changed the look and i'm having a problem with the godaddy mysql (database) server not working. And it has been 5 days now since godaddy was contacted and still broke. what could cause a error they couldnt fix in a day or 2? Message: Unable to connect to db Buy Notebooks Cheap
usernamenone Posted March 13, 2007 Posted March 13, 2007 unable to connect with the database is usually wrong database information. If you copied your site from one site/host to the other you have first do a backup on the 1st site then to set up the database on the new site and then run the installer then backup your dababase from the 1st site. your configure.php files both need to have the new database information // define our database connection define('DB_SERVER', 'mysqlxxx.secureserver.net'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'xxxx'); define('DB_SERVER_PASSWORD', 'xxxx'); define('DB_DATABASE', 'xxxx'); define('USE_PCONNECT', 'true'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' with Godaddy your username and password for the database are one and the same.
buynotebookscheap Posted March 13, 2007 Author Posted March 13, 2007 unable to connect with the database is usually wrong database information. If you copied your site from one site/host to the other you have first do a backup on the 1st site then to set up the database on the new site and then run the installer then backup your dababase from the 1st site. your configure.php files both need to have the new database information // define our database connection define('DB_SERVER', 'mysqlxxx.secureserver.net'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'xxxx'); define('DB_SERVER_PASSWORD', 'xxxx'); define('DB_DATABASE', 'xxxx'); define('USE_PCONNECT', 'true'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' with Godaddy your username and password for the database are one and the same. configure.php files password and username i see is from the initial install on another server old password does not match the new information, I have a web designer working on this. Buy Notebooks Cheap
usernamenone Posted March 14, 2007 Posted March 14, 2007 Old site user name and password. Which means that you have not ran the installer and the installer has not populated your database. You can not just copy over files from one site to the next site. Please read the instructions I gave in my first post and answer all the questions that the installer will ask. This is done in the browser www.yoursite.com/catalog/install Once you have installed you can then backup your database form the 1st site.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.