Recreating admin account in mp_Users

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
2/28/2008 6:00:19 PM
Gravatar
Total Posts 20

Recreating admin account in mp_Users

I'm an idiot. I was cleaning up the test accounts I'd created in the mp_Users table and wiped all of them, including the admin. I searched the sql scripts looking for an INSERT INTO where that account is created, but I didn't find it. I want to make sure I don't mess up the data by entering by hand, so can you let me know where the data for this user is located?

 

Thanks.

2/28/2008 6:04:21 PM
Gravatar
Total Posts 18439

Re: Recreating admin account in mp_Users

The admin user is created upon site creation in setup and when creating new sites, there is no script to create it.

You can manually add a user to the mp_Users table then hook him to the Admins role in the mp_UserRoles table.

Hope it helps,

Joe

2/28/2008 6:10:05 PM
Gravatar
Total Posts 20

Re: Recreating admin account in mp_Users

Ah, thanks. I think it's time to call it a night before I end up wiping out everything I've done.

You must sign in to post in the forums. This thread is closed to new posts.