Hi, I am facing a strange issue here. I have setup a galera cluster with 3 nodes. As long as I am creating database/tables/ adding data directly to any of the galera nodes, it works fine. But when I import a mysqldump created sql from another database -using command like
mysql -uroot -p testDB<testDB.sql
I face a strange issue. If I run import on primary node of the galera, i acn see data is imported properly on primary node. But when I try to verify the same on one of the secondary nodes, I realize that suddenly i am not allowed in using my old credentials. ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
On more investigation, i realize that mysql.user table has been emptied on secondary node.
MariaDB [mysql]> select * from mysql.user; Empty set (0.00 sec) (Ofcourse I had to start this node's mysql usng skip grant tables for this)
Can you please guide me what could be the issue here?