mysql禁止root用户远程连接的命令是(____)。

分类: 高级技师单选题2 发布时间: 2023-12-01 12:13 浏览量: 0

mysql禁止root用户远程连接的命令是(____)。

A.update user set host = "localhost" where user = "root" and host = "

B.; @@update user set host = localhost" where user = "root" and host = "%";

C.update user set host = "localhost" where user = "root" and host = "*";

D.update user set host = "localhost" where user = "root" and host = ".";

正确答案是B