DelphiFAQ Home Search:



Databases
InterBase, MS-SQL, mysql, Oracle
Programming
C#, C++, Delphi, Java,
JavaScript, perl, php, Visual Basic, VBScript
Linux
Apache, Network, Shell
Web Publishing
JavaScript, perl CGI, VBScript, Web Hosting
Windows
Apache, File Types, Internet Explorer,
Network, Printing, Processes
Outside the Cube
Auto, Computer Hardware,
Finances, Dating Scams,
Household, Male Dating Scammers,
Other Scams, Travel

Featured Article

How to add a group in BSD Unix

Question:

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?

Answer:

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 &
 
 

Generated 16:02:30 on Aug 29, 2016