A few day ago, a customer came to Percona needing to recover data. Basically, while doing a transfer from one SAN to another, something went wrong and they lost the ibdata1 file, where all the table meta-data is stored. Fortunately, they were running with innodb_file_per_table so the data itself was available. What they could provide [...] [...more]
For a long time I’ve used a little trick to check whether there are syntax errors in a server’s my.cnf file. I do this when I need to shut down and restart the server, and I’ve either made changes to the file, or I’m worried that someone else has done so. I don’t want to [...] [...more]
A customer called with an emergency issue: A server that normally runs many MySQL instances wouldn’t start them up. Not only would it not start all of them, it wouldn’t even start the first one. The multiple instances were started through the mysql_multi init script. Perhaps you already know what was wrong! It turns out [...] [...more]
Package: A Simple upload file class Summary: Validate and process file uploads Groups: Files and Folders, HTTP, Validation Author: Rizwan Khan Description: This class can be used to validate and process file uploads. It can take the name of a given form upload field and check the respective upload information to see if there was [...] [...more]
Package: PHP File Download Class Summary: Serve files for download Groups: Files and Folders, PHP 5 Author: Qamar Ashraf Description: This class can be used to serve files for download. It can check if a a requested file is exists and has the allowed file name extension. The class can serve the validated file for [...] [...more]