Change the way we read the mysql db URI

Signed-off-by: Phan Le <ple@pivotallabs.com>