Updating MySQL

Marion Dumas mariouka at gmail.com
Wed Feb 25 10:47:41 PST 2009

I am new to macports, so sorry for my perhaps naive question. I need
to build a database in mySQL so I'm checking I have the newest
version. Mysql is pre-installed on mac os x (new versions), but it was
also re-installed by macports automatically when I installed the port
dia a few weeks ago. So I ran selfupdate to get any mysql port update.
Now, when I search for mysql5, I find it under
But when I launch mySQL from the terminal, it starts off mysql4 (which
I can find under both /opt/local/etc/mysql4 AND
So my question is the following:
1) Is it a problem that I have mysql installed in different places due
to the fact that it was pre-installed and then installed again
elsewhere by macports when installing another application?
2) How do I actually get the newer version to run instead of the older one?
Thank you for any help you could provide.

More information about the macports-users mailing list