Eureka Moment Wiki

One eureka moment at the time

User Tools

Site Tools


MySql password and old_password

/* Old password type */
SET PASSWORD FOR 'some_user'@'some_host' = OLD_PASSWORD('mypass');
/* New password type */
SET PASSWORD FOR 'some_user'@'some_host' = PASSWORD('mypass');
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password  BY 'mypass';


Enter your comment:
K​ W O᠎ D P
database/mysql/password.txt · Last modified: 2019/10/31 09:04 (external edit)