Update database.yml

Add mysql socket configuration for mac-os