before the db is initialized, data dir is chmoded for mysql