Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

connection string in config files


bizzygroup

Recommended Posts

Posted

I just changed to mySQL 501 and imported my database. Now I am told I have to change the connection strings in my configure files.

 

this is what it has now in /catalog/includes/configure.php

 

// define our database connection
 define('DB_SERVER', ''); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', '');
 define('DB_SERVER_PASSWORD', '');
 define('DB_DATABASE', 'osCommerce');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

 

and this is what it has now in /admin/includes/configure.php

 

// define our database connection
 define('DB_SERVER', '');
 define('DB_SERVER_USERNAME', '');
 define('DB_SERVER_PASSWORD', '');
 define('DB_DATABASE', 'ZAKIRC_iota');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', '');

 

Is this where I add my info? Are there other places too? Where do I put mySQL 501?

 

I don't know

Posted

That is the correct place. You do not need to put mySql 501 anywhere. All you need is the server namer, username, password and database name

Archived

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

×
×
  • Create New...