dbTalk Databases Forums  

Error 1064 on 'SET PASSWORD'

comp.databases.mysql comp.databases.mysql


Discuss Error 1064 on 'SET PASSWORD' in the comp.databases.mysql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
gmoudry@gmail.com
 
Posts: n/a

Default Error 1064 on 'SET PASSWORD' - 01-01-2007 , 04:01 PM






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/


Reply With Quote
  #2  
Old   
Jared
 
Posts: n/a

Default Re: Error 1064 on 'SET PASSWORD' - 01-01-2007 , 09:20 PM






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

QB 1.2.8.
MySQL 1.0.27



Reply With Quote
  #3  
Old   
gmoudry@gmail.com
 
Posts: n/a

Default Re: Error 1064 on 'SET PASSWORD' - 01-02-2007 , 03:03 PM



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

Jared wrote:

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

QB 1.2.8.
MySQL 1.0.27


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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.