grant all privileges on database.* to testuser@localhost identified by "123456"; datebase:数据库testuser:用户名 123456 :密码--该片段来自于http://www.codesnippet.cn/detail/2906201614771.html
来源: http://www.codesnippet.cn/detail/2906201614771.html