GRANT SUPER, PROCESS .... Error

Hi!

Include my Command to execute to mysql.
But get this error messege:

ERROR 1064 at line 1: 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 '10.252.170.67 IDENTIFIED BY b2559d6155bab36db6dad9e0a5b37a2e

The line -> PXKILLR@10.252.170.67
is stored like this in my jobb.sql file:
GRANT SUPER, PROCESS ON WTCDATA.* TO <92>PXKILLR<92>@<92>10.252.170.67<92> IDENTIFIED BY <91>b2559d6155bab36db6dad9e0a5b37a2e<92>

Maby that is the problem ?

Please help ASAP.

Thanks



GRANT SUPER, PROCESS ON WTCDATA.* TO PXKILLR@10.252.170.67 IDENTIFIED BY b2559d6155bab36db6dad9e0a5b37a2e
 
GRANT SUPER, PROCESS ON WTDDATA.* TO PXKILLR@10.252.170.67 IDENTIFIED BY b2559d6155bab36db6dad9e0a5b37a2e
 
GRANT SELECT ON WTCDATA.WTCMERCHANT TO PXCHKR@10.252.170.67 IDENTIFIED BY 7949406f16d52140802b9e536e537a66

Open in new window

LVL 2
team2005Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Guy Hengel [angelIII / a3]Billing EngineerCommented:
I am not sure which quotes you had, but it must be single quotes...


GRANT SUPER, PROCESS ON WTCDATA.* TO 'PXKILLR'@'10.252.170.67' IDENTIFIED BY 'b2559d6155bab36db6dad9e0a5b37a2e'

Open in new window

0
UmeshMySQL Principle Technical Support EngineerCommented:
BTW, You cannot simply grant these kind of GLOBAL PRIVILEGES at DB level.. they must be at server level..


GRANT SUPER, PROCESS ON WTCDATA.* TO 'PXKILLR'@'10.252.170.67' IDENTIFIED BY 'b2559d6155bab36db6dad9e0a5b37a2e'

Error Code : 1221
Incorrect usage of DB GRANT and GLOBAL PRIVILEGES
(0 ms taken)

This should be ok...

GRANT SUPER, PROCESS ON *.* TO 'PXKILLR'@'10.252.170.67' IDENTIFIED BY 'b2559d6155bab36db6dad9e0a5b37a2e';

flush PRIVILEGES;
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
team2005Author Commented:
Thanks for help. Working just fine now...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
MySQL Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.