rename username in myswl code example Example: change name of user mysql RENAME USER old_user1 TO new_user;