Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/63.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在Java代码中是否可以从MySQL客户端运行grand permission SQL?_Java_Mysql_Remote Access - Fatal编程技术网

在Java代码中是否可以从MySQL客户端运行grand permission SQL?

在Java代码中是否可以从MySQL客户端运行grand permission SQL?,java,mysql,remote-access,Java,Mysql,Remote Access,如果我们知道远程MySQL用户名和密码 是否可以运行(在Java代码中) 在远程客户端到远程mysql服务器中?只要连接到mysql服务器的帐户具有正确的权限来发出这样的语句,一切都应该正常工作 grant all on *.* TO root@'192.168.1.61' identified by 'password';

如果我们知道远程MySQL用户名和密码

是否可以运行(在Java代码中)


在远程客户端到远程mysql服务器中?

只要连接到mysql服务器的帐户具有正确的权限来发出这样的语句,一切都应该正常工作

grant all on *.* TO root@'192.168.1.61' identified by 'password';