MySQL Forums
Forum List  »  Spanish

Re: configuracion del fichero My.cnf
Posted by: Jesús Uzcanga
Date: February 18, 2013 08:44AM

Gomez.

Ya buscaste en esta ruta /etc/mysql/my.cnf ?? En algunas versiones / distribuciones se crea de esta forma.

En teoría si ya el servicio mysqld arrancó es porque este archivo debería existir. Puedes ingresar a la consola de mysql-client y ejecutar un SHOW VARIABLES LIKE '%pah%'
o
SHOW VARIABLES LIKE '%dir%'

a ver si te da algunas luces.

También puedes hacer un

vi /etc/init.d/mysqld

Y buscar en el código las rutas de los archivos de instalación y/o configuración que podrían ayudarte.

En caso de que todo falle o que el mysql en realidad no está corriendo pues puedes ejecutar esto:
cp support-files/my-medium.cnf /etc/my.cnf

NOTA: El direcotio support-files debes ubicarlo en tu ruta de instalación.

Luego podrás editarlo (my.cnf) tranquilamente a tu gusto.

NOTA: Si al levantar el servicio te genera un error y no levanta trata inicialmente borrando los archivos ib_logfile0 y ib_logfile1 en tu directorio de data.

___________________________
Ing. Jesús Alfredo Uzcanga
Twitter: @JesusUzcanga

We learn the 20% of what we HEAR,
the 50% of what we SEE,
the 80% of what we DO and
the 95% of what we TEACH.

____________________________________________________________
https://www.linkedin.com/in/jauzcanga/

Options: ReplyQuote


Subject
Views
Written By
Posted
2695
February 18, 2013 02:25AM
Re: configuracion del fichero My.cnf
10071
February 18, 2013 08:44AM
9449
February 19, 2013 02:51AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.