- 论坛徽章:
- 0
|
10可用积分
----------------------------------------------------------------------------
$mysql -u root -p
mysql>grant all on school.* to tiger@'%' identified by "tiger"
mysql >Query OK, Query OK, 1 row affected;
mysql>flush PRIVILEGES;
mysql >Query OK, Query OK, 1 row affected;;
mysql >exit;
$mysql -u tiger -p
Enter password:
ERROR 1045 (28000): Access denied for user 'tiger'@'localhost' (using password: YES)
------------------------------------------------------------------------------
情况就是如下啦,不知道大体是什么原因,请各位高手指教。 |
最佳答案
查看完整内容
没用?grant all on school.* to tiger@'%' identified by "tiger";然后 show grants; 确认一下。
|