Moved admin interface to mysql lib (issue #2224)