Mysql default security: Access denied for user 'freepbxuser'@'localhost'

I got this error:
SQLSTATE[HY000] [1045] Access denied for user ‘freepbxuser’@‘localhost’ (using password: YES)::SQLSTATE[HY000] [1045] Access denied for user ‘freepbxuser’@‘localhost’ (using password: YES)

How to restore default Mysql security ?


From the database machine, connect as ‘root’ without a password.

yes indeed.
I still have the right password but apparently the “Grant” were not ok anymore.
Temporary I just allowed everything for freepbxuser to all dbs.

is that the right access security config ?

You should be a little more selective with the Asterisk user, but since you are working strictly from localhost, it’s probably fine.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.