Updated mysql database pointer