MySql Permission issue in FreePBX 13 Installation

I am trying to install FreePBX v13.
Apart from this, My PHP 5.6, Asterisk 13 and MySql 5.6 are working fine.

In “./install -n” i am getting the error
No /etc/freepbx.conf file detected
"Database root permission denied".

In my database i have also create the user : freepbxuser

I have tries ./install with --rootdb and --dbpass options as well but nothing works.

I am using CentOS 6.

Access to the database by the root user is limited to the local host, so if you are installing the database on another server, you might need to make several changes to the system to get this to work. The default root password for MySQL/MariaDB is not very challenging, so host-based security is essential. You may need to modify the permissions on the database so that other hosts and users have the proper admin privileges.