mysql connect error

error:Access denied for user 'username'@'server'   and error:SELECT command denied to user 'username'@'server' for table

Access denied error ; solve :

grant all privileges on database_name to user@host identified by '';
   flush privileges;
 

Select error: 

  GRANT SELECT, INSERT, UPDATE, DELETE on anselme.* TO 'root'@'%' IDENTIFIED BY '';

 

this is just for  note !!

相关推荐