osCmax v2.5 User Manual
Page 1 of 2 12 LastLast
Results 1 to 10 of 16

New Installation - Database import problem

This is a discussion on New Installation - Database import problem within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; I installed Apache2, php4, and MySQL4.1. I downloaded osCommerce and tried to install, but got stuck at install step 2. ...

      
  1. #1
    New Member
    Join Date
    Jan 2005
    Posts
    6
    Rep Power
    0


    Default New Installation - Database import problem

    I installed Apache2, php4, and MySQL4.1.

    I downloaded osCommerce and tried to install, but got stuck at install step 2.
    After provided all information: Database server, Username, Password, Database name, etc.
    The next page showed:
    ----
    A test connection made to the database was NOT successful.

    The error message returned is:

    Client does not support authentication protocol requested by server; consider upgrading MySQL client


    Any one has faced this problem and know how to solve it, please help me out.

  2. #2
    Active Member developer_x's Avatar
    Join Date
    Nov 2004
    Location
    Digital Infoway
    Posts
    109
    Rep Power
    0


    Default RE: New Installation - Database import problem

    Let me know what you have typed in the field for Database server name. If you are installing oscommerce on localhost try this as database server name:

    localhost

    I think you should not write http:// before the name of database server.

  3. #3
    New Member
    Join Date
    Jan 2005
    Posts
    6
    Rep Power
    0


    Default RE: New Installation - Database import problem

    Yes, I installed oscommerce on localhost.

    I filled as following:
    Database Server: localhost
    Username: root
    Password: (mypassword)
    ...

    Do you think I should down grade the version of Apache (I installed Apache 2.0).

  4. #4
    Active Member
    Join Date
    May 2003
    Posts
    148
    Rep Power
    0


    Default RE: New Installation - Database import problem

    this has nothing to do with apache, its a mysql version error, before 4.1 they used to have hashes 16 bytes in legth but in later versions it was changed to 41 (sha) and so now if the client and the server have different versions, the hashes would not match, and hence the error,

    http://dev.mysql.com/doc/mysql/en/Password_hashing.html

  5. #5
    Active Member developer_x's Avatar
    Join Date
    Nov 2004
    Location
    Digital Infoway
    Posts
    109
    Rep Power
    0


    Default

    But Arpit he has installed oscommerce on localhost. Hence, IMHO his problem is not due to different versions of mysql at server and localhost.

  6. #6
    Active Member
    Join Date
    May 2003
    Posts
    148
    Rep Power
    0


    Default

    yea so its the mismatch between the php library (aka client) for mysql and the mysql database(aka server)

  7. #7
    Lurker
    Join Date
    Jan 2005
    Posts
    4
    Rep Power
    0


    Default

    Had the same problem and spent a day completley re checking my configuration for MySql. In MySqlAdmin you can look to see if the database exists. In the end I discovered that the database set up was causing the problem. So using MySQL I changed to root password for mySQL - logged in - and then checked out the database to ensure that the passwords and user was correct. These steps would also check that your SQL server is working.

    Hope this helps

  8. #8
    New Member
    Join Date
    Jan 2005
    Posts
    6
    Rep Power
    0


    Default

    Thanks for your message, Jenny.

    I think that nothing wrong with my mysql server setup. After installed, I used root password to log in to see that mysql working fine. So, I guess my problem cause by somethinh else.

  9. #9
    Active Member
    Join Date
    Jun 2004
    Location
    Glued to Computer Chair
    Posts
    108
    Rep Power
    0


    Default

    .htaccess file ...maybe you need to change the lines that read
    #<IfModule mod_php4.c>
    # php_value session.use_trans_sid 0
    # php_value register_globals 1
    #</IfModule>

    to
    <IfModule mod_php4.c>
    php_value session.use_trans_sid 0
    php_value register_globals 1
    </IfModule>
    True Meaning of Lost: Building a web site without knowledge or skill

    True Meaning of Crazy: Building a web site anyhow

    The Net Results: Never needing a comb again

    www.MakeMeThis.com

  10. #10
    New Member
    Join Date
    Jan 2005
    Posts
    6
    Rep Power
    0


    Default

    Hi makemethis,

    As you suggested, I tried but it didn't help. Problem is still the same.

Page 1 of 2 12 LastLast

Similar Threads

  1. OSCMax v2 - Stuck on New Installation Database Import
    By Geno11x11 in forum osCmax v2 Installation issues
    Replies: 2
    Last Post: 12-04-2005, 09:27 AM
  2. database export/import
    By rick in forum osCmax v1.7 Discussion
    Replies: 10
    Last Post: 12-29-2004, 07:04 PM
  3. installation problem, hangs after database server,user name
    By splatacat in forum osCMax v1.7 Installation
    Replies: 2
    Last Post: 12-23-2004, 06:34 AM
  4. New Installation / Database Import
    By redobe in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 11-25-2003, 09:43 AM
  5. Database import
    By sverker in forum osCommerce 2.2 Installation Help
    Replies: 4
    Last Post: 11-24-2003, 12:26 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
  •