mysql> create database data;                 #新建数据库data

mysql>  grant all on *.* to 'abc'@'localhost' identified by '123456';  #建立用户和密码