>Description:
Unable to use dotted-quad IP address in bind-address in 4.0.2.

>How-To-Repeat:
$ cat /etc/my.cnf
[mysqld]                                                                        
bind-address    = 192.168.1.2                                                   

$ /etc/rc.d/init.d/mysql start
Unknown suffix '.' used for variable 'bind-address' (value '192.168.1.2')
/usr/sbin/mysqld: Error while setting value '192.168.1.2' to 'bind-address'

>Fix:
Appears to be problem with opt parsing; expects ulong; Work-around is to ie:

mysql> select inet_aton('192.168.1.2');  
+--------------------------+
| inet_aton('192.168.1.2') |
+--------------------------+
|               3232235778 |
+--------------------------+

Use: bind-address=3232235778


>Submitter-Id:  <submitter ID>
>Originator:    [EMAIL PROTECTED]
>Organization:  Robinson-DeFehr Consulting, LLC
>MySQL support: none
>Synopsis:      Unable to use dotted-quad IP address in bind-address (4.0.2)
>Severity:      non-critical
>Priority:      low
>Category:      mysql
>Class:         sw-bug
>Release:       mysql-4.0.2-alpha (Official MySQL RPM)
>Server: /usr/bin/mysqladmin  Ver 8.35 Distrib 4.0.2-alpha, for pc-linux-gnu on i686
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          4.0.2-alpha-log
Protocol version        10
Connection              Localhost via UNIX socket
UNIX socket             /var/lib/mysql/mysql.sock
Uptime:                 1 min 58 sec

Threads: 1  Questions: 1  Slow queries: 0  Opens: 6  Flush tables: 1  Open tables: 0  
Queries per second avg: 0.008
>Environment:
        
System: Linux shangri-la 2.4.9-31smp #1 SMP Tue Feb 26 06:55:00 EST 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.1 2.96-98)
Compilation info: CC='gcc'  CFLAGS='-O6 -fno-omit-frame-pointer -mpentium'  CXX='gcc'  
CXXFLAGS='-O6 -fno-omit-frame-pointer              -felide-constructors 
-fno-exceptions -fno-rtti -mpentium'  LDFLAGS=''
LIBC: 
lrwxrwxrwx    1 root     root           13 Jun 15 15:28 /lib/libc.so.6 -> libc-2.2.4.so
-rwxr-xr-x    1 root     root      1285788 Apr  2 08:58 /lib/libc-2.2.4.so
-rw-r--r--    1 root     root     27332668 Apr  2 08:42 /usr/lib/libc.a
-rw-r--r--    1 root     root          178 Apr  2 08:42 /usr/lib/libc.so
Configure command: ./configure --disable-shared --with-mysqld-ldflags=-all-static 
--with-client-ldflags=-all-static --with-other-libc=/usr/local/mysql-glibc 
--without-berkeley-db --without-innodb --enable-assembler --enable-local-infile 
--with-mysqld-user=mysql --with-unix-socket-path=/var/lib/mysql/mysql.sock --prefix=/ 
--with-extra-charsets=complex --exec-prefix=/usr --libexecdir=/usr/sbin 
--sysconfdir=/etc --datadir=/usr/share --localstatedir=/var/lib/mysql 
--infodir=/usr/share/info --includedir=/usr/include --mandir=/usr/share/man 
--with-embedded-server --enable-thread-safe-client '--with-comment=Official MySQL RPM' 
CC=gcc 'CFLAGS=-O6 -fno-omit-frame-pointer -mpentium' 'CXXFLAGS=-O6 
-fno-omit-frame-pointer                   -felide-constructors -fno-exceptions 
-fno-rtti -mpentium' CXX=gcc


---------------------------------------------------------------------
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 <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to