Getting WordPress to work with non-standard mysql install in Mac OS 10.5
-
Hi guys. I’m having a hell of a time getting WordPress operational on my local webserver, which is the default Apache 2 install that comes on Mac OS 10.5.
Apache & PHP work, but I am having a problem configuring it to use Mysql. Mysql actually works right now. Using Webmin, I have created a user for wordpress and a database for wordpress and assigned the appropriate permissions so that
wpuser
can do anything at all towordpress
the database.I think the problem is that the installation of mysql is ‘nonstandard’ in the sense that it was installed using MacPorts, and is therefore present at /opt/local/bin/mysql5. I doubt that /opt/local/bin is in the $PATH of wpuser and I also doubt that WP will know to use
mysql5
instead ofmysql
. Unfortunately I don’t see a way to configure this – so here I am.Here are a few things that I think *are* correctly configured:
1. DB _NAME, _USER, and _PASSWORD : These were configured with a gui and therefore hard to mess up.
2. DB_HOST: webmin has no problems connecting to ‘localhost’ or ‘127.0.0.1’ on the default port and socket, so I doubt that this is the issue.
3. I’ve got the main mysql5 executable symlinked to /bin/mysql and /usr/bin/mysql and still no luck.AFAICT, that only leaves the weird path as the culprit, but I’m probably missing something huge.
Thanks in advance for any suggestions.
- The topic ‘Getting WordPress to work with non-standard mysql install in Mac OS 10.5’ is closed to new replies.