freebsd_mysql_install

Philip M. Gollucci philip at p6m7g8.com
Tue Sep 2 18:20:13 PDT 2003


The short answer is you don't have a "mysql" user.
The freebsd port should have done this for you.

You may find the following useful
which was snipped from
/usr/ports/databases/mysql323-server/pkg_install

% pw group add mysql -g 88
% pw useradd mysql -u 88 -g mysql -h - \
        -d /var/db/mysql -s /sbin/nologin -c "MySQL Daemon"

On Friday 22 August 2003 02:33 pm, Greg Magnusson wrote:
> re:  getting mysql running on FreeBSD 4.7
>
> Hello,
>
> I am running FreeBSD 4.7 and mysql-max-3.23.57-unknown-freebsd4.7-i386 on
> FreeBSD 4.7.  I have installed mysql, but I am having problems getting it
> to run.  When I am in the mysql directory, and I enter
>   "./bin/safe_mysqld &
> I get the message
> [1] 363
> cyborgspiders#chown: mysql: illegal user name
> Starting mysqld daemon with databases from
> /usr/local/mysql/mysql-max-3.23.57-unknown-freebsd4.7-i386/data
> 030822 13:29:57 mysql ended
>
> [1]    Done       ./bin/safe_mysqld
>
> Help will be appreciated,
>
> Greg Magnusson
> glm at cyborgspiders.com
>
> _______________________________________________
> freebsd-database at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-database
> To unsubscribe, send any mail to "freebsd-database-unsubscribe at freebsd.org"

-- 
END 
------------------------------------------------------------------------------ 
Philip M. Gollucci
Consultant
E-Mail: philip at p6m7g8.com 
URL   : http://p6m7g8.net/Resume/resume.shtml
Phone : 301.474.9598

eJournalPress 
DBA / Software Engineer / System Administrator 
E-Mail: pgollucci at ejournalpress.com
URL   : http://www.ejournalpress.com 
Phone : 301.530.6375

$Id: .signature,v 1.4 2003/05/02 23:46:37 philip Exp $



More information about the freebsd-database mailing list