Change localhost to 127.0.0.1 in Datasource properities -> Database URL — RubyMine feature request — Has it shipped?