Make initialize-database error 255

Hello all,

I am running RT 5.0.1 on Ubuntu 20.04.1 w/mariadb

I’ve been following an install guide and there have been a few hiccups along the way using this setup, but the one I am stuck on comes while running ‘make initialize-database’ after editing my RT_SiteConfig.pm

/usr/bin/perl -I/opt/rt5/local/lib -I/opt/rt5/lib sbin/rt-setup-database --actio
In order to create or update your RT database, this script needs to connect to yroot
Please specify that user’s database password below. If the user has no database
password, just press return.

Password: $$$$$$$$$$$$$$$
Working with:
Type: mysql
Host:
Port:
Name: rt5
User: rt_user
DBA: root
Failed to connect to dbi:mysql: as user ‘root’: Can’t connect to local MySQL serysqld.sock’ (2)make: *** [Makefile:390: initialize-database] Error 255

The SiteCongif was copied from a currently operational instance of RT and I assumed would also work with this install, with the proper changes made in the SiteConfig of course.

Can anyone be of assistance?

Thank you,

Can you confirm that Mariadb is running, you could try and connect as the RT user