changed mysql endpoint from IP address to localhost