Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jan 2007 04:10:38 -0800 (PST)
From:      Stan Halprin <stanhalprin@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: MySQL Port Question
Message-ID:  <20070110121039.47263.qmail@web58909.mail.re1.yahoo.com>

next in thread | raw e-mail | index | archive | help
----- Original Message ----=0AFrom: George Vanev <george.vanev@gmail.com>=
=0A&&=0AFrom: Andrew Patyukhin=0A=0AAndrew:=0A>/usr/local/etc/rc.d/mysql-se=
rver start=0AWorked. MySQL up! Thanks!=0A=0AGeorge:=0ASince MySQL is up, I =
don't know if the following matters any more, nonetheless...=0A>Check if us=
er mysql exists. If it doesn't - create it.=0A=0AExists=0A=0A># echo 'mysql=
_enable=3D"YES"' >> /etc/rc.conf=0A=0Aok.=0A>#cd /usr/local/mysql=0A>#bin/m=
ysql_install_db --user=3Dmysql=0A=0A# cd /usr/local/mysql=0A/usr/local/mysq=
l: No such file or directory.=0A# mkdir -p /usr/local/mysql=0A# cd /usr/loc=
al/mysql=0A# bin/mysql_install_db --user=3Dmysql=0A=0ABTW, do I want to use=
 the same user "mysql"? I'm wondering if that's a user that the installatio=
n itself uses. Should I set up another user?=0A=0A# bin/mysql_install_db --=
user=3Dmysql=0A=0Abin/mysql_install_db: Command not found.=0A# find / -name=
 mysql=0A/usr/bin/mysql=0A/usr/local/bin/mysql=0A/usr/local/include/mysql=
=0A/usr/local/lib/mysql=0A/usr/local/libdata/ldconfig/mysql=0A/usr/local/sh=
are/mysql=0A/usr/local/mysql=0A/var/db/mysql=0A/var/mail/mysql=0A# ls /var/=
db/mysql/=0A#=0ATIA,=0AStan=0A=0A=0A=0A=0A=0A______________________________=
____________________=0ADo You Yahoo!?=0ATired of spam?  Yahoo! Mail has the=
 best spam protection around =0Ahttp://mail.yahoo.com 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070110121039.47263.qmail>