We needed to move services from one co-location patner to another so we had to copy some files from main server to back up server so these services can now be run on back up server at the new location.
The Systems Admin did a replication of the mysql database. However, since moving the servers, the users created do not work. I cannot login as of the database users created after moving the servers.
when i do a show processlist; i see some two processes that have been hanging for a very long time; I believe they have to do with the replication process.
even when i try to make a change to the password of any of the original users, they too are affected and cant now login.
mysql> show processlist;
+-------+-------------+-----------+-------+---------+---------+-----------------------------------------------------------------------+------------------+
| Id | User | Host | db | Command | Time | State | Info |
+-------+-------------+-----------+-------+---------+---------+-----------------------------------------------------------------------+------------------+
| 1 | system user | | NULL | Connect | 2156939 | Connecting to master | NULL |
| 2 | system user | | NULL | Connect | 2156939 | Has read all relay log; waiting for the slave I/O thread to update it | NULL |
I don't know if these processes are the one's affecting my login. But I need to clean them just because they're annoying.
Someone please show me how to
- get rid of these two processes;
- troubleshoot possible reason for my new users not being able to login.
Thanks.