Installing MySQL in Solaris I am trying to install MySQL 5.5 on Solaris 10.
I executed the code useradd -r -g mysql mysql where a group called mysql is already created using groupadd command.

I get the following error :
UX: useradd: ERROR: invalid syntax.

Is -r option not availablr on Solaris ?
Am I missing something.
I am newbie to Soalris.
just use:

useradd -g mysql mysql