dabid Posted April 8, 2012 Share Posted April 8, 2012 Hi, i am new in learning the PHP language, just want to ask how to access my phpmyadmin, after putting a password on my database, using mysql console, i am using wamp server 2.2, thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/260573-1045-access-denied-for-user-rootlocalhost-using-password-no/ Share on other sites More sharing options...
AyKay47 Posted April 9, 2012 Share Posted April 9, 2012 run these lines: mysqladmin -u root password new_password mysqladmin flush-privileges grant all privileges on *.* to root@localhost identified by 'new_password'; Quote Link to comment https://forums.phpfreaks.com/topic/260573-1045-access-denied-for-user-rootlocalhost-using-password-no/#findComment-1335507 Share on other sites More sharing options...
dabid Posted April 10, 2012 Author Share Posted April 10, 2012 Hi thanks for the reply, but this is the error that i am receiving, when i open the phpmyadmin, Error MySQL said: Documentation #1045 - Access denied for user 'root'@'localhost' (using password: NO) I try to run your commands but there are still some errors i replace the 'new_password'; with my password is it right? thanks Quote Link to comment https://forums.phpfreaks.com/topic/260573-1045-access-denied-for-user-rootlocalhost-using-password-no/#findComment-1335989 Share on other sites More sharing options...
AyKay47 Posted April 10, 2012 Share Posted April 10, 2012 yes, you said you are using mysql console vial shell, right? Quote Link to comment https://forums.phpfreaks.com/topic/260573-1045-access-denied-for-user-rootlocalhost-using-password-no/#findComment-1336031 Share on other sites More sharing options...
dabid Posted April 14, 2012 Author Share Posted April 14, 2012 Ok thanks sir, just another question, i am using Dreamweaver because i am only a starter, when i save into Dreamweaver and refresh the browser, the code that i wrote does not appear in the browser, so what i am doing to see the result of what i code, is to go again and type localhost and access again the webpage file, what is the problem, do i have a problem in Dreamweaver or the browser or the wamp server? thanks hope for your reply Quote Link to comment https://forums.phpfreaks.com/topic/260573-1045-access-denied-for-user-rootlocalhost-using-password-no/#findComment-1337373 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.