Added `php5-mysql` to the list of installs
Made the mysql script more robust