Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OSC from local to server ???


anssar

Recommended Posts

Hi All,

this is my first post on the osc forum so i'd like to thank all the osc community for their Big help. you are doing a great Job, Way to Go ...

 

I'm actually trying to set up a fair trade e-shop in my country (morocco), i'm at dev stage now (production starting 2008). I've done a pretty good job on OSC and up to now, it is good looking and works just fine on my local machine.

I would like to test it on a server to see how it works ... i've opened a free hosting account with awardspace.com and i reserved a .tk domain name.

i linked my free space in awardspace with my .tk domain name.

i uploaded my catalog.

i uploaded the database.

however, this does not work, i guess i have to update some info (server, db_name, and pass) on the configure.php file.

 

error: Warning: mysql_pconnect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/www/anssarstore.tk/includes/functions/database.php on line 17

Unable to connect to database server!

 

i'm really trying but i'd appreciate if anyone could help.

 

Thanks in advance !!

Link to comment
Share on other sites

error: Warning: mysql_pconnect():

 

Persitent connections are a bad idea for any host, try changing configure.php to ..

 

define('USE_PCONNECT', 'false'); // use persistent connections?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...