[Phpmyadmin-devel] Re: 'socket' patch

Hi Olivier & all!
It works if it's empty or contains "/var/lib/mysql/mysql.sock" (socket on my server). But just tried a little stupid thing: replaced the path by something not existing, and it still works, so I don't know... :)
Amazing !
Will have a better look on it later if you want
It would be nice :) BTW the db_stats.php3 script is a good idea. Have a good night, Loïc ______________________________________________________________________________ ifrance.com, l'email gratuit le plus complet de l'Internet ! vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP... http://www.ifrance.com/_reloc/email.emailif

On Tue, Aug 21, 2001 at 01:25:49AM +0200, Loïc wrote:
It works if it's empty or contains "/var/lib/mysql/mysql.sock" (socket on my server). But just tried a little stupid thing: replaced the path by something not existing, and it still works, so I don't know... :)
Amazing !
I also think so :) So, I think it should be fixed now (not tested yet with adv auth, but ok with std auth). Problems were: PMA_INT_VERSION < 30010 instead of PMA_INT_VERSION >= 30010 :), and fact that $connect_func( is used twice in lib.inc.php3. But please also test on your system, thx! Olivier -- _________________________________________________________________ Olivier Mueller - om@8304.ch - PGPkeyID: 0E84D2EA - Switzerland qmail projects: http://omail.omnis.ch - http://webmail.omnis.ch

On Tue, 21 Aug 2001, Olivier M. wrote:
On Tue, Aug 21, 2001 at 01:25:49AM +0200, Lo�c wrote:
It works if it's empty or contains "/var/lib/mysql/mysql.sock" (socket on my server). But just tried a little stupid thing: replaced the path by something not existing, and it still works, so I don't know... :)
Amazing !
I also think so :)
So, I think it should be fixed now (not tested yet with adv auth, but ok with std auth). Problems were: PMA_INT_VERSION < 30010 instead of PMA_INT_VERSION >= 30010 :), and fact that $connect_func( is used twice in lib.inc.php3. But please also test on your system, thx! Bug report for Adv auth & std auth
Warning: Access denied for user: 'nobody@localhost' (Using password: NO) in /home/robbat2/cvs/phpMyAdmin/defines.inc.php3 on line 52 Warning: MySQL Connection Failed: Access denied for user: 'nobody@localhost' (Using password: NO) in /home/robbat2/cvs/phpMyAdmin/defines.inc.php3 on line 52 Warning: MySQL: A link to the server could not be established in /home/robbat2/cvs/phpMyAdmin/defines.inc.php3 on line 52 but this might just be me as it's nearly 3am in the morning and i've just finished working on a webpage contract that i'm doing to pay for my university textbooks. -- Robin Hugh Johnson "Robbat2" QTOD: "I used to be an idealist, but I got mugged by reality." E-Mail : robbat2@orbis-terrarum.net ICQ# : 30269588 or 41961639 Home Page : http://www.orbis-terrarum.net Time Zone : Pacific Daylight (GMT - 8) -----BEGIN GEEK CODE----- geekcode.com ebb.org/ungeek GCS/M/IT d-(+) s+:- a--- C++++ U++++ L++++ P--(+) W++ K++ PS+ N++ w--- O E---- M-(+) V-- Y++ PE++ PGP++ t-- 5 X+ R tv- b+++ D++ G++ e(*) h! r-- !y+ ------END GEEK CODE------ -----PGP INFO-{--- Key ID:0x7E20DFA1 FingerPrint: 5447C73A 30FB144C 89521B69 2D6A615E 7E20DFA1 ---}-PGP INFO-----

On Tue, Aug 21, 2001 at 02:42:47AM -0700, Robin Johnson wrote:
Warning: MySQL: A link to the server could not be established in /home/robbat2/cvs/phpMyAdmin/defines.inc.php3 on line 52
but this might just be me as it's nearly 3am in the morning and i've just finished working on a webpage contract that i'm doing to pay for my university textbooks.
:-) no you're right, there were something wrong. just repatched it again to make it work a bit better now, but the socket thing is not yet solved. Olivier -- _________________________________________________________________ Olivier Mueller - om@8304.ch - PGPkeyID: 0E84D2EA - Switzerland qmail projects: http://omail.omnis.ch - http://webmail.omnis.ch
participants (3)
-
Loïc
-
Olivier M.
-
Robin Johnson