mysql: fixed comar scripts and install db