|
|
“RE: How to Install DBD::mysql on Mac OS X 10.3 (Panther)” |
|||
| From: | Seth Dillingham | In Response To: | 4053 RE: How to Install DBD::mysql on Mac OS X 10.3 (Panther) |
| Date Posted: | Friday, July 16, 2004 6:29:16 PM | Replies: | 2 |
| Enclosures: | None. | ||
This entire answer (below) is bogus, sorry about that. I just realized that mysql is in the PATH on my machine because I put it there in my .bash_profile file. Don't have time to figure this out right now, though, sorry.
Seth
On 7/16/04, The Cunctator said:
>Perhaps I did something bad on the install of mysql, but if the >perl installer is having trouble finding mysql_config, you need to >edit the line in Makefile.PL > > open(PIPE, "mysql_config --$param |"); > >to say > > open(PIPE, "/usr/local/mysql/bin/mysql_config --$param |"); > >If you don't do this make may have trouble finding mysql.h....
OMM, the path to mysql is in the PATH (the PATH environment variable), so it has no problem finding it.
This is handled by the startup script at /Library/StartupItems/MySQL/MySQL, which actually runs /usr/local/mysql/support-files/mysql.server when the machine starts up. The section that sets this up is right near the top of that script, and looks like this:
if test -z "$basedir" then basedir=/usr/local/mysql bindir=./bin else bindir="$basedir/bin" fi PATH=/sbin:/usr/sbin:/bin:/usr/bin:$basedir/bin export PATH
This is the standard setup. I don't know if you did something "bad," but it's certainly possible that you did something different, like told it not to run mysql at boot time, or wrote your own startup script. (If the latter, then you should probably modify it to put /usr/local/mysql into PATH.)
I hope that helped, at least a little!
Seth
There are no trackbacks.
|
TruerWords
is Seth Dillingham's personal web site. More than the sum of my parts. |