I cannot figure out how to point the installer to a remote MySQL server. At Step 3, Database Configuration, I enter the hostname of the remote MySQL server in fully-qualified format. I have installed the MySQL client on the Sugar server, and can successfully connect over TCP/IP with this command: mysqladmin version -h <servernam> --port=3306 version -u root
I build PHP with support for MySQL (./configure --prefix=/usr/local/php5 --with-apxs2=/d01/httpd/bin/apxs --with-curl=/usr/ --with-mysql=/usr/)
When I get to Step 6 of the installer, I get this message:
Creating the config file...done
Installation is proceeding... the output will appear below once it is complete. Please wait.
Creating the database sugarcrm on usatl01la207.amer.lendlease.com...done
Creating the db username and password...Creating the db username and password for localhost...done
Warning: mysql_close(): supplied argument is not a valid MySQL-Link resource in /d01/httpd/htdocs/sugarcrm401/include/database/PearDatabase.php on line 632
Unable to select database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
The installer successfully creates the database on the remote MySQL server (I checked), but it then bombs out trying to connect through a local MySQL socket which doesn't exist (because there is no MySQL server installed locally).
What is the workaround for this? How can I get the installer to point at the remote MySQL server?
Jeff


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks