Quantcast
Channel: MySQL
Viewing all articles
Browse latest Browse all 50

mysql通过文档读取并执行命令之快速为mysql添加多用户和数据库技巧

$
0
0
代码如下: # 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 蓝色斜体部分为对

Viewing all articles
Browse latest Browse all 50

Trending Articles