If you accidentally just deleted the user (how'd you accomplish that? Did you delete the user, or the whole user table?) regrant them the permissions.
PHP Code:
grant all <put all the permissions here> on <databasename>.<tablename> TO <user you deleted>@<host where they should be connecting from> IDENTIFIED BY "password";
For myself on my MySQL server, I'd do
PHP Code:
GRANT ALL ON mud.* TO fallon@localhost IDENTIFIED BY "temp123";