Unable to install via WebUI: Database error


I am trying to install librenms on CentOS 7 via this guide
on step 2 of 6 while copying the db I am getting this error:
Starting Update…
SQLSTATE[HY000] [2002] No such file or directory (SQL: select * from information_schema.tables where table_schema = librenms and table_name = migrations)


Note: I have changed the default directory of MySQL to /home/mysql/msql This resulted in a change of socket also which I have mentioned in Step 1 while giving credentials of my DB

Is there anything I am overlooking which may be causing this issue
I am able to login to login to SQL using CLI.

any help on this matter ?

If the socket path changed, perhaps try this https://docs.librenms.org/Support/Configuration/

Replace with new path in config.php

$config['db_host']   = NULL;
$config['db_port']   = NULL;
$config['db_socket'] = '/run/mysqld/mysqld.sock';