LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-19-2004, 03:48 AM   #1
dwarf007
Member
 
Registered: Sep 2004
Location: Malaysia
Posts: 181

Rep: Reputation: 30
mysql cant addgroup? Command not found?


I had tried to add group to the mysql but it comes out the below error.
Anyone knows what the problem and able to help? Thanks......

[eugene@localhost eugene]$ cd Installed
[eugene@localhost Installed]$ cd mysql
[eugene@localhost mysql]$ groupadd mysql
bash: groupadd: command not found
[eugene@localhost mysql]$
 
Old 09-19-2004, 03:56 AM   #2
micxz
Senior Member
 
Registered: Oct 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
su
[type root pass]
groupadd mysql
 
Old 09-19-2004, 04:06 PM   #3
dwarf007
Member
 
Registered: Sep 2004
Location: Malaysia
Posts: 181

Original Poster
Rep: Reputation: 30
I had tried to use "su" and key in the root password but it sill came out the same problem

[eugene@localhost mysql]$ groupadd mysql
bash: groupadd: command not found


Anyone knows the answer and able to help me?

Thanks.....
 
Old 09-19-2004, 04:07 PM   #4
micxz
Senior Member
 
Registered: Oct 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
sorry

su -

Then do it'
 
Old 09-19-2004, 04:25 PM   #5
dwarf007
Member
 
Registered: Sep 2004
Location: Malaysia
Posts: 181

Original Poster
Rep: Reputation: 30
Thanks for your replies....

Stil cant works and come out with same error........

The below command are from a website:
# /usr/local/mysql]# groupadd mysql
# [create new group 'mysql' under /etc/group]

I dont really understand.........

Anyone can help me? Thanks
 
Old 09-19-2004, 04:42 PM   #6
micxz
Senior Member
 
Registered: Oct 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
You did not get: "command not found" so it looks to me like it worked;
Now try:

cat /etc/group | grep mysql

If you see nothing it dod not work. If you get the output "mysql:x:#" it worked.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL 3.23.58-14 installation prolem - mysql.sock not found lightcom Linux - Software 4 02-23-2005 01:46 AM
addgroup from command line m2azer Linux - Newbie 5 10-31-2004 09:34 PM
groupadd mysql = command not found? reesee Linux - Newbie 4 04-17-2004 03:12 PM
MySQL command prompt (/usr/local/mysql missing) sankar555 Linux - Software 3 03-22-2003 01:48 PM
adduser addgroup Redhat 7 gord Linux - Newbie 3 02-08-2001 09:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration