grants.sql should setup databases & grants

grants.sql should setup databases & grants
Merge branch 'release/4.0.4.2' into smm_master