> telnet: Unable to connect to remote host: Connection refused > I don't understand this problem. I've never had this problem.
This simply means that mysqld is not running on your server. the result of the telnet test (i.e. Connection Refused) confirms that. You need to start mysqld before trying mysqladmin. Nasser. sql, smallint ---------- root <root@darkvador> writes: Return-Path: <[EMAIL PROTECTED]> Received: from mx09.lax.untd.com (mx09.lax.untd.com [10.130.24.69]) by maildeliver05.nyc.untd.com with SMTP id AAA9CXP6DAW9MAB2 for <[EMAIL PROTECTED]> (sender <[EMAIL PROTECTED]>); Sun, 19 Jan 2003 09:34:43 -0500 (EST) Received: from web.mysql.com (web.mysql.com [213.136.49.183]) by mx09.lax.untd.com with SMTP id AAA9CXP6CA29394A for <[EMAIL PROTECTED]> (sender <[EMAIL PROTECTED]>); Sun, 19 Jan 2003 06:34:42 -0800 (PST) Received: (qmail 3821 invoked by uid 7797); 19 Jan 2003 14:32:07 -0000 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm (http://www.ezmlm.org) List-ID: <mysql.mysql.com> Precedence: bulk List-Help: <mailto:[EMAIL PROTECTED]> List-Unsubscribe: <mailto:[EMAIL PROTECTED]> List-Post: <mailto:[EMAIL PROTECTED]> List-Subscribe: <mailto:[EMAIL PROTECTED]> Delivered-To: mailing list [EMAIL PROTECTED] Received: (qmail 3807 invoked from network); 19 Jan 2003 14:32:07 -0000 To: [EMAIL PROTECTED] Subject: <synopsis of the problem (one line)> From: root <root@darkvador> Message-Id: <E18ZB5L-0000hO-00@darkvador> Date: Thu, 16 Jan 2003 15:33:35 +0100 >Description: I can connect on my database at localhost, but not at real hostname. Example when i want to change the password : darkvador:/usr/bin# /usr/bin/mysqladmin -u root -h darkvador password 'newpassword' /usr/bin/mysqladmin: connect to server at 'darkvador' failed error: 'Can't connect to MySQL server on 'darkvador' (111)' Check that mysqld is running on darkvador and that the port is 3306. You can check this by doing 'telnet darkvador 3306' So, i make : telnet darkvador 3306 darkvador:/usr/bin# telnet darkvador 3306 Trying 192.168.0.1... telnet: Unable to connect to remote host: Connection refused I don't understand this problem. I've never had this problem. thank you NB : Sorry for my english ! >How-To-Repeat: allways >Fix: no solution >Submitter-Id: <submitter ID> >Originator: root >Organization: >MySQL support: [none | licence | email support | extended email support ] >Synopsis: >Severity: >Priority: >Category: mysql >Class: >Release: mysql-3.23.52 (Source distribution) >Environment: System: Linux darkvador 2.2.17 #1 Sun Jun 25 09:24:41 EST 2000 i586 unknown Architecture: i586 Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gcc /usr/bin/cc GCC: Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs gcc version 2.95.4 20011002 (Debian prerelease) Compilation info: CC='gcc' CFLAGS='' CXX='g++' CXXFLAGS='' LDFLAGS='' LIBC: lrwxrwxrwx 1 root root 13 jan 16 13:08 /lib/libc.so.6 -> libc-2.2.5.so -rwxr-xr-x 1 root root 1145456 sep 18 04:50 /lib/libc-2.2.5.so -rw-r--r-- 1 root root 2376426 sep 18 04:51 /usr/lib/libc.a -rw-r--r-- 1 root root 178 sep 18 04:51 /usr/lib/libc.so Configure command: ./configure --prefix=/usr --exec-prefix=/usr --libexecdir=/usr/sbin --datadir=/usr/share --sysconfdir=/etc/mysql --localstatedir=/var/lib/mysql --includedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --enable-shared --with-libwrap --enable-assembler --with-berkeley-db --with-innodb --enable-static --enable-shared --enable-local-infile --with-raid --enable-thread-safe-client --without-readline --with-unix-socket-path=/var/run/mysqld/mysqld.sock --with-mysqld-user=mysql --without-bench --without-docs --with-client-ldflags=-lstdc++ --with-extra-charsets=all --------------------------------------------------------------------- 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