ID:               41422
 Updated by:       [EMAIL PROTECTED]
 Reported By:      tiago dot tuxkiller at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         MySQL related
 Operating System: Linux x64
 PHP Version:      4CVS-2007-05-17 (snap)
 New Comment:

No bug -> bogus.


Previous Comments:
------------------------------------------------------------------------

[2007-05-17 23:40:01] tiago dot tuxkiller at gmail dot com

Ok, I've discovered.

The parameter "MYSQL_SOCKET" can be changed on compilation time of
MySQL, and not PHP:

./configure \
"--prefix=/data/dbms/mysql4/bin-4.1.22" \
"--enable-thread-safe-client" \
"--with-pthread" \
"--with-unix-socket-path=/tmp/mysql4.sock" \
"--with-tcp-port=3309" \

After this, I just rebuild my PHP and all it's working now :)

Thanks

------------------------------------------------------------------------

[2007-05-17 22:16:13] [EMAIL PROTECTED]

>Applications without "sock" configuration, was using /tmp/mysql.sock
>by default, and now /tmp/mysql4.sock

They use mysql.default_socket when it's set.

And I repeat, I cannot reproduce anything like that, so I guess you've
created the problem yourself using those wrong/invalid prefixes.

------------------------------------------------------------------------

[2007-05-17 22:13:59] tiago dot tuxkiller at gmail dot com

The problem is:

MYSQL_SOCKET => /tmp/mysql.sock

That's different from:
mysql.default_socket => /tmp/mysql4.sock => /tmp/mysql4.sock

Applications without "sock" configuration, was using /tmp/mysql.sock by
default, and now /tmp/mysql4.sock.

------------------------------------------------------------------------

[2007-05-17 22:11:34] [EMAIL PROTECTED]

So you got this in your php.ini:
mysql.default_socket = /tmp/mysql4.sock

and your phpinfo() says this:
mysql.default_socket => /tmp/mysql4.sock => /tmp/mysql4.sock

What's your problem?

------------------------------------------------------------------------

[2007-05-17 22:05:22] tiago dot tuxkiller at gmail dot com

# /data/php/php4+mysql4/source-4.4.7/sapi/cli/php -i | grep "php\.ini"
Configuration File (php.ini) Path =>
/data/php/php4+mysql4/bin-4.4.7/php.ini

# grep ^mysql /data/php/php4+mysql4/bin-4.4.7/php.ini
mysql.allow_persistent = On
mysql.max_persistent = -1
mysql.max_links = -1
mysql.default_port = 3309
mysql.default_socket = /tmp/mysql4.sock
mysql.default_host =
mysql.default_user =
mysql.default_password =

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/41422

-- 
Edit this bug report at http://bugs.php.net/?id=41422&edit=1

Reply via email to