MySql authorized login
mysql -u root use mysql; update user set password=PASSWORD("123456") where user='root'; grant all on *.* to root@"%" identified by "123456";
MySql authorized login
mysql -u root use mysql; update user set password=PASSWORD("123456") where user='root'; grant all on *.* to root@"%" identified by "123456";