Revert "Revert "Updated the grant_expertiza.sql file to include if_not_exists in the database creation""

This reverts commit 2bfba976312ee54c86fad246d182cfbc21410f1d.
Revert "Added sockets to the database.yml file"

This reverts commit 129ac324ab605a6cc1748e41ad3b3f9ecc013f81.