[url]http://forum.ubuntu.org.cn/viewtopic.php?f=54&t=22321&view=previous[/url]
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
网络配置问题
[b]vi /etc/network/interfaces[/b]
[b]vi /etc/resolv.conf[/b]
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
网络配置问题
[b]vi /etc/network/interfaces[/b]
auto eth0
iface eth0 inet static
hwaddress ether 00:08:02:6c:30:46
address 202.198.145.235
netmask 255.255.255.0
gateway 202.198.145.254
ifconfig eh0 up # 启动指定的网络设备
[b]vi /etc/resolv.conf[/b]
nameserver 61.153.177.198