[HELP]SQL connection problem!!

04/18/2011 21:57 storm363#1
Hi all!! I hope here someone can help me... I'm using abrasive'sregistration script... When I try to register, I press create account and my website opens a blank page with written: "Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'shaiya'@'localhost' (using password: YES) in C:\xampp\htdocs\teos.com\db.php on line 3
Failed to connect to MSSQL Server."
Yesterday there was another error:
"Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: 127.0.0.1 in C:\xampp\htdocs\teos.com\db.php on line 3
Failed to connect to MSSQL Server." I don't know what i did... Is it a problem with db.config.php? What should I write in $db_host?
04/20/2011 05:21 sondo81#2
Unable to connect to server: 127.0.0.1 !
127.0.0.1 is the lokal ip! you must change this to your public ip and before try create an acc without the web script.
07/25/2011 18:19 Th3nd#3
(abrasive_registration)

[Only registered and activated users can see links. Click Here To Register...]

Failed to connect to MSSQL Server.


user: Shaiya pas: Shaiya123 wrong password?

db.config

// Database configuration parameters
$db_host = '127.0.0.1';
$db_user = 'Shaiya';
$db_pass = 'Shaiya123';


EP 4.5
[Only registered and activated users can see links. Click Here To Register...]