DelphiFAQ Home Search:

How to add a group in BSD Unix


comments4 comments. Current rating: 3 stars (2 votes). Leave comments and/ or rate it.


The mysql install instructions tell me to create a new group 'mysql' and a user 'mysql'. But the suggested (standard unix) command groupadd does not work on my BSD system?


You need to run the following commands. Use tool pw to add groups and users, and notice the reverse order of arguments in the command to add a user.

pw groupadd mysql
pw useradd mysql -g mysql
cd /usr/local
ln -s /root/peter/mysql-5.0.45-freebsd6.0-i386 mysql
cd mysql
chown -R mysql .
chgrp -R mysql .
scripts/mysql_install_db --user=mysql
chown -R root .
chown -R mysql data
bin/mysqld_safe --user=mysql &


2012-07-23, 22:38:49
anonymous from United States  
2012-07-23, 22:39:11
anonymous from United States  
2013-02-04, 08:13:30
axlyybb <a href=' '>pay day loans</a> %-[[[ <a href=' '>pay day loans</a> fSGoel <a href=' '>quickquid</a> 6365
2013-02-10, 22:45:33
cdkgob <a href=' '>payday loans</a> =-] <a href=' '>cash advance loans</a> zdzcWG <a href=' '>pay day loans</a> >:]]



NEW: Optional: Register   Login
Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option, or post under a registered account.

Show city and country
Show country only
Hide my location
You can mark text as 'quoted' by putting [quote] .. [/quote] around it.
Please type in the code:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity.
The owner of this web site reserves the right to delete such material.

photo Add a picture: