WEBD/서버

centos7 kloxo-mr7 mysql 비빌번호 오류 수정 / 변경[ Server ][ Linux ]

라떼^^ 2020. 10. 6. 10:18

오류 비밀번호 수정이 되지않아서 링크를 따라 선행 후 변경을 시도해야 한다.

 

# service mysql stop

# /usr/bin/mysql_safe --skip-grant-tables &

# mysql -u root mysql

# update user set password=password('123456') where user='root';

# quit

# service mysql restart

LIST