mysql开通tcp远程连接2022-10-26 12:06:281.登陆mysql: mysql -u root mysql 2.运行下面命令 UPDATE `mysql`.`user` SET `Host` = '%' WHERE `user`.`Host` = CAST( 0x6c6f63616c686f7374 AS BINARY ) AND `user`.`User` = CAST( 0x726f6f74 AS BINARY ) ; 3.重启mysql service mysqld restart上一篇:【Java深入研究】9、HashMap源码解析(jdk 1.8)下一篇:实体类在set字段时报空指针异常