mysql55 no longer ships with startup script for MacPorts
Bjarne D Mathiesen
macintosh at mathiesen.info
Wed May 30 09:08:34 PDT 2012
Brad Allison wrote:
> port install mysql55 +server installs just the server (but without the
> startup scripts).
> port install mysql55-server installs just the server.
>
> So I don't see why there are both?
>
> Neither one installed the client for me and there's no mysql55-client
> package. :(
/port install mysql55/ in fact install _both_ the client and the server.
/port install mysql55-server/ installs what's needed to start the server
eg the launchd plist file
after installing mysql55 you'll have to select a version to symlink into
${prefix}/bin as below :
bash-4.2$ port installed name:^mysql
The following ports are currently installed:
mysql55 @5.5.24_3 (active)
mysql55-server @5.5.24_1 (active)
mysql_select @0.1.1_1 (active)
bash-4.2$ port select
Error: port select [--list|--set|--show] <group> [<version>]
bash-4.2$ port select --list mysql
Available versions for mysql:
mysql55
none (active)
pro17:dports root# port select --set mysql mysql55
Selecting 'mysql55' for 'mysql' succeeded. 'mysql55' is now active.
pro17:dports root# which mysql
/opt/local/bin/mysql
With the new structure in the portfiles, it's possible to install and
run several different mysql versions at the same time : mysql51,
mysql55, mariadb, percona. At present, I do think that we've only
finalised mysql51 & mysql55 ... at least that's the ones I've tested and
gotten to work (search for me in the dev-list ;-) )
:-)
--
Bjarne D Mathiesen
København N ; Danmark ; Europa
----------------------------------------------------------------------
denne besked er skrevet i et totalt M$-frit miljø
MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3
More information about the macports-users
mailing list