You are on page 1of 4

Fixing ERROR 1396 (HY000): Operation CREATE USER fa... https://cournape.wordpress.com/2010/08/30/fixing-error-1396...

Nothing to say
some personal notes

30AUG / 2010

Fixing ERROR 1396 (HY000): Operation CREATE


USER failed
I got bitten by this several times already, here is what usually works if this error happens for user foo

delete from mysql.user where user=foo;


delete from mysql.db where user=foo

Posted in Uncategorized

Permalink 19 Comments

19 responses to Fixing ERROR 1396 (HY000): Operation CREATE


USER failed

valk
November 2, 2010 at 11:11
Thank you! This really helped!

REPLY
GWild
1 de 4 December 17, 2010 at 21:07 09/09/15 22:51
Fixing ERROR 1396 (HY000): Operation CREATE USER fa... https://cournape.wordpress.com/2010/08/30/fixing-error-1396...
Thank you for posting this.

Elegant in its simplicity (not to mention helpful).

REPLY
TechNazgul
January 27, 2011 at 05:41
Thanks for posting this. I was stumped trying to recreate a user that Id (incorrectly) deleted and
the 2nd line above did the trick. Thanks.

REPLY
enrico giurin
March 30, 2011 at 18:58
The reason I had the same error was because I was using:
mysql> drop user foo;
rather than the correct one:
mysql> drop user foo@;
where some_ip could be for instances10.2.34.56
I had previously created my user with:
mysql> create user foo@10.2.34.56 identified by mypassword;

By the way you need to put the user name foo between apex so foo (not foo)

REPLY
Ryan
September 26, 2011 at 01:25
In my case this didnt fix it since I already had done this but still got the error. However I also had
granted some privileges to the user though so maybe that is why. The user still showed up in the
information_schema.USER_PRIVILEGES table. In order to fix it I just had to use the DROP USER
statement.

REPLY
Vicent Gonzlez i Castells
December 1, 2011 at 01:38
The same case for me. I used DROP USER as solution.

REPLY
Abhishek
January 2, 2012 at 19:17
i just wrote: drop user foo;
and got success for user foo..

REPLY
D'jems Markenzy Mortimer
June 3, 2012 at 10:41
Can someone please tell me whats wrong with this syntax for SQL Server version:
5.5.22-0ubuntu1 (Ubuntu)

mysql_query(create table `.$mysql_table_prefix.query_log` (


query varchar(255),
time timestamp(14),
elapsed float(2),
results int,
2 de 4 09/09/15 22:51
key query_key(query)));
Fixing ERROR 1396 (HY000): Operation CREATE USER fa... https://cournape.wordpress.com/2010/08/30/fixing-error-1396...
REPLY
Andy
August 18, 2012 at 00:04
I ran into this problem too. One thing I did to remedy the problem was enter the flush
privileges command, which seemed to wipe clean the proverbial slate. Then I did my normal
create user command and it worked like a champ.

REPLY
Beatrice
May 12, 2013 at 00:23
I for all time emailed this webpage post page to all my associates,
for the reason that if like to read it next my links
will too.

My personal webpage on technological innovation:


Beatrice

REPLY
Ian D. Rossi
June 14, 2013 at 02:26
Awesome, thanks! Worked for me too. I did the first line, but not the second.

REPLY
Jmont
September 6, 2013 at 03:22
man finally !!

REPLY
Justina
April 14, 2014 at 01:26
magnificent issues altogether, you just gained a logo new reader.
What would you suggest in regards to your post that you made some days ago?
Any sure?

REPLY
Qlrawsk
October 26, 2014 at 07:23
Ekeywkf

noxihosotiri@yahoo.com
:

REPLY
Danielagok
November 4, 2014 at 22:47
keflex dogs otc rx cost of clarithromycin how to get doxycycline online allergy non drowsy
diclofenac and pregnancy

REPLY
Pingback: Fix Ubuntu Error Make Failed Windows XP, Vista, 7, 8 [Solved]

Mathewpr
January 4, 2015 at 06:04
3 de 4 09/09/15 22:51
gfg
Fixing ERROR 1396 (HY000): Operation CREATE USER fa... https://cournape.wordpress.com/2010/08/30/fixing-error-1396...

REPLY
MichaelSt
April 12, 2015 at 21:56
Download Amazing Black Boobs Galleries Absolutely Free Today # FDZ3333643081682 !
Stay tune for next season 123 !

REPLY
MichaelSt
July 24, 2015 at 18:58
Get Amazing Black Boobs Movies Absolutely Free Tomorrow # FDZ3333376566663 !
Stay tune for next season 123 !

REPLY

Blog at WordPress.com. | The Pink Touch 2 Theme.

Follow

Follow Nothing to say

Build a website with WordPress.com

4 de 4 09/09/15 22:51

You might also like