未复现,测试正常连接
在服务器mysql命令行中查询下你的用户的权限
mysql> use mysql;
Database changed
mysql> show grants for www_dapao_cn\G;
*************************** 1. row ***************************
Grants for www_dapao_cn@%: GRANT USAGE ON *.* TO 'www_dapao_cn'@'%'
*************************** 2. row ***************************
Grants for www_dapao_cn@%: GRANT ALL PRIVILEGES ON `www_dapao_cn`.* TO 'www_dapao_cn'@'%'
2 rows in set (0.00 sec)
把show grants for www_dapao_cn;
www_dapao_cn换成你的用户名
语法:
show grants for 数据库用户名;
|