Jump to content

Something wrong with my script


Dogboys

Recommended Posts

<?php // config.php :: Low-level app/database variables.

$dbsettings = Array(
"server" => "localhost", // MySQL server name. (Default: localhost)
"user" => "pugs_username", // MySQL username.
"pass" => "pugs_password", // MySQL password.
"name" => "pugs_DragonKnight", // MySQL database name.
"prefix" => "dk", // Prefix for table names. (Default: dk)
"secretword" => "lol"); // Secret word used when hashing information for cookies.

?>

Ok my database is named dragonknight and my username and password just for instances is used username and password.

The pugs is my website name and it comes out like that.

And this is my error.

Access denied for user 'pugs_username'@'localhost' to database 'pugs_DragonKnight'


What do you guys think the problem is?
Link to comment
Share on other sites

[!--quoteo(post=374553:date=May 16 2006, 11:47 PM:name=Ferenc)--][div class=\'quotetop\']QUOTE(Ferenc @ May 16 2006, 11:47 PM) [snapback]374553[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Either user name and/or password is incorect/
[/quote]

Um should i not have the pugs_ part?

Becuase my login is called pug and whenver i make an account name it says pugs_*than username*

So what do you think about the pugs part?

and also i think this is the error for the wrong password.

Warning: mysql_connect(): Access denied for user 'pugs_udername'@'localhost' (using password: YES) in /home3/pugs/public_html/lib.php on line 55
Access denied for user 'pugs_dogboys'@'localhost' (using password: YES)
Link to comment
Share on other sites

either your username and/or your password is incorrect. using password:YES simply means that you were indeed trying to connect using a password, as opposed to not using a password at all. your password could be fine but your username typoed.

if www.pugs.com is your website then yes, pugs_username will be your username. so if your username was dogboys then it would be pugs_dogboys

your password is NOT pugs_password. that is, if your password was n0d0z3 it would NOT be pugs_n0d0z3

that is, unless you specifically entered that in as your password. then it would be. But pugs_ is not automatically added onto your password.
Link to comment
Share on other sites

[!--quoteo(post=374556:date=May 17 2006, 12:02 AM:name=Crayon Violent)--][div class=\'quotetop\']QUOTE(Crayon Violent @ May 17 2006, 12:02 AM) [snapback]374556[/snapback][/div][div class=\'quotemain\'][!--quotec--]
either your username and/or your password is incorrect. using password:YES simply means that you were indeed trying to connect using a password, as opposed to not using a password at all. your password could be fine but your username typoed.

if www.pugs.com is your website then yes, pugs_username will be your username. so if your username was dogboys then it would be pugs_dogboys

your password is NOT pugs_password. that is, if your password was n0d0z3 it would NOT be pugs_n0d0z3

that is, unless you specifically entered that in as your password. then it would be. But pugs_ is not automatically added onto your password.
[/quote]

THANK YOU SO MUCH!!!!!!!!
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.