[core] programatic syncdb should be executed in shell