Gloss82
26-11-2009, 09:05
Устанавливаю MySQL с помощью ipkg:
[admin@Router root]$ ipkg install -force-reinstall mysql
Reinstalling mysql (4.1.22-3) on /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/mysql_4.1.22-3_mipsel.ipk
conffile_has_been_modified: conffile /opt/etc/my.cnf has no md5sum
Configuring mysql
Starting MySQL................................... ERROR!
Successfully terminated.
[admin@Router root]$
Естественно, MySQL не работает:
Using username "admin".
[admin@Router root]$ /opt/bin/mysqladmin -u root password *******
/opt/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
[admin@Router root]$
В чем же здесь проблема?
[admin@Router root]$ ipkg install -force-reinstall mysql
Reinstalling mysql (4.1.22-3) on /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/mysql_4.1.22-3_mipsel.ipk
conffile_has_been_modified: conffile /opt/etc/my.cnf has no md5sum
Configuring mysql
Starting MySQL................................... ERROR!
Successfully terminated.
[admin@Router root]$
Естественно, MySQL не работает:
Using username "admin".
[admin@Router root]$ /opt/bin/mysqladmin -u root password *******
/opt/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
[admin@Router root]$
В чем же здесь проблема?