Results 1 to 2 of 2

A test connection made to the database was NOT successful.

This is a discussion on A test connection made to the database was NOT successful. within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; System Config: Windows 2000 /w IIS, MySQL and PHP 4 I am on step 5 and 7 where the install ...

      
  1. #1
    Lurker
    Join Date
    Sep 2003
    Posts
    1
    Rep Power
    0


    Default A test connection made to the database was NOT successful.

    System Config: Windows 2000 /w IIS, MySQL and PHP 4

    I am on step 5 and 7 where the install is trying to make a test connection to my database and I keep getting this error:


    osCommerce Configuration

    A test connection made to the database was NOT successful.

    The error message returned is:

    Table 'catalog.configuration' doesn't exist

    Please click on the Back button below to review your database server settings.

    If you require help with your database server settings, please consult your hosting company.
    What I dont understand is, during step 3 I was still able to create and import a database called 'catalog'. Now for some reason its not letting me connect to it anymore, originally i had created the database on:

    Localhost, username, no password and database 'catalog'

    Now when I am doing step 5 I have tried a plethora of different host names, localhost, the actual ip, the actual domain name, etc. and I still keep getting this error. When looking with Mysqlwinadmin at the "catalog" database, everything seems to be inside there, so why can't I seem to connect?

    I have searched the forums far and wide for any help, yet cant seem to find anything. I've set up osCommerce on windows and linux boxes before with apache but never IIS. I am at this point completely frustrated with Windows and if it werent for the clients demands i would be on *nix /w Apache in a second. Please help me have a good weekend.

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default

    Take a look at BOTH your configure.php files and modify them by hand.

    Code:
      define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
      define('DB_SERVER_USERNAME', 'your_user_name');
      define('DB_SERVER_PASSWORD', 'your_password');
      define('DB_DATABASE', 'your_database_name');
      define('USE_PCONNECT', 'false'); // use persistent connections?
      define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

    I use phpMyAdmin. I did not like MySQLWinAdmin.

Similar Threads

  1. New install..Database connection problems
    By eengledow in forum osCMax v1.7 Installation
    Replies: 2
    Last Post: 12-12-2004, 07:21 PM
  2. define our database connection??? Newbie, assistance please
    By louish in forum osCommerce 2.2 Installation Help
    Replies: 9
    Last Post: 12-08-2003, 12:46 AM
  3. A test connection made to the database was NOT successful.
    By JeremyLocke in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 12-29-2002, 10:17 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •