查看库结构可以不进入mysql就能执行:
mysqlshow -uezmlm -pezmlm ezmlm
增加用户的命令能不能不进入mysql执行?
grant select,insert,update,delete on mydb.* to test2@localhost identified by "abc";
还有删除数据库的命令drop。
...全文
1825打赏收藏
mysql可不可以这样增加用户?
查看库结构可以不进入mysql就能执行: mysqlshow -uezmlm -pezmlm ezmlm 增加用户的命令能不能不进入mysql执行? grant select,insert,update,delete on mydb.* to test2@localhost identified by "abc"; 还有删除数据库的命令drop。