add user mysql and build tree path