use localhost for mysql and redis