For Programmers: Free Programming Magazines  


Home > Archive > PHP SQL > November 2004 > Can anyone help plz?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Can anyone help plz?
Charlene Allan

2004-11-25, 3:56 pm

Hi, I was wondering if anyone could give me a tip on what I've done wrong,
I'm a newbie when it comes to php/sql, I just installed a board etc, and
wanted some mods installed, everything went fine until there was a part
where I had to do something to the database, now I think i've messed up
everything, nothing seems to work, all I get now is

"Warning: mysql_connect(): Access denied for user:
'brother_phpbb1@localhost' (Using password: YES) in
/home/brother/public_html/forum/db/mysql4.php on line 48

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource
in /home/brother/public_html/forum/db/mysql4.php on line 330

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource
in /home/brother/public_html/forum/db/mysql4.php on line 331
phpBB : Critical Error

Could not connect to the database

Any help at all would be appreaciated!!!
thanks!
Charlene


HawkEye

2004-11-25, 8:55 pm

Charlene Allan wrote:
> Hi, I was wondering if anyone could give me a tip on what I've done wrong,
> I'm a newbie when it comes to php/sql, I just installed a board etc, and
> wanted some mods installed, everything went fine until there was a part
> where I had to do something to the database, now I think i've messed up
> everything, nothing seems to work, all I get now is
>
> "Warning: mysql_connect(): Access denied for user:
> 'brother_phpbb1@localhost' (Using password: YES) in
> /home/brother/public_html/forum/db/mysql4.php on line 48
>
> Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource
> in /home/brother/public_html/forum/db/mysql4.php on line 330
>
> Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource
> in /home/brother/public_html/forum/db/mysql4.php on line 331
> phpBB : Critical Error
>
> Could not connect to the database
>
> Any help at all would be appreaciated!!!
> thanks!
> Charlene
>
>


Looks like you have the password wrong in your connect statement. Hopefully
you still have another account that will work? If so as a temp measure
change the user account & pword and see if that works. All the errors
could easily come from incorrect login details so sort that and you should
be fine.

--
Regards

Neil

Registered Linux User 324599
Windows has detected your mouse has moved, Please restart your PC for this
change to be registered.
Charlene Allan

2004-11-25, 8:55 pm

Hi Neil, thanks very much for your reply, I sort of gave up and reinstalled,
I did try using a different username and stuff, but it didn't work, lucky
enough I hadn't really opened my forrm yet so nothing much was lost :)
thanks again
Charlene


"HawkEye" <sunbed@rocketmail.com> wrote in message
news:Hr2dnbLdDcIG-DvcRVnygg@pipex.net...
> Charlene Allan wrote:
>
> Looks like you have the password wrong in your connect statement.
> Hopefully you still have another account that will work? If so as a temp
> measure change the user account & pword and see if that works. All the
> errors could easily come from incorrect login details so sort that and you
> should be fine.
>
> --
> Regards
>
> Neil
>
> Registered Linux User 324599
> Windows has detected your mouse has moved, Please restart your PC for this
> change to be registered.



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com