Did location of mysql.sock change in mysql5.0.37?

Bakki Kudva bakki.kudva at gmail.com
Sat May 5 20:08:28 PDT 2007


Thanks Jyrki for the suggestion. I'll try and see if it works.

bakki

On 5/3/07, Jyrki Wahlstedt <jwa at macports.org> wrote:
>
>
> Perhaps the rail app can be told to make use of mysql_config (/opt/
> local/bin/mysql_config5) that knows the socket location (as follows):
> jwa at messiaen:tmp> mysql_config5
> Usage: /opt/local/bin/mysql_config5 [OPTIONS]
> Options:
>          --cflags         [-I/opt/local/include/mysql5/mysql]
>          --include        [-I/opt/local/include/mysql5/mysql]
>          --libs           [-L/opt/local/lib/mysql5/mysql -
> lmysqlclient -L/opt/local/lib -lz -lm  -L/opt/local/lib -lssl -lcrypto]
>          --libs_r         [-L/opt/local/lib/mysql5/mysql -
> lmysqlclient_r -L/opt/local/lib -lz -lm   -L/opt/local/lib -lssl -
> lcrypto]
>          --socket         [/opt/local/var/run/mysql5/mysqld.sock]
>          --port           [3306]
>          --version        [5.0.37]
>          --libmysqld-libs [-L/opt/local/lib/mysql5/mysql -lmysqld -L/
> opt/local/lib -lz -lm     -L/opt/local/lib -lssl -lcrypto]
> jwa at messiaen:tmp> mysql_config5 --socket
> /opt/local/var/run/mysql5/mysqld.sock
> jwa at messiaen:tmp>
>
> !
> ! Jyrki Wahlstedt
> !       skype:jyrkiwahlstedt
> !       http://www.wahlstedt.fi/jyrki/
> !
> ! Our life is no dream; but it ought to become one and perhaps will.
> ! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0  A780
> 6366 EFD9 139C C386
>
>
>
>



More information about the macports-users mailing list