042013
 
create database 'pnt';//创建数据库
create user 'pnt'@'localhost' identified by 'pnt';//创建用户
grant all privileges on pntdb.* to 'pnt'@'localhost' with grant option;//给用户赋权限
show grants for 'pnt'@'localhost';//查看权限
update user set password = password('pnt') where user = 'pnt' and host = 'localhost';//重新设置密码