Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Testing Database Connection?


Knoen

Recommended Posts

Posted

I have installed apache, PHP support and mysql server for running OSC, but when type all the information regarding mysql it just says "Testing Database connection" and it goes on forever. Now, ive set rights to all users to change the files in all cataloges (i run windows 2k3 server). Is it true that setting those rights is the same as set them 777?

 

I have no more clues to what can be wrong.

 

Any ideas would be great.

 

Thanks.

Posted
I have installed apache, PHP support and mysql server for running OSC, but when type all the information regarding mysql it just says "Testing Database connection" and it goes on forever. Now, ive set rights to all users to change the files in all cataloges (i run windows 2k3 server). Is it true that setting those rights is the same as set them 777?

 

I have no more clues to what can be wrong.

 

Any ideas would be great.

 

Thanks.

 

Issue is likely PHP MySQL extension not being installed.

 

Open the the following URL in your browser and check to see if extension is checked or X'd.

 

<site root>/install/index.php

 

If there is an X for PHP MySQL extension, that means PHP MySQL is not installed (do not know why osComm install allows you to continue?).

 

Here's what I did to resolve.

 

~ set extension_dir in php.ini

extension_dir = "c:\php\ext"

 

~ uncommented the following extensions

extension=php_mysql.dll

extension=php_mysqli.dll

extension=php_pdo_mysql.dll

 

~ rebooted pc

 

Everything worked fine after reboot.

 

I am running PHP5 w/ MySQL5 and Apache 2.2.x

 

Good Luck!

Archived

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

×
×
  • Create New...