The "Allow network connections" option is disabled by default in MySQL starting with Mac OS X Server 10.4.3.
Symptom
WebObjects application instances are unable to connect to MySQL. The JDBC connection will fail.
Solution
For Mac OS X Server with Server Tools installed:
- Go to /Applications/Server.
- Launch the MySQL Manager application, and stop the MySQL service if it is running.
- Enable "Allow network connections" by selecting the checkbox
- Restart the MySQL service.
Note: You need to have administrator privileges to modify the “Allow network connections�? settings.
For Mac OS X Server without Server Tools (headless installation):
- Edit the file /etc/mysqlManager.plist so that it has "yes" instead of "no" for the key "allowNetwork":
<key>allowNetwork</key>
<string>yes</string>
- Stop and start the MySQL Service:
- Execute this command: sudo SystemStarter stop MySQL
- Wait a few seconds and confirm that the service has shut down.
- Execute: sudo SystemStarter start MySQL