Invalid Database Permissions Issue while installing the asterisk

Hi Team,

I am facing issue while installing the asterisk on ubuntu , below are the error I am getting

Could you please anyone help me to fix this issue thanks in advance !!!

Error::::
Invalid Database Permissions. The error was: SQLSTATE[HY000] [1045] Access denied for user ‘root’@‘localhost’ (using password: YES)

sabari@sabari-VirtualBox:/usr/src/freepbx$ sudo ./install -n --dbuser root --dbpass type_root_password_here
Assuming you are Database Root
Checking if SELinux is enabled…Its not (good)!
Reading /etc/asterisk/asterisk.conf…Done
Checking if Asterisk is running and we can talk to it as the ‘asterisk’ user…Yes. Determined Asterisk version to be: 17.8.1
Checking if NodeJS is installed and we can get a version from it…Yes. Determined NodeJS version to be: 10.23.0
Preliminary checks done. Starting FreePBX Installation
Checking if this is a new install…Yes (No /etc/freepbx.conf file detected)
Database Root installation checking credentials and permissions…Error!
Invalid Database Permissions. The error was: SQLSTATE[HY000] [1045] Access denied for user ‘root’@‘localhost’ (using password: YES)

This appears to be a FreePBX issue, for which you probably want https://community.freepbx,org/

However YES is a strange paseword.

Okay david Thanks for quick responses

access denied for user ‘root’@‘localhost’ (using password: YES) This is a generic error when credentials are wrong, dont think the password is really YES

Yeah , just I was checked , credentials Mismatch, now it’s working thanks for quick support