代码如下: # vi mysqlusers.txt create database dataname; grant all privileges on dataname.* to username@localhost identified by ‘password‘; flush privileges; # /usr/local/mysql/bin/mysql -u root -p password mysqlusers.txt 蓝色斜体部分为对
↧