changed mysql hostname to localhost