Yes, you can edit data a few ways. I like using HeidiSQL to log into the database to make changes. The only problem with the account name edits is that the passwords are hashed.

Can you log in at all? If you can log in as an administrator, you can do a gm command: .account create name password
If you get that line in, you can edit it using the SQL editor or by using other gm commands.