Problem SendMail / PHPMail() commands are taking more than 30seconds to complete. Solution Review the maillog file tail -f /var/log/maillog
MySQL – Start and status in Linux/Unix
To quickly view your status try the following commands sudo /etc/init.d/mysql status To stop or start issue one of the
Exporting and Importing the DHCP Database
Problem You need to copy and restore the DHCP database, maybe to deploy a new DHCP server with same/similar settings.
MySQL – Repair and optimize tables
Repair and optimize all tables After upgrading the MySQL server there are times when weird bugs would be seen with
MySQL- Backup and or Restore your MySQL Database Using phpMyAdmin
How to Backup and or Restore your MySQL Database Using phpMyAdmin Backup your MySQL Database Log into your hosting or
MySQL – Dump all databases
If you ever need to backup all your MySQL databases at the same time use the following command mysqldump -u
MySQL – “unknown” architecture (Windows)
Problem You need to upgrade your MySQL but the state/status is MySQL 5.x has “unknown” architecture Solution Download and run
MySQL – restore databases (command line – Linux)
Methods of restoring MySQL databases To restore a MySQL database you can use one of the following methods after creating
PHP – password protect folder/page etc
Problem You need to password protect content in PHP simply using .htaccess Solution You will require two files, the .htaccess
Linux – run a sh file
Problem You have a script “myscripttorun.sh” and cannot get it run as a script Solution Open a terminal SU as