Needed this earlier. Came in handy. Its stupid stuff, but i forget the switches half the time.
wget -r --no-parent --reject "index.html*" http://website.com/dir/
also tar zxvf files.tar.gz -C /anotherDirectory/
Primarily where I write my fixes to things, that I can foresee needing again. InfoSec / Linux stuff.
Sunday, January 29, 2012
Friday, January 27, 2012
So your running an older version of mysql, such as 5.0. And you want to use innodb as your engine.
vi /etc/my.cnf
#skip-innodb
Comment out skip-innodb and you will have the option to use it.
IF you want to use innodb by default, add to my.cnf
default-table-type=innodb
Reasons you may still be using an older version of mysql include having too many databases that rely on the older code or myisam engine and don't want to mess it up.
Also in phpmyadmin to convert tables to innodb, once you have enabled it, click on "operations" and you can change it from there.
vi /etc/my.cnf
#skip-innodb
Comment out skip-innodb and you will have the option to use it.
IF you want to use innodb by default, add to my.cnf
default-table-type=innodb
Reasons you may still be using an older version of mysql include having too many databases that rely on the older code or myisam engine and don't want to mess it up.
Also in phpmyadmin to convert tables to innodb, once you have enabled it, click on "operations" and you can change it from there.
Subscribe to:
Posts (Atom)