>Description:
        The first of these problems is the long pathname.
        I've already tracked this down and fixed it in a local copy.
        The problem is that in the files:
                libmysql/errmsg.c
                libmysql_r/errmsg.c
                mysys/my_vsnprintf.c
                sql/mini_client_errors.c
        The space for the path in the error message is fixed to a length
        of 64 characters while the maximum pathname is much longer (256)
        This produces error messages that are "misleading"
        The line below that starts with "error: " shows you the truncated
        error message while the next line shows you the entire/full
        pathname of the file at issue.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Ending Tests
Shutting-down MySQL daemon

Master shutdown finished
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket 
'/dvlp/home/mtiernan/Work/Post_40/unix/optional/public_domain/WHC' (146)'
Check that mysqld is running and that the socket: 
'/dvlp/home/mtiernan/Work/Post_40/unix/optional/public_domain/WHCmysql/distrib/src/SunOS-5.7/mysql-3.23.49/mysql-test/var/tmp/mysql-slave.sock'
 exists!
Slave shutdown finished
gmake[1]: *** [test] Error 1
gmake[1]: Leaving directory 
`/dvlp/home/mtiernan/Work/Post_40/unix/optional/public_domain/WHCmysql/distrib/src/SunOS-5.7/mysql-3.23.49'
make: *** [build.SunOS] Error 2
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

        The second issue is with the location of the socket that it is
        looking for.  The configure command specified the socket as:
                --with-unix-socket-path=/wh/var/tmp/mysql.sock
        and yet it seems to be searching for the socket in the wrong
        place based on the current test environment.  (Which MAY be
        a desired feature for testing...)

>How-To-Repeat:
        
>Fix:
        Remove the limitation of the length of the path field:
<84:sql/mini_client_errors.c: "Can't connect to local MySQL server through socket 
'%-.64s' (%d)",
>84:sql/mini_client_errors.c: "Can't connect to local MySQL server through socket '%s' 
>(%d)",
        Please note, I only show you ONE occurance of it but this problem
        exists in MANY of the library functions.

>Submitter-Id:  <submitter ID>
>Originator:    Mike Tiernan
>Organization:
 GENUiTY Web Hosting Engineering.
 (Being used for personal experience, not corporate sanctioned
 activities.)
>MySQL support: none
>Synopsis:      Truncated error messages are output.
>Severity:      serious
>Priority:      medium
>Category:      mysql
>Class:         sw-bug
>Release:       mysql-3.23.49 (Source distribution)

>Environment:
        
System: SunOS whe-inf-101.bbnplanet.com 5.7 Generic_106541-17 sun4u sparc 
SUNW,Ultra-Enterprise
Architecture: sun4

Some paths:  /wh/bin/perl /wh/bin/make /wh/bin/gmake /wh/bin/gcc /wh/bin/cc
GCC: Reading specs from /wh/lib/gcc-lib/sparc-sun-solaris2.7/2.95.3/specs
gcc version 2.95.3 20010315 (release)
Compilation info: CC='gcc'  CFLAGS=''  CXX='c++'  CXXFLAGS=''  LDFLAGS=''
LIBC: 
-rw-r--r--   1 bin      bin      1707532 Oct 15 19:23 /lib/libc.a
lrwxrwxrwx   1 root     root          11 Apr 24  2000 /lib/libc.so -> ./libc.so.1
-rwxr-xr-x   1 bin      bin      1125056 Oct 15 19:23 /lib/libc.so.1
-rw-r--r--   1 bin      bin      1707532 Oct 15 19:23 /usr/lib/libc.a
lrwxrwxrwx   1 root     root          11 Apr 24  2000 /usr/lib/libc.so -> ./libc.so.1
-rwxr-xr-x   1 bin      bin      1125056 Oct 15 19:23 /usr/lib/libc.so.1
Configure command: ./configure  --prefix=/wh --with-mysqld-user=mysqladm 
--with-named-z-libs=no --with-unix-socket-path=/wh/var/tmp/mysql.sock


---------------------------------------------------------------------
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