FAQ
I fill a bug : https://bugs.php.net/bug.php?id=60748
(trivial patch proposed, shouldn't break anything)

Just a notice, there is no mysqlnd component in bug tracker...
(or I was unable to find it...)

Remi.

Search Discussions

  • Johannes Schlüter at Jan 14, 2012 at 11:13 pm

    On Fri, 2012-01-13 at 18:28 +0100, Remi Collet wrote:
    I fill a bug : https://bugs.php.net/bug.php?id=60748
    (trivial patch proposed, shouldn't break anything)

    Just a notice, there is no mysqlnd component in bug tracker...
    (or I was unable to find it...)
    In what case do you notice that? - ext/mysql, mysqli and PDO_mysql
    should override that. Only case I can see would be some mysqlnd plugin
    overriding the host.

    johannes
    Remi.
  • Remi Collet at Jan 16, 2012 at 10:20 am

    Le 15/01/2012 00:12, Johannes Schlüter a écrit :

    In what case do you notice that? - ext/mysql, mysqli and PDO_mysql
    should override that. Only case I can see would be some mysqlnd plugin
    overriding the host.
    You're right, this patch is an old one, before bug #60155 was fixed (in
    r318696), and it works without it.

    Sorry for the noise.

    Remi.


    P.S. well, don't know if having such a hardcoded path is a good idea...
  • Ulf Wendel at Jan 16, 2012 at 5:39 pm

    Am 16.01.2012 11:19, schrieb Remi Collet:
    P.S. well, don't know if having such a hardcoded path is a good idea...
    mysqlnd is a libmysql drop-in replacement. Guess what libmysql does... -
    do "strings libmysqlclient.so | grep mysql.sock" on a standard source build.

    Ulf
  • Remi Collet at Jan 16, 2012 at 6:05 pm

    Le 16/01/2012 18:39, Ulf Wendel a écrit :
    Am 16.01.2012 11:19, schrieb Remi Collet:
    P.S. well, don't know if having such a hardcoded path is a good idea...
    mysqlnd is a libmysql drop-in replacement. Guess what libmysql does... -
    do "strings libmysqlclient.so | grep mysql.sock" on a standard source
    build.
    $ strings /usr/lib64/mysql/libmysqlclient.so.18 | grep mysql.sock
    /var/lib/mysql/mysql.sock

    Which is taken from configure option
    --with-unix-socket-path=/var/lib/mysql/mysql.sock

    Default (cmake config) is /tmp/mysql.sock, but even upstream package
    don't use it and set it to %{mysqldatadir}/mysql.sock

    I'm ok with the hardcoded default value of /tmp/mysql.sock.
    I just don't understand why mysqlnd doesn't honour config option (even
    if this value will probably be never used)

    Regards,
    Remi.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-internals @
categoriesphp
postedJan 13, '12 at 5:29p
activeJan 16, '12 at 6:05p
posts5
users3
websitephp.net

People

Translate

site design / logo © 2022 Grokbase