Fix MySQL service with PL-2.2

With 2.2 release, we have to bring modifications to make MySQL server working.