Successfully installed SugarCRM CE 5.2.0a on Ubuntu Linux 8.10 64-bit Workstation to use the Ubuntu v8.10 supplied MySQL and Apache2. Everything installed and worked great for the last week (once i set the permissions correctly during install).
Today, Network Manager, which manages the network connections on Ubuntu Workstation, spat the dummy and there was no connectivity.
The Firefox browser delivered page not found errors for everything except for the SugarCRM page (which runs on the same box as the browser). Sugar returned this message instead:
Warning: mysqli_connect() [function.mysqli-connect]: (HY000/2003): Can't connect to MySQL server on 'server' (111) in /var/www/Sugar/include/database/MysqliManager.php on line 294
Warning: mysqli_close() expects parameter 1 to be mysqli, boolean given in /var/www/Sugar/include/database/DBManager.php on line 1621
Could not connect to server server as root. port . Can't connect to MySQL server on 'server' (111)
I fixed the connectivity, down to the same ip address, netmask etc, and we have connectivity, everything is working again, except for SugarCRM, which still returns the same message.
The server has been rebooted and is clean.
I know little about MySQL and PHP.
Can anyone suggest a place i can start looking for the problem?