Skip to content

Conversation

@udy786
Copy link

@udy786 udy786 commented Feb 11, 2022

GRANT SELECT,INSERT,UPDATE,DELETE,LOCK TABLES on asterisk.* TO cron@'%' IDENTIFIED BY '1234';
GRANT SELECT,INSERT,UPDATE,DELETE,LOCK TABLES on asterisk.* TO custom@'%' IDENTIFIED BY 'custom1234';

Remove % host to allow access database. As it will allow all host to access database so anyone can download/edit/delete database's tables. So for security remove these two line from script.

GRANT SELECT,INSERT,UPDATE,DELETE,LOCK TABLES on asterisk.* TO cron@'%' IDENTIFIED BY '1234';
GRANT SELECT,INSERT,UPDATE,DELETE,LOCK TABLES on asterisk.* TO custom@'%' IDENTIFIED BY 'custom1234';


Remove % host to allow access database. As it will allow all host to access database so anyone can download/edit/delete database's tables. So for security remove these two line from script.
@udy786 udy786 closed this Feb 11, 2022
@udy786 udy786 reopened this Feb 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant