[MacPorts] #21581: MySql socket location change
MacPorts
noreply at macports.org
Wed Sep 23 14:23:35 PDT 2009
#21581: MySql socket location change
------------------------------+---------------------------------------------
Reporter: scott@… | Owner: macports-tickets@…
Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: mysql5 | Port: mysql5
------------------------------+---------------------------------------------
Can we start some discussion on this, I see this as being painful for
MacPorts users. Especially on one of the users that I believe MacPorts is
widely used, which is getting MAMP running.
At some point in the past I could get php 5, MySql5, and Apache 2 running
in a few commands, with little trouble.
I can not find, or at least, I do not understand how to use trac well
enough to see when the socket location of MySql was changed, though I am
looking to know why.
Php looks in a known location, /tmp I believe. This I also believe is a
hard coded in the source, or is a compile time option that can be changed.
If it can be changed at compile time, then why not set the socket to MySql
to the right location when php is built?
My ideal solution would be to put the MySql socket in the location that
php looks for it by default.
As it is now, if I were to
port install php5
port install mysql5
port install apache2
There is a good deal of work to be done before I am able to use those
tools. On a local dev machine, I never even bothered to set up php.ini,
and just relied on the defaults of php without any explicit file.
Now, there are no less than three socket locations I need to change.
What are your thoguhts on this, and what is the history?
My vote, change MySql to put the socket where php defaults to looking for
it. We already had a user installing phpMyAdmin, the simplest of many
softwares to install, ending up dropping localhost in favor of a tcp
connection just to get this to work.
--
Ticket URL: <http://trac.macports.org/ticket/21581>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list