install and configure mysql on freebsd

cd /usr/ports/databases/mysql41-server/
make install clean
/usr/local/bin/mysql_install_db
chown -R mysql /var/db/mysql/
chgrp -R mysql /var/db/mysql/
/usr/local/bin/mysqld_safe –user=mysql &
/usr/local/bin/mysqladmin -u root password newpassword

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


That's all the steps for installing and configuring mysql in freebsd..so easy is it?

Comments

Popular posts from this blog

Kursus Induksi

Docker error : The network name cannot be found.

Push containe to GHCR