Tag: linux
-
MySQL Migration / Merge Script (Linux)
There are many ways of migrating MySQL data from server to server and its just essential to use mysqldump or any other tools to do the task for you. The simplest way to do this is via mysqldump (from source) then mysql (into target). However, in my case I have an already existing database with…
-
Alternative to CRON in Linux
There are times when CRON doesn’t simply fill in the necessary requirements needed for a recurring task. Here’s the problem, let’s say I have a script that should run immediately after it has completed. In other words, a routine. For instance, I’d like to keep the script running without it overlapping with itself. My issue…
-
Domain Level Error Logging in Apache/PHP in Linux
The error logging functionality of apache is very important especially when you are testing things out with your php application. But on some cases we experience problems which hinder us from locating the error_log file where all errors, problems or warnings reside whenever we attempt to debug our application. Problems we usually encounter are: Where’d…