Thanks, that got me a step further, I changed $host to 127.0.0.1 and $port to 3307 but apparently it was not hitting all the server settings:
Warning: mysqli_real_connect(): (HY000/1045):
Access denied for user ‘openemr’@‘localhost’ (using password: YES)
in /volume1/homes/Craig/www/openemr/vendor/adodb/adodb-php/drivers/adodb-mysqli.inc.php on line 123
Fatal error: Call to undefined function text()
in /volume1/homes/Craig/www/openemr/library/sql.inc on line 155
So, I figured it must be in the database. I edited the openemr user login information in phpMyAdmin. I changed localhost out to 127.0.0.1 and re entered my password. It all came back.