MYSQL authorized remote connection

in mysql database

  1. access tableuse mysql;

  2. Enable permissionsGRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '122333' WITH GRANT OPTION;

  • Among them, 122333 is the password of root
  1. refreshflush privileges;

Guess you like

Origin blog.csdn.net/weixin_45495923/article/details/131630401