Monthly Archives: January 2012

Transactions with MySQL.

If you want to use transactions with MySQL, you will have to use InnoDB engine, because the default engine on MySQL 5.1 (MyISAM) does not support transactions. Otherwise, if you use MySQL 5.5 you do not have to worry about … Continue reading

Posted in Databases, MySQL | Tagged , , , , , , , | Leave a comment

Check whether Ubuntu requires a reboot or not

To find whether Ubuntu requires a reboot or not, is as simply as checking if a special file exists. To do so: file /var/run/reboot-required ————————– ls /var/run/reboot-required | grep required If the file exists, system would require a reboot.

Posted in Linux | Tagged , , , , | Leave a comment