I tried to use MS-DOS command line with mysql -u root -p -h localhost -P 3306
and able to log into mysql>
console. Show grants command gives the following info
GRANT ALL PRIVILEGES ON `business`.* TO 'root'@'%'
However when I did the same with MySQL Workbench I get the following error
both tried with the same password and the service MYSQL56 is running correctly. What else could be causing this ?
UPDATE
The last thing I think I did was changing the user access location from localhost
to any
. How do I change it back through command line ?