Added __wakeup() function to MySQL data source to handle serialization.