设置密码update user set password=password('你的密码') where user='你的用户'添加用户grant all on dbname.* to '用户'@'localhost' identified by '密码' #会自动加密.phpmyadmin没用过.
哦 ,谢谢