To change a user name.

If possible, avoid changing the user name. One issue is that the user name and email address are connected. There are two ways to do this:

  1. Note what groups the user is in, then remove the user and then create a new account, adding them to the groups
  2. Edit the database by hand and hope for the best

Changing a username by editing the database by hand

  1. Use MySQL and go to the users database, then the profiles table and search for the user profile by name and then edit the record and change the name
  2. Use MySQL and go to the auth_N database, then the users table, search for the username, edit the record and change the name. This will fix the user_websites() method.