Set url to local db (mysql)