Help - Search - Members - Calendar
Full Version: Connection Error
Zymic Webmaster Forums > Zymic Free Web Hosting > Databases & MySQL
theemonopolyguy
I keep on getting this error
CODE
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'lttl_god'@'66.90.68.163' (using password: YES) in /www/uuuq.com/l/t/t/lttl/htdocs/include/database.php on line 24
Access denied for user 'lttl_god'@'66.90.68.163' (using password: YES)


I go to line 24 on database.php witch is
CODE
$this->connection = mysql_connect(DB_SERVER, DB_USER, DB_PASS) or die(mysql_error());


This is my constants file:
CODE
define("DB_SERVER", "lttl.uuuq.com");
define("DB_USER", "lttl_god");
define("DB_PASS", "********");
define("DB_NAME", "lttl_f**ingwork");

(Stared out the vulgar language and password)
But if all my information is right, and the user has all the permissions, why am I getting this error?

Any help would be greatly appreciated smile.gif
Jacob
CODE
define("DB_SERVER", "localhost");
define("DB_USER", "lttl_god");
define("DB_PASS", "********");
define("DB_NAME", "lttl_f**ingwork");


Should be the correct settings.
theemonopolyguy
Ah good call. Thanks man all is good smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.