Eureka Moment Wiki

One eureka moment at the time

User Tools

Site Tools


database:mysql:password

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';

Discussion

Enter your comment:
B G S U᠎ T
 
database/mysql/password.txt · Last modified: 2019/07/30 11:31 by tplecko