I'm running mysql on windows and I would like to connect to the database by typing mysql (only) and not mysql -uroot -proot. This works just fine from my linux and i cant figure out why it wont work on my windows box. I get the following error:
C:\>mysql
ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: NO)
Do I have to modify my.ini?
Also, I would like to grant the user phpuser access to a particular database. How can i do this?
Thanks in advance, i know these are easy questions, but i'm currently working on 1,000,000 things at the moment.
Cheers!
C:\>mysql
ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: NO)
Do I have to modify my.ini?
Also, I would like to grant the user phpuser access to a particular database. How can i do this?
Thanks in advance, i know these are easy questions, but i'm currently working on 1,000,000 things at the moment.
Cheers!