-
Novice
help with web account page
everytime i try to connect to my account creation page i get Error: Unable to connect to MySQL server. MySQL reported: Access denied for user 'root'@'localhost' (using password: YES). does anybody have any ideas what i should do?
-
-
Member
Re: help with web account page
Access denied for user 'root'@'localhost' (using password: YES).
EDIT YOUR .php file
$user [depend on your user created in the DB]=
$password [depend on your password created in the DB]
like this->
$lang="en"; // Language ("en" - english, "ru" - russian)
$host="127.0.0.1"; // HOST for Antrix database
$user="XXXX"; // USER for Antrix database
$password="XXXX"; // PASS for Antrix database
$db="which ever DB name"; // NAME of Antrix database
$hostr="127.0.0.1"; // HOST for Login database
$userr="root"; // USER for Login database
$passwordr="XXXX"; // PASS for Login database
$dbr="XXXX"; // NAME of Login database
$database_encoding = 'CP1251'; // Set encoding
$img_base = "img/"; // Image dir
$server = "127.0.0.1"; // Antrix Server Address
$port = "8129"; // Antrix Server Port
$title="Antrix"; // Insert the title of your server here
$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...
Last edited by duke.paladin; 02-07-07 at 11:25 PM.
-
Novice
Re: help with web account page
im using wamp where is the .php file?
-
Member
Re: help with web account page
what web repack you usin?
show me the website pack your using like the whole rar pack.
-
Novice
Re: help with web account page
im using an exe file for wamp 5.1
-
Enthusiast
Re: help with web account page
okay well what duke.paladin is saying is your index.php you put in your www folder shoudl contain what he posted edit it to what suits your database and server :D
-
Novice
Re: help with web account page
thx or all he help it worked but do u know how to make so other people cant create accounts