Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Install problem, "Database Import".


greree

Recommended Posts

I've successfully installed osCommerce on a Mandrake 9.0 machine, but when I tried to do an install on a Redhat 8.0 machine it freezes when I get to the Database Import part. There aren't any error messages, it just says "Step 1: Datatabase Upgrade", and then it stops.

 

As far as I can tell I did both installs the same. I also checked to see if mysqld and httpd were running. Any ideas?

Link to comment
Share on other sites

  • 2 weeks later...

Yes, I ran into a similar problem in a new installation of OSC 2.2 on RedHat 8.0. After Continue button on the page of http://localhost/catalog/install/install.php is pressed, it goes to URL http://localhost/catalog/install/install.php?step=2 and the page shows following (nowhere to specify the database location).

 

osCommerce

Open Source E-Commerce Solutions

 

New Install

 

Step 1: Database Import

 

I verified that MySQL and Apache are running. I have created a database 'catalog' using MySQL's CLI.

 

Any ideas on what might go wrong with OSC2.2 on RedHat 8.0? Anybody succeeded to install OSC 2.2 on RedHat 8.0?

Thanks.

 

Arthur

Link to comment
Share on other sites

To get it working I did a clean install of Red Hat 7.3, then upgraded Red Hat to 8.0. osCommerce installed fine after that. I only had problems when I started with a clean install of Red Hat 8.0. I never did figure out why.

Link to comment
Share on other sites

I recently switched from windows to Redhat 8.0 and having the same problem. Is this going to be a wide spread problem or has anyone found a fix. Like I said I am new to linux ( I am less than two weeks old in linux years) and so far I have liked what I saw but this is frustrating. I don't have 7.3 and would rather not download and install to upgrade to Redhat 8.0 if I can avoid it. Please help us out.

Link to comment
Share on other sites

I tried both approaches (upgrade from 7.3 to 8.0, reinstall of php-mysql) as suggested here. install.php still not working for me. So I used a different appraoch - manually import the database, the catalog came alive. Basically I followed the instruction in /catalog/install/INSTALL. Here are what I have done for your reference,

 

mysqladmin -u mysql_user -p create catalog_database_name

(enter the password)

 

mysql -u mysql_user -p catalog_database_name < /var/www/html/catalog/install/oscommerce.sql

(enter the password)

 

changed /catalog/includes/configuration.php to reflect the changes in mysql_user, password, catalog_database_name, and of course, HTTP server hosts, ...

 

Then tried http://localhost/catalog/default.php

( I got errors: failure call to mysql_connect() )

 

Edit /etc/php.ini to add a line:

extension=mysql.so

 

Restart httpd

/etc/init.d/httpd restart

 

Then tried http://localhost/catalog/default.php

THe demo store is alive!!!

 

Enjoy!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...