Jump to content


Photo

Access denied for user: 'root@localhost'


  • Please log in to reply
5 replies to this topic

#1 Special-K

Special-K
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 12 March 2003 - 03:36 PM

Hi

before i start im a newbie :oops:

Can any body help me with this problem..

i have installed apache ( working fine ) , php ( php test page i made works fine but phpinfo.php does not show up ) , mysql and mysql admin

but when i try to access sql i get this error

Access denied for user: \'root@localhost\' (Using password: YES)

why do i keep getting this error , i know the pass :P - but it keeps coming up..

thanks :D

#2 Iklekid

Iklekid
  • Members
  • PipPip
  • Member
  • 16 posts
  • LocationUK

Posted 12 March 2003 - 04:27 PM

did you set up a password? try entering no password at all and see if that solves your problem
Webmaster of Dark Wars
[br]http://www.dwog.net

#3 Special-K

Special-K
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 12 March 2003 - 04:59 PM

Yes i tryed it with and without a pass

i.e - example

[WinMySQLadmin]
Server=C:/mysql/bin/mysqld-nt.exe
user=root
password=passhere


and

[WinMySQLadmin]
Server=C:/mysql/bin/mysqld-nt.exe
user=root
password=

is this what you ment m8 - like i said im a noob ;)

#4 Iklekid

Iklekid
  • Members
  • PipPip
  • Member
  • 16 posts
  • LocationUK

Posted 12 March 2003 - 05:36 PM

yeh, i meant that, i installed mysql apache and php on my pc at home and it tells me not to enter a password at all! i got the saem errors as you at first! till i realised!

But if you have tried I dunno what else!

Soz im a noob to :-)
Webmaster of Dark Wars
[br]http://www.dwog.net

#5 Special-K

Special-K
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 17 March 2003 - 09:47 AM

np m8 - we have to learn :D

anyway please help guys.

im still having the same prob here apache and php are fine but mysql just will not happen for me :P

:?:

#6 phpfreak

phpfreak
  • Members
  • PipPipPip
  • Advanced Member
  • 527 posts
  • LocationEverywhere!

Posted 17 March 2003 - 12:17 PM

You need to ensure that you either reload or restart MySQL after adding users, changing database permissions or passwords. Reload MySQL and give it another shot :)
Eric 'phpfreak' Rosebrock
Got LAMP?
http://www.Phpfreaks.com Founder




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users