No announcement yet.

Can't connect to database

  • 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\\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:

    And Here:

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


    • #3
      thanks sorted.


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