Rt 5.0.1 will not connect to mariadb

trying to run sbin/rt-server.fcgi I get the following error

[warning]: DBI connect(‘dbname=rt5;host=;port=3306’,‘rt_user’,…) failed: Access denied for user ‘rt_user’@‘localhost’ (using password: YES) at /usr/local/share/perl/5.30.0/DBIx/SearchBuilder/Handle.pm line 117. (/usr/share/perl/5.30/Carp.pm:293)
running mysql -h localhost -u rt_user -p rt5 works great with the password copied out of the etc/RT_SiteConfig.pm file.

Any suggestions?

In etc/RT_SiteConfig.pm I changed the line

Set($DatabasePassword, q{‘secretdbpw’});


Set($DatabasePassword, ‘secretdbpw’);

And this appears to have fixed the problem.

Yup the quotes in q{‘secretdbpw’} are interpreted as part of the password