GameShopELP Posted July 13, 2010 Posted July 13, 2010 Hi Everyone, my name is robert I'm new to this kind of stuff. I had a friend help me build my website but I can not login or get access to it. any sugestion would help me out. look below this is the website address and it gives me this error message. Thanks for your time and help. http://gameshopelp.com/ Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'supermegaturbo'@'72.167.232.53' (using password: YES) in /home/content/s/u/p/supermegaturbo/html/includes/functions/database.php on line 19 Unable to connect to database server
BryceJr Posted July 13, 2010 Posted July 13, 2010 Your login credentials in your configure.php file(s) are incorrect. // define our database connection define('DB_SERVER', ''); define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', ''); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); define('DB_SERVER', 'xxx.xxx.xxx.xx');<- Usually an ip address, path, or localhost. Login to PhpMyAdmin to find out or contact your web host. define('DB_SERVER_USERNAME', 'username');<-- This is the username you use to log in to PhpMyAdmin define('DB_SERVER_PASSWORD', 'password');<-- This is the password you use to log in to PhpMyAdmin define('DB_DATABASE', 'database');<- Name of your database
GameShopELP Posted July 13, 2010 Author Posted July 13, 2010 Your login credentials in your configure.php file(s) are incorrect. // define our database connection define('DB_SERVER', ''); define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', ''); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); define('DB_SERVER', 'xxx.xxx.xxx.xx');<- Usually an ip address, path, or localhost. Login to PhpMyAdmin to find out or contact your web host. define('DB_SERVER_USERNAME', 'username');<-- This is the username you use to log in to PhpMyAdmin define('DB_SERVER_PASSWORD', 'password');<-- This is the password you use to log in to PhpMyAdmin define('DB_DATABASE', 'database');<- Name of your database Hi, first I had one of my froends do my website but he got into trouble and who knows when i will see him again. This PHPMyAdmin is a program, right? second you say contact your web host? so if I call go daddy they should be able to help me with this error message that blocking me from logging in. From the error message I got the problem should be on line 19 in the database.php? Hi would it be better to just start a new account, since I now very little about it or what the other person done. Thanks for you time and help. This post has been edited by GameShopELP: Today, 05:18 PM
Guest Posted July 13, 2010 Posted July 13, 2010 Robert, If you have access to godaddy, log into your godaddy account and choose 'hosting', then choose 'databases' then 'mysql' from the hosting control panel. Click the edit icon next to the database for your cart. Change the password to something only you will know. Make note of the following information: Host Name: yourdatabasename.db.6075000.hostedresource.com Database Name: your database name User Name: your username This information, and the password you just created is what Bryce said you would need to enter into the TWO configure.php files found on your hosting account server. Make the changes to the two files and upload them back to the server. This will correct the current problem you are having. Chris
GameShopELP Posted July 13, 2010 Author Posted July 13, 2010 Robert, If you have access to godaddy, log into your godaddy account and choose 'hosting', then choose 'databases' then 'mysql' from the hosting control panel. Click the edit icon next to the database for your cart. Change the password to something only you will know. Make note of the following information: Host Name: yourdatabasename.db.6075000.hostedresource.com Database Name: your database name User Name: your username This information, and the password you just created is what Bryce said you would need to enter into the TWO configure.php files found on your hosting account server. Make the changes to the two files and upload them back to the server. This will correct the current problem you are having. Chris Hi Chris, What to files are you talking about? I am lost because I never done this and I greatly appreciate anybody help at this time. I will try to log into my godaddy account and see what happen.
Guest Posted July 13, 2010 Posted July 13, 2010 Robert, While you are logged into godaddy, also change your FTP password to secure your site and make note of the new password so you can use it to gain access to your files by FTP. Once you have FTP access and log into your hosting account, you can see the files and directory structure. you will locate the two configure.php files: 1) catalog/includes/configure.php 2) catalog/admin/includes/configure.php download these one at a time and edit them, making changes as described above to the database information. Once complete, upload the edited file and do the second file. When you get them both done, you should have access to the database from the site. Chris
Recommended Posts
Archived
This topic is now archived and is closed to further replies.