A recovery trivia or how to recover from a lost ibdata1 file

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]

MySQL Comments (0)

How to syntax-check your my.cnf file

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]

MySQL Comments (0)

Fixing MySQL with a comment in the config file

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]

MySQL Comments (0)

A Simple upload file class

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]

PHP Comments (0)

PHP File Download Class

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]

PHP Comments (0)


 

February 2012
M T W T F S S
« Jan    
 12345
6789101112
13141516171819
20212223242526
272829