Mysql – Installing MySQL in Solaris

MySQLmysql-5.5

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.

Best Answer

just use:

useradd -g mysql mysql