El Blog de DeepY0X: emerge —update —deep –newuse world

Office OpenXML (OOXML) no debe ser ISO 29500

October 8, 2007

MySQL 5 en FreeBSD

Filed under: Miscelanea

Ahora vamos a instalar MySQL 5 en FreeBSD, como vimos FreeBSD tambien maneja el concepto de ports pero  tambien podemos usar paquetes precompilados, pero en este caso usaremos los ports:

-Ingresamos al directorio /usr/ports/databases/mysql51-server y le damos: make install clean

-Ejecutamos: mysql_install_db 

-Cambiamos los permisos al directorio /var/db/mysql: chown -R mysql:mysql /var/db/mysql

-Copiamos el fichero my-medium.cnf: cp /usr/local/share/mysql/my-medium.cnf /usr/local/my.cnf 

-Agregamos la siguiente linea al archivo /etc/rc.conf: mysql_enable="YES"

-Iniciamos MySQL: mysqld_safe –user=mysql & 

Tambien podemos hacerlo de la siguiente manera: /usr/local/etc/rc.d/mysql-server start

 -Y por ultimo le damos un password al root de mysql: mysqladmin -u root password ‘123456′

Comments »

The URI to TrackBack this entry is: http://deepyox.blogsome.com/2007/10/08/mysql-5-en-freebsd/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.


Anti-spam measure: please retype the above text into the box provided.