We have checked the issue, and it appears that the port to that MySQL database service is hard-coded in the scripts and is not configurable.
We have changed the following line in your /www/www/photopost/pp-inc.php file:
$link = mysql_connect("$host:3306", "$mysql_user", "$mysql_password") or die ('I cannot connect to the PhotoPost database. [$php_errormsg]');
$link = mysql_connect("$host", "$mysql_user", "$mysql_password") or die ('I cannot connect to the PhotoPost database. [$php_errormsg]');
and the error is not displayed any more.
However, there is another issue with PhotoPost and MySQL 5, now the script produces the following error:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/nycaphoto/www/www/photopost/forums/vb3.php on line 32
We have found the following thread which provides more information on the issue:
According to Chuck S (Photopost Developer):
"MySQL 5.0 and higher have a strict mode that is currently incompatible with a number of queries in PhotoPost products. The Windows Installer from MySQL.com enables this strict mode by default.
In Layman's terms MySQL in strict mode can not allow query inserts with null values to be entered."
Unfortunately, the suggested workarounds do not work on our servers. You can start using MySQL4 and change the line above back or you can contact the developers of PhotoPost for more information.