dule

修改密码

#mysqld_safe --skip-grant-tables --skip-networking &

#mysql -u root

MySql >update mysql.user set authentication_string=password(\'root123456\') where user=\'root\';

MySql >flush privileges;

MySql >quit;

修改用户访问权限

MySql >update user set host=\'%\' where user = \'root\';

添加开机启动

#cp mysql.server /etc/init.d/mysql

#chmod +x /etc/init.c/mysql

#chkconfig --add mysql

 

 

分类:

技术点:

相关文章:

  • 2021-12-04
  • 2021-07-12
  • 2022-01-15
  • 2021-09-29
  • 2021-09-28
猜你喜欢
  • 2021-10-19
  • 2021-04-01
  • 2021-05-22
  • 2022-01-22
  • 2021-06-29
  • 2021-11-21
  • 2021-09-27
相关资源
相似解决方案