Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

MYSQL Database question


LLENOD

Recommended Posts

Posted

Hello,

 

I was wondering exactly how do I link to a database on a server different than the one all of the oscommerce files are on? What would I put in place of 'localhost'?

 

Thanks!

LLENOD

Posted

Can't you specify that in the installation? If you've already installed then you can edit /includes/configure.php

Posted

you'll probably also have to add the IP of the osCommerce server to the "Access Hosts" list of the db server.

 
Posted
I was wondering exactly how do I link to a database on a server different than the one all of the oscommerce files are on? What would I put in place of 'localhost'?

 

try: username@server_IP_address instead of the default username@localhost

 

Also, make sure your mySQL server allows the new user to connect to it.

 

Hope this helps,

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...