lmjacques Posted September 27, 2005 Posted September 27, 2005 Hello Please can someone help, I am trying to get my Online shop to work on the SSL server that my web hosting company have provided me with, but as soon as I upload to this section I get the following error when I try to access my shop. Warning: mysql_connect(): Access denied for user: 'lynd0002_osc1@localhost' (Using password: YES) in /home/compila/public_html/secure/lindopgifts/theshop/includes/functions/database.php on line 19 Unable to connect to database server! Thanks
♥Vger Posted September 27, 2005 Posted September 27, 2005 Who is your web hosting company? Is it a seperate server that their shared ssl is on? Vger
lmjacques Posted September 27, 2005 Author Posted September 27, 2005 Who is your web hosting company? Is it a seperate server that their shared ssl is on? Vger My web host is Compila and there shared is on a seperate server.
♥Vger Posted September 27, 2005 Posted September 27, 2005 You can't use 'localhost' for the db_server setting if the ssl folder is on a seperate server. In this instance the db_server address will need to be a specific dedicated ip address for the server your database is on. Vger
lmjacques Posted September 27, 2005 Author Posted September 27, 2005 You can't use 'localhost' for the db_server setting if the ssl folder is on a seperate server. In this instance the db_server address will need to be a specific dedicated ip address for the server your database is on. Vger Hello Thank you for your help I am completely at a lose what to do, I have never done anything like this before. Please can someone give me a step by step if possible. I wouldn't know properly were to start. I don't know where to change the stuff.
♥Vger Posted September 27, 2005 Posted September 27, 2005 You need to find out from your web hosting company what your 'Database Server' address is. If they tell you it's 'localhost' ask them to think again. Once you have the ip address for the database server from your hosting company then you can replace 'localhost' in both configure.php files with the correct db_server address. Vger
lmjacques Posted September 27, 2005 Author Posted September 27, 2005 You need to find out from your web hosting company what your 'Database Server' address is. If they tell you it's 'localhost' ask them to think again. Once you have the ip address for the database server from your hosting company then you can replace 'localhost' in both configure.php files with the correct db_server address. Vger Would this be a Database Server address 127.0.0.1 If so what do I do and also what files do I put on my SSL server
Guest Posted September 27, 2005 Posted September 27, 2005 Would this be a Database Server address 127.0.0.1If so what do I do and also what files do I put on my SSL server No. 127.0.0.1 is the loopback address. Simply put its the same as localhost. Your web hosting company should provide you with the proper IP of the server you seek. Then you should just have to point your /catalog/includes/configure.php and /catalog/admin/includes/configure.php to the correct server. Good Luck, Tim
lmjacques Posted September 28, 2005 Author Posted September 28, 2005 I have got all the information that I require from the web host. I now don't know what files to upload to my server. Can anyone please advise me, as I know that I don't need to upload them all but don't know which one's do need uploading. Please help, I am such a novice.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.