Archivo de la etiqueta: MySQL

Change MySQL variables without restart

A simple way to change runtime variables wihtout restarting mysql server. First check the running value: mysql> show variables like ‘long_query%’; +—————–+——-+ | Variable_name | Value | +—————–+——-+ | long_query_time | 10 | +—————–+——-+ Change the value: mysql> set @@long_query_time=2; … Sigue leyendo

Publicado en MySQL | Etiquetado | 1 comentario

Could not connect to database for SQL SessionHandler

When you try to login in Horde you see this error: A fatal error has occurred Could not connect to database for SQL SessionHandler. Details have been logged for the administrator. There are some different reasons that causes this error. … Sigue leyendo

Publicado en Linux | Etiquetado , , , | 2 comentarios

Cambiar password de root de MySQL

Pasos para cambiar la contraseña del usuario root para el servicio MySQL: 1º Parar cualquier instancia del servicio /etc/init.d/mysql stop 2º Iniciar MySQL en modo seguro /usr/bin/mysqld_safe –skip-grant-tables 3º Ejecutamos el cliente de MySQL y seleccionamos la base de datos … Sigue leyendo

Publicado en Linux, MySQL | Etiquetado , | Deja un comentario