cd /usr/ports/databases/mysql50-server/
make
make install clean
/usr/local/bin/mysql_install_db
chown -R mysql /var/db/mysql/
chgrp -R mysql /var/db/mysql/
dans /etc/rc.conf
mysql_enable="YES"
/usr/local/etc/rc.d/mysql-server start
/usr/local/bin/mysqladmin -u root password "motdepasse"
Aucun commentaire:
Enregistrer un commentaire