Forums

Sharing MySQL DB among multiple hosts

I am trying to use the same (MySQL) database among multiple hosts with my Django app(s). I know that I have to grant db permission but

GRANT ALL ON . to user@'%' IDENTIFIED BY 'password';

the above command is not working. Any kind of help will be highly appreciated.

What do you mean by "mulitple hosts"? You can't grant any privileges for users on PythonAnyhwere -- but you have only one user (per account), so you don't need to do that. If you want to use the same db across multiple web apps, you need to configure those web apps to use it.