Estimated reading time: 0 minutes, 18 seconds
Problem: Server returns the error "Mysql server has gone away" when running a large set of queries (specially as a Cronjob).
Solution: Simply copy/paste the following lines in beginning of your php file.
Reason: The mysql.connect_timeout option is the reason for this.
Zeeshan Arshad is a self-taught and multi-dimensional person with extraordinary track record of success with international clients and students.
Feel free to contact him for your project, training purpose or guidance.