一般是权限问题
解决方法,用root账户进入mysql命令行,输入
GRANT select,insert,update,delete,create,drop ON samp_db.* TO yourdatabase@127.0.0.1 IDENTIFIED BY 'yourpassword';
一般是权限问题
解决方法,用root账户进入mysql命令行,输入
GRANT select,insert,update,delete,create,drop ON samp_db.* TO yourdatabase@127.0.0.1 IDENTIFIED BY 'yourpassword';