Unix Technical Forum

Error 1064 on 'SET PASSWORD'

This is a discussion on Error 1064 on 'SET PASSWORD' within the MySQL forums, part of the Database Server Software category; --> Hello group & happy New Year, I have a two-line script that's failing with error 1064: CREATE USER 'LinqUser'@'%'; ...


Go Back   Unix Technical Forum > Database Server Software > MySQL

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 09:51 AM
gmoudry@gmail.com
 
Posts: n/a
Default Error 1064 on 'SET PASSWORD'

Hello group & happy New Year,
I have a two-line script that's failing with error 1064:

CREATE USER 'LinqUser'@'%';
SET PASSWORD FOR 'LinqUser'@'%' = PASSWORD('linq2');

Result:
You have an error in your SQL syntax; check the manual that
corresponds ....
... near '; SET PASSWORD FOR 'LinqUser'@...

Each line succeeds, when executed individually.
Apologies if it's something trivial.
I am using a 'Script tab' in MySql query browser 1.1.20 (on windows).
Database version: 5.0.22-community-nt.

Any ideas?
Thanks for any advice,
George
Linq to Mysql project: http://code2code.net/Linq_Mysql/

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-28-2008, 09:51 AM
Jared
 
Posts: n/a
Default Re: Error 1064 on 'SET PASSWORD'

Worked fine for me. Did you log in as Root when using QB.

QB 1.2.8.
MySQL 1.0.27


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-28-2008, 09:52 AM
gmoudry@gmail.com
 
Posts: n/a
Default Re: Error 1064 on 'SET PASSWORD'

Thanks Jared.
I upgraded to Query Browser 1.2.8 and now it's working fine.
Cheers, George

Jared wrote:

> Worked fine for me. Did you log in as Root when using QB.
>
> QB 1.2.8.
> MySQL 1.0.27


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:21 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com