MySQL Forums
Forum List  »  Newbie

What is wrong with the hyphen?
Posted by: Franz Edler
Date: January 24, 2009 02:31PM

I try to insert the following GRANT command:
grant delete,insert,select,update on hss_db.* to hss@hss.technikum-wien.at identified by 'hss';

but the command is rejected with:
ERROR 1064 (42000): You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version for the right syntax to use near '-wien.at identified by 'hss'' at line 1

Is there a problem with the hyphen within the FQDN?
I have no clue ...

Thanks for help
Franz

Options: ReplyQuote


Subject
Written By
Posted
What is wrong with the hyphen?
January 24, 2009 02:31PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.