Jump to content

[GUÍA] Instalar MYSQL en FreeBSD


ALEXANDER2020

Recommended Posts

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. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...