Problem on MySQL
Ubuntu 7.04 server amd64
It just comes to my notice on running following commands
$ sudo /etc/init.d/mysql stop
* Stopping MySQL database server mysqld [fail]
$ sudo /etc/init.d/mysql start
* Starting MySQL database server mysqld [ OK ]
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)'
I suppose the problem is caused by running several 'apt-get update' and 'apt-get upgrade'. Before MySQL start/stop without problem nor having warning.
Please advise how to fix this problem. TIA
1.try to start mysql-server:
2.then log in to mysql server with known user and password
in case the user is root and have password,if the user have no password,type in terminal:
Originally Posted by andriagutama
Thanks for your advice.
It was MySQL package upgraded on repo having problem. After removing it and other relevant packages and reinstalling them, problem is now gone.