Category: MySQL

Clean MySQL Binlogs function

Here is a little dirty function that can help you manage MySQL binlog files. Please remember that if you use it in production, test it before! Comments are more than welcome on this gits, and it’ll be part of a bigger module that’ll help you manage you MySQL entirely with PowerShell 🙂 Have a nice…




Use MySQL with Powershell

Bonsoir,

Ca fait quelque temps que je bosse sur un module MySQL pour PowerShell. Il est temps de faire un petit rĂ©capitulatif et de vous donner un peu l’eau Ă  la bouche avec ce qu’il est possible de faire.

Tout d’abord, il faut installer le “MySQL .NET connector” afin de disposer des assemblies nĂ©cessaire Ă  l’utilisation des libraires MySQL.
Vous pourrez le trouver ici: http://dev.mysql.com/downloads/connector/net/

Pas nĂ©cessaire de s’inscire pour le tĂ©lĂ©charger au passage.

Une fois le client téléchargé et installé, lancez donc votre Powershell ISE préféré et loadons cette assembly.