GRANT ALL ON mydatabase.* TO myuser@'%' IDENTIFIED BY 'mypassword'; GRANT ALL ON *.* TO myuser@'%' IDENTIFIED BY 'mypassword';