An error was encountered

Error: Unable to connect to MySQL server. MySQL reported: Server is running in --secure-auth mode, but 'jan_trans_db2'@'127.0.0.1' has a password in the old format; please change the password to the new format.