Hola a todos. Tengo un servidor mysql corriendo en Solaris 5.10. El problema es que cada vez que corro un comando que tiene que ver con fechas, retorna una fecha incorrecta. Es como si el timestamp se hubiera congelado.
He reiniciado el servidor y eso soluciona el problema momentaniamente, pero a los dos dias de regreso.
Aqui les dejo parte del código con lo que he intentado:
Código:
Last login: Sun Jan 16 23:33:26 2011 from xxx
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
root@server-name ~ # date
Monday, 17 January 2011 06:59:28 GMT
root@server-name ~ # mysql -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 23501
Server version: 5.1.25-rc-log Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> select current_timestamp();
+---------------------+
| current_timestamp() |
+---------------------+
| 2011-01-13 04:23:23 |
+---------------------+
1 row in set (0.00 sec)
mysql> SHOW VARIABLES LIKE '%zone%';
+------------------+--------+
| Variable_name | Value |
+------------------+--------+
| system_time_zone | GMT |
| time_zone | SYSTEM |
+------------------+--------+
2 rows in set (0.00 sec)
mysql> set timestamp = default;
Query OK, 0 rows affected (0.00 sec)
mysql> select current_timestamp();
+---------------------+
| current_timestamp() |
+---------------------+
| 2011-01-13 04:23:23 |
+---------------------+
1 row in set (0.00 sec)
Los logs no muestran ningún problema. Alquien tiene idea de que pueda estar pasando?
Gracias de antemano