How I Can Connect The Web To Db ?? What I Maded Wrong ???

Results 1 to 1 of 1
  1. #1
    Member ozzye is offline
    MemberRank
    Mar 2007 Join Date
    31Posts

    How I Can Connect The Web To Db ?? What I Maded Wrong ???

    WHAT I MADED WRONG I CANT UNDERSTAND !!!! Every thing seems to be oke but the site doesnt get connected with db and i got this message on the site : Error: Unable to connect to MySQL server. MySQL reported: Client does not support authentication protocol requested by server; consider upgrading MySQL client.


    PHP Code:
    $lang="en";            // Language ("en" - english, "ru" - russian)
    $host="localhost";        // HOST for Antrix database
    $user="root";            // USER for Antrix database
    $password="pass";        // PASS for Antrix database
    $db="antrix";            // NAME of Antrix database
    $hostr="localhost";        // HOST for Login database
    $userr="root";            // USER for Login database
    $passwordr="pass";        // PASS for Login database
    $dbr="antrix";            // NAME of Login database
    $database_encoding 'CP1251';     // Set encoding
    $img_base "img/";        // Image dir
    $server "localhost";        // Antrix Server Address
    $port "8129";            // Antrix Server Port
    $title="Reign of Chaos";        // Insert the title of your server here
    $tbc="8";            // Enable or Disable TBC by default (0 - Disable, 8 - Enable)
    $lock_acc=0;            // Lock created account to IP address (1 - on, 0 - off)
    $lock_reg=0;            // Registration only one (or more) account from one IP address
                    // 0 - not limit, 1 - one acc,  2 - two acc, etc... 




Advertisement