remote connectin crashes MySQL

remote connectin crashes MySQL

am 15.01.2003 00:58:23 von Jon Wagoner

>Description:
When I try to connect to MySQL from a remote computer, MySQL =
crashes on the server. It doesn't matter whether I give it the correct =
authentication information or not. I can connect fine from the local =
server, both through the socket and port, using the mysql command line =
utility.
>How-To-Repeat:
I have tried connecting both through PHP, and from MySQL command =
line on the remote server. For PHP I passed mysql_connect the host =
name, username, and password. On the command-line I used:
/usr/local/mysql/bin/mysql --host=3D --user=3D =
--password=3D
Both servers have identical software on them.

>Submitter-Id:
>Originator: root
>Organization:

>MySQL support: [none | licence | email support | extended email support =
]
>Synopsis:
>Severity: <[ non-critical | serious | critical ] (one line)>
>Priority: <[ low | medium | high ] (one line)>
>Category: mysql
>Class: <[ sw-bug | doc-bug | change-request | support ] (one =
line)>
>Release: mysql-4.0.8-gamma-standard (Official MySQL-standard =
binary)

>C compiler: 2.95.3
>C++ compiler: 2.95.3
>Environment:

System: Linux 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686 unknown
Architecture: i686

Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc =
/usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
Compilation info: CC=3D'gcc' CFLAGS=3D'-O2 -mcpu=3Dpentiumpro' =
CXX=3D'gcc' CXXFLAGS=3D'-O2 -mcpu=3Dpentiumpro -felide-constructors' =
LDFLAGS=3D'' ASFLAGS=3D''
LIBC:
lrwxrwxrwx 1 root root 13 Jan 9 21:29 /lib/libc.so.6 =
-> libc-2.2.5.so
-rwxr-xr-x 2 root root 1260480 Oct 10 10:16 =
/lib/libc-2.2.5.so
-rw-r--r-- 1 root root 2312442 Oct 10 09:51 /usr/lib/libc.a
-rw-r--r-- 1 root root 178 Oct 10 09:46 /usr/lib/libc.so
Configure command: ./configure '--prefix=3D/usr/local/mysql' =
'--with-comment=3DOfficial MySQL-standard binary' =
'--with-extra-charsets=3Dcomplex' '--with-server-suffix=3D-standard' =
'--enable-thread-safe-client' '--enable-local-infile' =
'--enable-assembler' '--disable-shared' =
'--with-client-ldflags=3D-all-static' =
'--with-mysqld-ldflags=3D-all-static' '--with-innodb' 'CFLAGS=3D-O2 =
-mcpu=3Dpentiumpro' 'CXXFLAGS=3D-O2 -mcpu=3Dpentiumpro =
-felide-constructors' 'CXX=3Dgcc'

------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

To request this thread, e-mail bugs-thread13482@lists.mysql.com
To unsubscribe, e-mail

Re: remote connectin crashes MySQL

am 15.01.2003 04:33:46 von cbrown

On Tue, 14 Jan 2003, Jon Wagoner wrote:

>
>
> >Description:
> When I try to connect to MySQL from a remote computer, MySQL
> crashes on the server. It doesn't matter whether I give it the
> correct authentication information or not. I can connect fine from
> the local server, both through the socket and port, using the mysql
> command line utility.


You need to update to 4.0.9. 4.0.8 will segfault every time it
receives a network connection from an IP that does not reverse
resolve.

--
I route, therefore you are.


------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

To request this thread, e-mail bugs-thread13484@lists.mysql.com
To unsubscribe, e-mail