Hello,
I just installed MYSQL on a windows machine and everything seems to be working fine except I cant set passwords to any accounts or basically any username can log in (even if I didnt create it). For instance I will type
>mysqladmin -u root password newpassword
and then
>mysql -u root -p
then I will type in the password I just gave it and it says access denied. but when I do the same command and dont enter a password I can get in without any problems.
Also i can put in anything for a user name and get into it. The reason this is such a problem is because I am going to use phpMyAdmin and dont want everyone in the world to get into my database. I have set up MYSQL on Linux and didnt have this problem.
Any suggestions?
Thanks
I just installed MYSQL on a windows machine and everything seems to be working fine except I cant set passwords to any accounts or basically any username can log in (even if I didnt create it). For instance I will type
>mysqladmin -u root password newpassword
and then
>mysql -u root -p
then I will type in the password I just gave it and it says access denied. but when I do the same command and dont enter a password I can get in without any problems.
Also i can put in anything for a user name and get into it. The reason this is such a problem is because I am going to use phpMyAdmin and dont want everyone in the world to get into my database. I have set up MYSQL on Linux and didnt have this problem.
Any suggestions?
Thanks