02 - Install the database server, MySQL



MySQL server version 5.5 installation and startup

### Install MySQL Server and client libraries
# cd /usr/ports/databases/mysql55-client/; portupgrade -Np
[ select OpenSSL/FASTMTX, if required/desired]
# cd /usr/ports/databases/mysql55-server/; portupgrade -Np
[ select OpenSSL/FASTMTX, if required/desired]
# echo 'mysql_enable="YES"' >> /etc/rc.conf
[ create/adjust /usr/local/etc/my.cnf if required/desired ]
### Start the MySQL server
# /usr/local/etc/rc.d/mysql-server start


Prev: FreeBSD Server installation, basic customization, security fixes, ports update, kernel configuration
Next: Install Dovecot, Postfix and Apache

Comments