View Single Post
Old 9th July 2007, 16:04
paul55 paul55 is offline
Junior Member
Join Date: Apr 2007
Location: Greece
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default The Perfect Setup - Debian Etch (Debian 4.0) mysql question

Hi all i have just installed debian etch following that howto but i have a problem about configuring the mysql server.Exactly when i try to run
 mysqladmin -h myhostname.mydomainname -u root password my-mysqlrootpassword
i get this error:
mysqladmin: connect to server at 'medic3.medichome' failed
error: 'Lost connection to MySQL server at 'reading initial communication packet', system error: 113'
.The server is running
medic3:/home/paul555# ps -ef |grep mysql
root      2154     1  0 15:29 ?        00:00:00 /bin/sh /usr/bin/mysqld_safe
mysql     2191  2154  0 15:29 ?        00:00:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/ --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
root      2192  2154  0 15:29 ?        00:00:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
root      2648  2626  0 16:01 pts/0    00:00:00 grep mysql
and i have created ok the root password previously with
mysqladmin -u root password my-mysqlrootpassword
.Does anyone have an idea?
Reply With Quote
Sponsored Links