Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Created a mySQL database, how do I access it?


Muze

Recommended Posts

After creating a mySQL db on my server, I get a list of connection strings. There's one for PHP and for Perl also. Something like this:

 

Connection Strings Perl $dbh = DBI->connect("DBI:mysql:etc etc etc

 

Do I have to put this information in one of the OSC php scripts or something?

Link to comment
Share on other sites

After creating a mySQL db on my server, I get a list of connection strings.  There's one for PHP and for Perl also.  Something like this:

 

Connection Strings  Perl  $dbh = DBI->connect("DBI:mysql:etc etc etc

 

Do I have to put this information in one of the OSC php scripts or something?

 

Its all taken care of automatically.

 

The connection is made in includes/application_top.php, which calls wrapper functions for mysql located in includes/functions/database.php.

 

Documentation for PHP MySQL functions can be found here

:heart:, osCommerce

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...