Announcement

Collapse
No announcement yet.

Can't connect to database

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Suite] Can't connect to database

    Brand new installation of cms 4.0.3 on MySQL 5.0.18 and PHP 5.3.2 running on windows


    get to stepo 2 and get the error message below. I have left most of the fields in config.php as the default. The database and user are named appropriately and I have modified the text after the =.


    I have tried to log on with both the user and password created for this database and also the mysql admin to no avail. I have checked with mysql administrator and allrighst to the database have been granted for the new user. What else should I be looking at?




    Step 2) Connect to the database
    Attempting to attach to database
    Error description: mysql_connect(): mysqlnd cannot connect to MySQL 4.1+ using old authentication D:\home\Default\sandersonforensics.com\htdocs\forum\includes\class_core.php on line 312
    The database has failed to connect because you do not have permission to connect to the server. Please confirm the values entered in the 'includes/config.php' file.
    Last edited by sandy771; Fri 23 Apr '10, 2:47pm.

  • #2
    Your PHP version MySQL connector cannot connect to the database because it appears that the database is set to use 'old passwords' or more correctly, an old password format that is incompatible with the PHP connector.

    It's a configuration change that needs to happen on the database side.

    Here's a technical document about that error:

    Here: http://au2.php.net/manual/en/migrati...compatible.php
    And Here: http://dev.mysql.com/doc/refman/5.0/en/old-client.html

    Refer your host to those links if they need a better explanation.
    To be updated...

    Comment


    • #3
      thanks sorted.

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X