According to the Manual installation:
RT includes a tool to help you set up its database. By default, it connects to the database as an administrator to create the database and user that you configured in the previous step.
When I tried to run the provided script in the manual installation:
sudo sbin/rt-setup-database --action=init
I got the issue over here: DBD::mysql::st execute failed: Access denied for user 'rt_admin'@'localhost' to database 'rt5'
I am not sure why the step failed at: inserting database ACLs. Also, when I try to redo this step it says the DB already exists. But I can access DB through MySQL shell. Also, the RT_SiteConfig.pm is readable and writable.