View Single Post
  #10  
Old 07-23-2003, 10:46 AM
krich
Hill Giant
 
Join Date: May 2003
Location: The Great Northwest
Posts: 150
Default

Quote:
Originally Posted by Jerrysn
Thanks Krich for not being a smartass and giving an answer.

I quote from a guide..

"if the last step, the GRANT... command, gives you an access denied error, exit out of mysql.exe & open it again via the command prompt with mysql.exe --user=root eq & repeat the GRANT... command)"

This guide has two minus signs. Myself knowing didly-squat about SQL wonders what the difference between one and two minus signs in front of a parameter?


-Jerry
Jerry,

Under Linux, and I assume a similar setup in Windows, the:
Code:
-u <userid>
and
Code:
--user=<userid>
are equivilant. Not sure if that holds true under Windows. Also not sure what the reason is for the double minus options, but that's just the way it is (duplicate/identical command line options).

Regards,

krich
Reply With Quote