discuss.answer
It uses the values from your config file, being :-
mysql_connect($database_server, $database_user, $database_password);
so your database server string must be localhost;port=3351, according to mysql this should be 'hostname:port' not 'hostname;port=xxxx' as you seem to have.
It looks as though this is coming from the config file, for now hardwire the $database_server to 'localhost:3351' and see if it works.
Note, this may break othee parts of Janitor also.
Use MODx, or the cat gets it!
@shamblett, that did the trick!
For others with a similar problem, I added this to the modx.php file on line 19:
$database_server = "localhost:3351";