Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installing osCommerce on "plask"


Guest

Recommended Posts

Posted

How to instal osCommerce on a server who running a server software named "plask". I have asked the adminstrators for the server and he is saying that the only way to connect a php file to the database is whit this code:

 

<?

// *****************************

$user = "Username";

$pass = "password";

$database = "databasename";

$db = mysql_connect("localhost",$user,$pass);

mysql_select_db($database,$db);

 

// *****************************

 

 

but how do i get this code into the configure file? I have tryed but it didn't work :(

 

 

Have a nice day.

 

By:

Emil J. Larsen (Seekers-)

Posted

When you install osCommerce you will have the option of inputting that information on the install screens:

 

Host 'localhost'

User Name 'Your User Name'

Password 'Your MySQL Password'

Database Name 'Name of the database you created in phpmyadmin'

 

Vger

Posted

plask or PLESK??

 

I have 3 OSC's running on plesk's

 

you have to create a database before you can install ocs.

 

log into plesk and add database, user, & user password.

 

When you install osCommerce you will have the option of inputting that information on the install screens:

 

Host 'localhost'

User Name 'Your User Name'

Password 'Your MySQL Password'

Database Name 'Name of the database you created in plesk'

Posted

hmmm sorry i mean plesk :) but i have got it to work now, i just enteret "localhost" in host field under the installation :) But i have a new problem now, a problem i just have anwerd for antoher guy, lol, hehe, i just told him to reinstall but now i have the error myself and it will not help reinstalling it :'( Gonna make this short, have to make a new reply to him.

 

I get this error:

 

Warning: mysql_connect(): Access denied for user: 'mysql@localhost' (Using password: NO) in

/usr/local/***/home/hosts/my-server.com/httpdocs/catalog/admin-libery/includes/functions/database.php on line 19

Unable to connect to database server!

Archived

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

×
×
  • Create New...