MySQL remote access enabled. Code cleanup.

Signed-off-by: Mohan G <mohan@gowebly.com>