In this case the process has to direct the database,
1 – Find out what is the table where the administrator is registered, if the same table of users, it becomes easier
2 Create a user account by default
3 – Scroll to locate the registration of the new registered user table and change permission to administrator
If you still have any questions just send me a e-mail to give you the tips.