route命令的用法:操作或者显示IP路由表route:DESCRIPTION Route manipulates the kernel's IP routing tables. Its primary use is to set up static routes to specific hosts or networks via an interface after it has been configured with the ifconfig(8) pro‐gram. When the a
XUbuntu 8.04 i386.装了dhcp3-server.使用 sudo /etc/init.d/dhcp3-server start 出错:Apr 30 14:24:03 s dhcpd: Wrote 0 leases to leases file.Apr 30 14:24:03 s dhcpd: Apr 30 14:24:03 s dhcpd: No subnet declaration for eth0 (192.168.0.1).Apr 30 14:24:03 s dhcpd:
原因: Mysql 默认是没有开启这个权限的(只允许使用 host:localhost,或者 host:127.0.0.1),如果想用 host:192.168.1.* (IP地址),来访问mysql ,需要手动开启这个权限进入Mysql终端输入这个命令 1.打开cmd窗口,进入MySql安装的bin目录 2.执行命令登录数据库,之后会出现一行要你输入密码的 mysql -u root -p 3.执行以下命令分配新用户: grant all privileges on *.* to '用户名'@
mysql -h 192.168.1.104 -P3306 -uroot -p 然后输入你安装时设置的MySQL密码 发现Can't connect to MySQL server 你的IP 解决方法: (1)用localhost 登录 mysql -h localhost -P3306 -uroot -p (2)use mysql (3)grant all privileges on *.* to 'root'@'192.168.1.104' identified by 'root'; (4)