On Monday 13 January 2003 14:21, Adrian Bucur wrote: > I removed an old mysql version and I installed a new one on a machine > running Suse 8.1 Linux. > shell>rpm -i MySQL-client-3.23.54a-1.i386.rpm > shell>rpm -i MySQL-shared-3.23.54a-1.i386.rpm > shell>rpm -i MySQL-devel-3.23.54a-1.i386.rpm > shell>rpm -qa | grep -i mysql > shell>reboot > > shell>safe_mysqld --user=mysql & > shell>ps -ax > ... > 961 pts/0 S 0:00 /bin/sh /usr/bin/safe_mysqld --user=mysql > 977 pts/0 S 0:00 > /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql > 979 pts/0 S 0:00 > /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql > 980 pts/0 S 0:00 > /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql > ... > shell>mysqladmin -u root password 'new-password'
This sets a password for user 'root'. > shell>mysqladmin -u root -h hostname password 'new-password' > mysqladmin: connect to server at 'hostname' failed > error: 'Can't connect to MySQL server on 'hostname' (110)' > Check that mysqld is running on hostname and that the port is 3306. > You can check this by doing 'telnet hostname 3306' > shell>telnet hostname 3306 > Trying IP_address... > telnet: connect to address IP_address: Connection timed out Seems, you have no running MySQL server on host 'hostname'. > shell>mysqladmin -u root password 'new-password' > mysqladmin: connect to server at 'localhost' failed > error: 'Access denied for user: 'root@localhost' (Using password: NO)' But you have already set up a password for 'root'. Try to change it using: mysqladmin -u root -p password 'new-password' and enter root password that you set before. -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Egor Egorov / /|_/ / // /\ \/ /_/ / /__ [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