elzmaddy Posted September 23, 2005 Posted September 23, 2005 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.
batteryrat Posted September 23, 2005 Posted September 23, 2005 local or online? install Vertical Climb watch me loose grip an plumit!!
elzmaddy Posted September 23, 2005 Author Posted September 23, 2005 local or online? install <{POST_SNAPBACK}> Online, I think.
UnseenMenace Posted September 23, 2005 Posted September 23, 2005 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
UnseenMenace Posted September 23, 2005 Posted September 23, 2005 db_server is usually 'localhost' Vger <{POST_SNAPBACK}> I stand corrected, :D all I know is that mine never worked as 'localhost' and I had to use a IP address.. Just trying to assist and give you more time to save me once more :thumbsup:
♥Vger Posted September 23, 2005 Posted September 23, 2005 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
elzmaddy Posted September 23, 2005 Author Posted September 23, 2005 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.
pro-hoster Posted September 23, 2005 Posted September 23, 2005 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?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.