MySQL: Access denied for user to database
问题 I'm trying to create a database on my remote sql server - clearDB - on Heroku. I connected with this: mysql --host='<<cleardbhostname>>' --user='<<lsdj234>> --password My username and password are obtained from the result from running heroku config. When I tried to run CREATE DATABASE mydb; I got this: ERROR 1044 (42000): Access denied for user '<<lsdj234>>'@'%' to database 'mydb' When I ran SHOW GRANTS for current_user I got: GRANT USAGE ON *.* TO '<<lsdj234>>'@'%' IDENTIFIED BY PASSWORD '