Re: newbie only

2002-09-27 Thread Gunter Geis

Hello
The error 10061 on windows means, that the host refueses the connection.

In a command promt type:

  net helpmsg 10061

Do you running a firewall ?


Gunter


Victoria Reznichenko wrote:

 weng,
 Thursday, September 26, 2002, 3:05:25 AM, you wrote:

 wc i've installed ver 3.23.47 sa win2k pero di ko sya
 wc mstart as service..

 wc if i type this==mysqladmin create database01
 wc ERROR==mysqladmin: connect to server at 'localhost'
 wc failed
 wc error: 'Can't connect to MYSQL server on 'localhost'
 wc 10061'
 wc Check that mysqld is running on localhost and that the
 wc port is 3306.
 wc You can check this by doing 'telnet localhost 3306'

 wcand this ==telnet localhost 3306
 wcERROR==Conneting to localhost..Could not open a
 wc connection to host on port 3306 : Connect failed

 wc *note:windows 2000 is installed in my E: directory and
 wc i alrdy changed this in my.cnf

 Did you check if MySQL server is running?

 --
 For technical support contracts, goto https://order.mysql.com/?ref=ensita
 This email is sponsored by Ensita.net http://www.ensita.net/
__  ___ ___   __
   /  |/  /_ __/ __/ __ \/ /Victoria Reznichenko
  / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
 /_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
___/   www.mysql.com

 -
 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


-
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




compiling mysql on Solaris 9 on Ultra 5 using gcc 3.2 fails

2002-09-23 Thread Gunter Geis

Hello

I'm Gunter and I tried to compile the mysql Database on Solaris 9 for
Ultra Sparc arcitecture.
I use the precompiled gcc 3.2 compiler form www.sunfreeware.com.
This Compiler is linked to use the as and ld fom the Solaris operating
system.
Also I use the autoconf and the other gnu tools from this site.
Becaus the precompiled version of mysql uses a version of the
libstdc++.so.3.0.0
and on my system there is the libstdc++.so.5.0.0 version installed, I
can not use the precompiled version.

When I tried to compile the source distribution I got severel diferent
errormessages in dependency
for what I configured.

I know that error reports shuold be made by msqlbug and sended directly,
but the SUN I compiled it is a
stand alone mashine without an smtp configured.
So I copied and pasted the poutput of mysqlbug to an e-mail programm on
an other machine and send it directly, but
the mail returned as undeliverabe.

The result is, that I subscribe to this mailing list.

I used the minimum configure parameters --prefix=/usr/local/mysql
It is also reproduceable with:

./configure --prefix=/usr/local/mysql --enable-thread-safe-client
--enable-local-infile --disable-shared

The error mesage I got:

g++ -DMYSQL_SERVER
-DDEFAULT_MYSQL_HOME=\/usr/local\
-DDATADIR=\/usr/local/var\
-DSHAREDIR=\/u
sr/local/share/mysql\ -DHAVE_CONFIG_H
-I./../include
-I./../regex-I. -I../include -I..
-I.-O3
 -DDBUG_OFF   -fno-implicit-templates -fno-exceptions -fno-rtti
-DHAVE_RWLOCK_T
-c mysqld.cc
mysqld.cc: In function `void* handle_connections_sockets(void*)':
mysqld.cc:2410: invalid conversion from `size_socket*' to `socklen_t*'
mysqld.cc:2476: invalid conversion from `size_socket*' to `socklen_t*'
make[3]: *** [mysqld.o] Error 1
make[3]: Leaving directory `/opt/mysql-3.23.52/sql'
make[2]: ***[all-recursive] Error 1
make[2]: Leaving directory `/opt/mysql-3.23.52/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/mysql-3.23.52'
make: *** [all-recursive-am] Error 2


A similar error message was created when I configured with some
options(the options recommended for Solaris), but on an other file
(sql_lex.cc also located in sql dir)
Here in line 85 the symbols and in line 87 sql_functions was
undefined.
After configuring whithout any options the file sql_lex.cc compiled

g++ -DMYSQL_SERVER
-DDEFAULT_MYSQL_HOME=\/usr/local/mysql\
-DDATADIR=\/usr/local/mysql/var\
-DSHAREDIR=\/usr/local/mysql/share/mysql\
-DHAVE_CONFIG_H -I./../include
-I./../regex-I. -I../include -I.. -I.-O3
-DDBUG_OFF   -fno-implicit-templates -fno-exceptions -fno-rtti
-DHAVE_RWLOCK_T -c sql_lex.cc


but the first mentioned error
 in mysqld.cc occoured.


I also see that in the default compiler flags there is
-mcpu=pentiumpro but the SUN Ultra 5
uses a Ultra II Processor.

How-To-Repeat:
Just unpack the distribution and call configure whithout any options.
Than call make.

Fix:

Submitter-Id:  Dont have one
Originator:   Super-User
Organization: institute of applied physiks Frankfurt germany
MySQL support: none
Synopsis:  dose not compile
Severity:  critical
Priority:  medium
Category:  mysql
Class: sw-bug
Release:   mysql-3.23.52 (Source distribution)

Environment: Sun Ultra 5, Solaris 8, Sun Untra 5,libc as delivered with

the OS
  also the newest librarys which are delivered with the gcc
3.2 from
  www.sunfreeware.com
  libstdc++.so.5.0.0 libg2c.so.0.0.0 libgcj.so.3.0.0

System: SunOS cnna 5.9 Generic sun4u sparc SUNW,Ultra-5_10
Architecture: sun4

Some paths:  /usr/local/bin/perl /usr/local/bin/make /usr/local/bin/gcc
/usr/ucb/cc
GCC: Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.2
Compilation info: CC='gcc'  CFLAGS='-Wimplicit -Wreturn-type -Wswitch
-Wtrigraphs
-Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare
-Wwrite-strings -Wunused -mcpu=pentiumpro
 -O3 -fno-omit-frame-pointer'  CXX='gcc'  CXXFLAGS='-Wimplicit
-Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts
-Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Woverloa
ded-virtual -Wsign-promo -Wreorder -Wctor-dtor-privacy
-Wnon-virtual-dtor -felide-constructors -
fno-exceptions -fno-rtti -mcpu=pentiumpro -O3 -fno-omit-frame-pointer'
LDFLAGS=''

LIBC:
-rw-r--r--   1 root bin  1828460 Apr  6 21:46 /lib/libc.a
lrwxrwxrwx   1 root root  11 Aug 20 13:32 /lib/libc.so -
./libc.so.1
-rwxr-xr-x   1 root bin   855484 Apr  6 21:46 /lib/libc.so.1
-rw-r--r--   1 root bin  1828460 Apr  6 21:46 /usr/lib/libc.a
lrwxrwxrwx   1 root root  11 Aug 20 13:32 /usr/lib/libc.so
- ./libc.so.1
-rwxr-xr-x   1 root bin   855484 Apr  6 21:46 /usr/lib/libc.so.1

Configure command: ./configure 

invalid conversation from size_socket* to socklen_t*

2002-09-20 Thread Gunter Geis

Hello mysql Team

I apologise for sending you an error report in this form but the Ultra
SUN on which I tried to compile the mysql database
dose not have (as far as I know) a configured smtp.
So I copied the output of mysql_bug to this e-mail and hoping to deliver
you all the neccessary informations.

Sincerly

Gunter Geis

Description:
I just configured and make mysql 3.23.54 after a while during
compilation the compilation stops
with an error message:

g++ -DMYSQL_SERVER
-DDEFAULT_MYSQL_HOME=\/usr/local\
-DDATADIR=\/usr/local/var\
-DSHAREDIR=\/u
sr/local/share/mysql\ -DHAVE_CONFIG_H
-I./../include
-I./../regex-I. -I../include -I..
-I.-O3
 -DDBUG_OFF   -fno-implicit-templates -fno-exceptions -fno-rtti
-DHAVE_RWLOCK_T
-c mysqld.cc
mysqld.cc: In function `void* handle_connections_sockets(void*)':
mysqld.cc:2410: invalid conversion from `size_socket*' to `socklen_t*'
mysqld.cc:2476: invalid conversion from `size_socket*' to `socklen_t*'
make[3]: *** [mysqld.o] Error 1
make[3]: Leaving directory `/opt/mysql-3.23.52/sql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/mysql-3.23.52/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/mysql-3.23.52'
make: *** [all-recursive-am] Error 2


A similar error message was created when I configured with some
options(the options recommended
for Solaris), but on an other file (sql_lex.cc also located in sql dir)
Here in line 85 the symbols and in line 87 sql_functions was
undefined.
After configuring whithout any options the file sql_lex.cc compiled but
the first mentioned error
 in mysqld.cc occoured.

I also see that in the default compiler flags there is
-mcpu=pentiumpro but the SUN Ultra 5
uses a Ultra II Processor.

How-To-Repeat:
Just unpack the distribution and call configure whithout any options.
Than call make.

Fix:

Submitter-Id:  Dont have one
Originator:   Super-User
Organization: institute of applied physiks Frankfurt germany
MySQL support: none
Synopsis:  dose not compile
Severity:  critical
Priority:  medium
Category:  mysql
Class: sw-bug
Release:   mysql-3.23.52 (Source distribution)

Environment: Sun Ultra 5, Solaris 8, Sun Untra 5,libc as delivered with
the OS
  also the newest librarys which are delivered with the gcc
3.2 from
  www.sunfreeware.com
  libstdc++.so.5.0.0 libg2c.so.0.0.0 libgcj.so.3.0.0

System: SunOS cnna 5.9 Generic sun4u sparc SUNW,Ultra-5_10
Architecture: sun4

Some paths:  /usr/local/bin/perl /usr/local/bin/make /usr/local/bin/gcc
/usr/ucb/cc
GCC: Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.2
Compilation info: CC='gcc'  CFLAGS='-Wimplicit -Wreturn-type -Wswitch
-Wtrigraphs
-Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare
-Wwrite-strings -Wunused -mcpu=pentiumpro
 -O3 -fno-omit-frame-pointer'  CXX='gcc'  CXXFLAGS='-Wimplicit
-Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts
-Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Woverloa
ded-virtual -Wsign-promo -Wreorder -Wctor-dtor-privacy
-Wnon-virtual-dtor -felide-constructors -
fno-exceptions -fno-rtti -mcpu=pentiumpro -O3 -fno-omit-frame-pointer'
LDFLAGS=''

LIBC:
-rw-r--r--   1 root bin  1828460 Apr  6 21:46 /lib/libc.a
lrwxrwxrwx   1 root root  11 Aug 20 13:32 /lib/libc.so -
./libc.so.1
-rwxr-xr-x   1 root bin   855484 Apr  6 21:46 /lib/libc.so.1
-rw-r--r--   1 root bin  1828460 Apr  6 21:46 /usr/lib/libc.a
lrwxrwxrwx   1 root root  11 Aug 20 13:32 /usr/lib/libc.so
- ./libc.so.1
-rwxr-xr-x   1 root bin   855484 Apr  6 21:46 /usr/lib/libc.so.1

Configure command: ./configure --prefix=/usr/local/mysql
--enable-assembler --with-extra-charsets=complex
--enable-thread-safe-client --with-innodb --with-berkeley-db
--enable-thread-safe-client
'CFLAGS=-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W
-Wchar-subscripts -Wformat
 -Wparentheses -Wsign-compare -Wwrite-strings -Wunused -mcpu=pentiumpro
-O3 -fno
-omit-frame-pointer' 'CXXFLAGS=-Wimplicit -Wreturn-type -Wswitch
-Wtrigraphs -Wcomment -W -Wchar
-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings
-Woverloaded-virtual
-Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor
-felide-constructors -fno-exceptions
-fno-rtti -mcpu=pentiumpro -O3 -fno-omit-frame-pointer' 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