First check for any disable options for innodb in /etc/my.cnf like skip-innodb and remove them if there is any. Then restart mysql: If that doesn’t work, try # /etc/init.d/mysql stop # mv /var/lib/mysql/ib_logfile0 /var/lib/mysql/ib_logfile0.bak # mv /var/lib/mysql/ib_logfile1 /var/lib/mysql/ib_logfile1.bak # /etc/init.d/mysql start To check, get into mysql prompt and use the command : > show engines; […]
Month: June 2013
Unblock an IP from IPTABLES
To check if an IP is blocked in iptables, use the command : # iptables -nL | grep IP_ADDRESS_HERE Sample output: DROP all — x.x.x.x 0.0.0.0/0 If the IP is blocked in iptables, to see the rule: # iptables-save|grep IP_ADDRESS_HERE # iptables-save|grep 192.168.101.8 Sample output: -A LOCALINPUT -s 192.168.101.8 -i eth0 -j DROP Take […]
How to Use the Net User Command to Manage Users – Windows
To add a new user :net user /add usernameEg : net user /add tomTo delete a user :net user /delete usernameEg : net user /delete tomTo change password of a user :net user username {password}Eg: net user tom pass123To allow a user to change his own password :net user username /passwordchg:yesEg: net user tom /passwordchg:yesTo […]