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

Newbie Spellweaver
Joined
Mar 8, 2007
Messages
28
Reaction score
0
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:
$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...
 
Back