mysql 一些命令
时间:2007-08-08 来源:maojj
grant all privileges on $newDatabase.* to '$newUser'@'localhost' identified by '$newPass'
在shell里可以
echo "grant all privileges on $newDatabase.* to '$newUser'@'%' identified by '$newPass'"|mysql -u$adminUser 2>error.log
相关阅读 更多 +