DBA tools: MySQL WorkBench

MySQL WorkBench is the open alternative from #MySQL for the DataBase Administrator, DBA, and also for the non-DBA that need to work directly with databases. A few months ago ORACLE published the 6.0 beta version of this tool, with new features and improvements (previuos version was 5.2), and right now you can download version 6.1. …

Continue reading »

The post DBA tools: MySQL WorkBench appeared first on Manejando datos.

Herramientas DBA: MySQL WorkBench

MySQL WorkBench es la alternativa libre de #MySQL para los administradores de bases de datos, DBA, y también para los no-DBA que necesitan trabajar directamente con las bases de datos. Hace un par de meses se publicó la versión 6.0, todavía en su versión inicial, pero que mejora en bastante a su versión anterior (la …

Continuar leyendo »

The post Herramientas DBA: MySQL WorkBench appeared first on Manejando datos.

slave-skip-errors: Ignorar automáticamente errores de replicación por tipo

Cada aplicación es un mundo y cada uno de estos mundos tiene otro mundo dentro sobre la forma que utiliza la base de datos y cómo se pueden replicar los datos entre diferentes slaves. Mediante la directiva slave-skip-errors podemos ignorar errores de replicación automáticamente (por lo tanto simplemente se salta automáticamente la query)

En la documentación de MySQL podemos encontrar un listado de errores y sus descripciones. Por ejemplo si se intenta crear una tabla que ya existe en el slave obtendríamos el siguiente error:

  • Error: 1050 SQLSTATE: 42S01 (ER_TABLE_EXISTS_ERROR): Message: Table ‘%s’ already exists

Por lo que podemos añadir el código 1050 en el slave-skip-errors para ignorar …

[Lea más]
Moving from MySQL 5.5 to MySQL 5.6. Step 6. My first bug report

After a few entrances talking about how to move from #MySQL 5.x to versión MySQL 5.6 (what I write is also valid for MySQL 5.7 although you need to know that MySQL 5.7 doesn’t work under Windows XP), I am going to tell you two reflections: The acquisition of MySQL database from ORACLE has been …

Continue reading »

The post Moving from MySQL 5.5 to MySQL 5.6. Step 6. My first bug report appeared first on Manejando datos.

MySQL 5.6 Config file. Step 5

In previous steps, you could read about creating database backups, how to unistall and install a MySQL server, and how to start working with a new MySQL version, in our case, 5.6.10. Remember the step 2 On step 2 (from moving from MySQL to 5.6.10) I wrote about the important role of the file my.ini, …

Continue reading »

The post MySQL 5.6 Config file. Step 5 appeared first on Manejando datos.

Anaconda and MySQL

I already wrote that since a few months ago I am working with #Anaconda, a scientific Python version, because this version includes several tools for working with data. However, I ws a little bit confuse because there is no MySQL package to work with. So, if you need to connect with a MySQL database, you …

Continue reading »

The post Anaconda and MySQL appeared first on Manejando datos.

Anaconda y MySQL

Ya os conté que trabajo con la versión #Anaconda de Python, ya que facilita mucho el disponer de todas esas herramientas para trabajar con datos. Sin embargo, me ha extrañado un poco que no incluyan el paquete para trabajar con MySQL, ni siquiera en sus repositorios. Así que, para trabajar con MySQL hay que instalar …

Continuar leyendo »

The post Anaconda y MySQL appeared first on Manejando datos.

Moving from MySQL 5.5 to 5.6. Step 4: Starting with MySQL 5.6.10

On previous post, I already wrote about how to create a database backup, how to unistall a MySQL version, ad how to install a new MySQL version, in this case, MySQL 5.6.10. If you are new to MySQL, you can think … “Well,  I have installed MySQL server, now .. what can I do?“. Starting …

Continue reading »

The post Moving from MySQL 5.5 to 5.6. Step 4: Starting with MySQL 5.6.10 appeared first on Manejando datos.

Comentario en Migración de MySQL 5.5 a 5.6. Paso 2. Desinstalar MySQL 5.x por Fichero de configuración para MySQL 5.6 - Manejando datos

[…] el paso 2 se comentó la importancia de hacer una copia del fichero my.ini, que incluye las opciones de […]

Comentario en Migración de MySQL 5.5 a 5.6. Paso 1. Copias de seguridad por Fichero de configuración para MySQL 5.6 - Manejando datos

[…] los pasos anteriores hemos comentado cómo hacer copias de seguridad (#backup), desinstalar una versión de #MySQL, instalar una nueva y comprobar que funciona la nueva […]