ALEXANDER2020 Posted September 10, 2018 Report Share Posted September 10, 2018 CÓDIGO: SELECCIONAR TODO cd /usr/ports/databases/mysql50-server/ make clean && make config-recursive make WITH_XCHARSET=all install clean Para que el daemon MYSQL se inicie al iniciar el sistema, edite rc.conf CÓDIGO: SELECCIONAR TODO ee /etc/rc.conf Y agregue la siguiente línea de código: CÓDIGO: SELECCIONAR TODO mysql_enable="YES" Configuración de la base de datos MYSQL: CÓDIGO: SELECCIONAR TODO /usr/local/bin/mysql_install_db chown -R mysql /var/db/mysql chgrp -R mysql /var/db/mysql Para iniciar Mysql, ejecute el siguiente comando en la consola: CÓDIGO: SELECCIONAR TODO /usr/local/etc/rc.d/mysql-server start Configurar el usuario o la contraseña de la base de datos Mysql CÓDIGO: SELECCIONAR TODO /usr/local/bin/mysqladmin -uroot password parolanoua Esta es la instalación de MYSQL. Christian Rubio 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.