MySQL Port Question

Stan Halprin stanhalprin at yahoo.com
Wed Jan 10 13:24:28 UTC 2007


----- Original Message ----
From: George Vanev <george.vanev at gmail.com>
&&
From: Andrew Patyukhin

Andrew:
>/usr/local/etc/rc.d/mysql-server start
Worked. MySQL up! Thanks!

George:
Since MySQL is up, I don't know if the following matters any more, nonetheless...
>Check if user mysql exists. If it doesn't - create it.

Exists

># echo 'mysql_enable="YES"' >> /etc/rc.conf

ok.
>#cd /usr/local/mysql
>#bin/mysql_install_db --user=mysql

# cd /usr/local/mysql
/usr/local/mysql: No such file or directory.
# mkdir -p /usr/local/mysql
# cd /usr/local/mysql
# bin/mysql_install_db --user=mysql

BTW, do I want to use the same user "mysql"? I'm wondering if that's a user that the installation itself uses. Should I set up another user?

# bin/mysql_install_db --user=mysql

bin/mysql_install_db: Command not found.
# find / -name mysql
/usr/bin/mysql
/usr/local/bin/mysql
/usr/local/include/mysql
/usr/local/lib/mysql
/usr/local/libdata/ldconfig/mysql
/usr/local/share/mysql
/usr/local/mysql
/var/db/mysql
/var/mail/mysql
# ls /var/db/mysql/
#
TIA,
Stan





__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the freebsd-questions mailing list