How to transfer authentication method from system to mysql?