mysql not starting - improper shutdown
Hi, I am new to mysql.
I was trying to setup replication.
Made changes to my.cnf
On the server, did grant permissions and lock tables as
mysql>grant replication slave on *.* to 'repl'@'%' identified by 'paswd';
mysql>flush tables with read loack;
mysql>show master status
This returned my an empty set
I had not restarted mysql after changing the my.cnf
so i shutdown mysql but forgot to unlock the tables before that.
Now when I try to start mysql again it says:
mysqld_safe mysqld from pid file mysql/data/shruti-lnx.pid ended
What do i do?
I dont want to reinstall mysql as another application is using it.