permissions - Connecting play framework to mysql -


i have 2 databases in mysql:

mysql> show databases; +--------------------+ | database           | +--------------------+ | information_schema | | mysql              | | performance_schema | | app                | | app_dev            | +--------------------+ 

i have 2 play framework servers running, 1 using app , 1 using app_dev. server connecting app local machine running mysql. server connecting app_dev remote. think i've setup permissions correctly:

mysql> show grants 'app_dev'; +------------------------------------------------------------------+ | grants app_dev@%                                             | +------------------------------------------------------------------+ | grant usage on *.* 'app_dev'@'%' identified password 'pwd' | | grant privileges on `app_dev`.* 'app_dev'@'%'             | +------------------------------------------------------------------+  mysql> show grants 'app'@'localhost'; +----------------------------------------------------------------------+ | grants app@localhost                                             | +----------------------------------------------------------------------+ | grant usage on *.* 'app'@'localhost' identified password 'pwd' | | grant privileges on `app`.* 'app'@'localhost'                 | +----------------------------------------------------------------------+ 

yet reason, when try start play on development machine, response: mysqlsyntaxerrorexception: select command denied user 'app_dev'@'2.ipn.ipn.ipn' table 'play_evolutions'.

is possible i've set permissions incorrectly? thing that's different here need % sign remote connection!


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -