Access denied to mysql cause by invalid server hostname bind address
- by Mark
I cannot login to mysql using the terminal.
[root@fst mysql]# mysql -h localhost -u admin -p
Enter password:
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
I am sure I have the correct password. The mysql is also running when I check status.
The mysql database is also present in the directory…