mysql: fix comar script