#start as user root
mysqld --init-file /root/install/reset-mysql-pwd.sql --user=root

cat:
reset-mysql-pwd.sql

ALTER USER 'root'@'localhost' IDENTIFIED BY 'new-password';

computer2know :: thank you for your visit :: have a nice day :: © 2024