Special-K Posted March 12, 2003 Share Posted March 12, 2003 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 - but it keeps coming up.. thanks Quote Link to comment https://forums.phpfreaks.com/topic/220-access-denied-for-user-rootlocalhost/ Share on other sites More sharing options...
Iklekid Posted March 12, 2003 Share Posted March 12, 2003 did you set up a password? try entering no password at all and see if that solves your problem Quote Link to comment https://forums.phpfreaks.com/topic/220-access-denied-for-user-rootlocalhost/#findComment-656 Share on other sites More sharing options...
Special-K Posted March 12, 2003 Author Share Posted March 12, 2003 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 Quote Link to comment https://forums.phpfreaks.com/topic/220-access-denied-for-user-rootlocalhost/#findComment-657 Share on other sites More sharing options...
Iklekid Posted March 12, 2003 Share Posted March 12, 2003 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 :-) Quote Link to comment https://forums.phpfreaks.com/topic/220-access-denied-for-user-rootlocalhost/#findComment-659 Share on other sites More sharing options...
Special-K Posted March 17, 2003 Author Share Posted March 17, 2003 np m8 - we have to learn anyway please help guys. im still having the same prob here apache and php are fine but mysql just will not happen for me :?: Quote Link to comment https://forums.phpfreaks.com/topic/220-access-denied-for-user-rootlocalhost/#findComment-690 Share on other sites More sharing options...
phpfreak Posted March 17, 2003 Share Posted March 17, 2003 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 Quote Link to comment https://forums.phpfreaks.com/topic/220-access-denied-for-user-rootlocalhost/#findComment-691 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.