Mihaly Zachar írta: > > hiaba adsz neki -S -sel unix socketet, ha -h 127.0.0.1-et irsz, akkoris > TCP-n fog menni... :) > szoval ha -h localhost van akkor _tuti_ a unix socket, ha -h 127.0.0.1 > akkor _tuti_ TCP > > na, ezert nem kell az "is" :) > > en meg anno megszivtam ezt amikor egy webszervert jail-ba koltoztettem, > az ugyfel php kodjaiban mindenhol "localhost"-ra csatlakoztak, es ha a > fejem tetejere alltam, akkor se tudtam neki elmagyarazni, hogy TCP-n > kapcsolodjon... > > na, akkor olvastam valahol, hogy ezt az "ugyfelek megsegitesere" > talaltak ki, hogy nehogy valaki mar a localhoston TCP-vel akarjon > kommunikalni, mert a "programozok" nagyresze nemfigyel erre oda, es a > TCP-n torteno kommunikacio teljesitmenycsokkenest okoz ugyebar... > > szoval gondolkodnak helyettunk... > > peace :) > > Na szóval: www:~# mysqladmin -p version Enter password: mysqladmin Ver 8.41 Distrib 5.0.32, for pc-linux-gnu on i486 Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL license
Server version 5.0.32-Debian_7etch1-log Protocol version 10 Connection Localhost via UNIX socket UNIX socket /var/run/mysqld/mysqld.sock Uptime: 16 hours 14 min 39 sec Threads: 4 Questions: 18446 Slow queries: 0 Opens: 1463 Flush tables: 1 Open tables: 64 Queries per second avg: 0.315 www:~# mysqladmin -p version -h 127.0.0.1 Enter password: mysqladmin Ver 8.41 Distrib 5.0.32, for pc-linux-gnu on i486 Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL license Server version 5.0.32-Debian_7etch1-log Protocol version 10 Connection 127.0.0.1 via TCP/IP TCP port 3306 Uptime: 16 hours 15 min 5 sec Threads: 4 Questions: 18459 Slow queries: 0 Opens: 1463 Flush tables: 1 Open tables: 64 Queries per second avg: 0.316 Tehát való igaz, hogy a -h 127.0.0.1 hatására TCP/IP kapcsolat jön létre, ámde a kacsolódás ugyancsak sikertelen: # mysqldump --ssl -u backup -p****** -h localhost -B mysql --create-option --add-drop-table -c -F -e -h 127.0.0.1 mysqldump: Got error: 2026: SSL connection error when trying to connect Bugriport: http://bugs.mysql.com/bug.php?id=27669 Theát még eddig megoldatlan (5.0.32), újra forgatásra sajnos nincs időm. Mindazonáltal az egész túlhaladott, mivel távolról minden további nélkül működik a mentés _________________________________________________ linux lista - [email protected] http://mlf2.linux.rulez.org/mailman/listinfo/linux
