|
|
|
#13 |
|
Feeling at Home
|
You need to determine the username and password that your app is using to access the database, you'll like find that in a config file in your PHP source. Once you know the username/password that needs to be granted access run the following:
Code:
CREATE USER '<apps_db_usernname>'@'localhost' IDENTIFIED BY 'some-password'; GRANT INSERT, SELECT, DELETE ON <app_db_name>.* TO '<apps_db_usernname>'@'localhost'; FLUSH PRIVILEGES; Code:
GRANT ALL PRIVILEGES ON <app_db_name>.* TO '<apps_db_usernname>'@'localhost'; |
|
|
|