0

I have mysql5.5.20 on my windows machine. I am not able to execute following command:

groupadd mysql
useradd -G mysql mysql

I am doing this because I am configuring Nakamura(Sakai) for MySql and I found these commands at: https://confluence.sakaiproject.org/display/KERNDOC/Configuring+Nakamura+for+MySQL

Thanks for help!

1
  • These commands are linux/unix commands they are not going to work on Windows ! the first creates a new group "mysql" and the second adds a user "mysql" and adds it to the group "mysql" Commented Mar 26, 2012 at 10:57

1 Answer 1

1

Logon to MySQL console using following command:

mysql -u root -p<password>

Then execute following commands

Create User 'sakaiuser'@'localhost' identified by 'ironchef';
Grant All on nakamura.* to 'sakaiuser'@'localhost' identified by 'ironchef';
Flush Privileges;

Hope it will fit your needs!

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.