Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Complete newbie, need help installing osCommerce


elzmaddy

Recommended Posts

Posted

Hello,

 

I am a complete beginner to websites and I need help installing osCommerce. I am at Step 2 of the installation, and the documentation does not cover this well enough for me to understand. I'm trying to figure out what to enter into the text fields. I believe it needs a MySQL database, which I was able to create through my web hosting control panel.

 

 

Database Server: ?

Username: ?

Password: ?

Database Name: ?

Persistent Connections: ?

Session Storage: ?

 

Any information would be greatly appreciated.

Posted

Database Server: http://the-servername.com (or an ip address such as 127.0.0.1

Username: the username you use to connect to the SQL database when creating it

Password: the password you gave the SQL database

Database Name: The name you gave the database

 

Here is an example of what they look like :-

 

 

// define our database connection

define('DB_SERVER', '213.0.0.1'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'mysqldatabase');

define('DB_SERVER_PASSWORD', 'mypassword');

define('DB_DATABASE', 'mydatabasefile');

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

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

// STS: ADD: Define Simple Template System files

 

Im not certain as to how the PConnect relates to anything other than its a persistent connection or permenent connection to the server which some hosts do not like

Posted

If it's a Windows hosting company then (sometimes) they use seperate servers for database storage, and some of those then use specific ip addresses for the server.

 

Mostly it's localhost, or the ip address of localhost which is 127.0.0.1

 

:D :D

 

Vger

Posted

Got it working. What I had to do was create a database user name and password (didn't see it at first glance), assign it to my database, and set permissions on some files. Thanks for the help.

Posted

I get to the bit where is asks for the database information and I enter the the correct info including the IP of 127.0.0.1 and the correct username, password and database name.

 

And then when I click on Continue all I see on the next page is

 

New Installation

 

Database Import

 

 

I have tried removing everything and starting again from scratch but it doesnt seem to help.

 

Any ideas?

Archived

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

×
×
  • Create New...