Premiers pas avec mysql-workbench
Installation ou configuration
MySQL Workbench est disponible pour tous les principaux systèmes d’exploitation -Windows, Linux, Mac- Vous pouvez trouver la version de votre système d’exploitation à partir de [ici][1].
Pour Windows : Il utilise le msi (programme d’installation Windows) pour installer les packages. Vous n’avez qu’à faire un clic droit sur l’installation et cela démarre.
Pour Linux : Plusieurs packages .deb et .rpm sont disponibles pour chaque distribution. Pour l’installation d’[ubuntu][2] via apt, voir ici.
Pour Mac : Téléchargez simplement le fichier .dmg. Double-cliquez ensuite sur le fichier téléchargé.
[1] : https://dev.mysql.com/downloads/workbench/ [2] : https://askubuntu.com/questions/45115/how-to-install-mysql-workbench
Arguments de ligne de commande courants pour MySQL Workbench
On peut utiliser la fonction de lancement en ligne de commande lorsque l’on souhaite personnaliser certains aspects du fonctionnement de MySQL Workbench.
MySQL Workbench propose les options de ligne de commande courantes suivantes :
--admin instance - Launch MySQL Workbench and load the server instance specified.
--query connection - Launch MySQL Workbench and load the connection specified.
--model modelfile - Launch MySQL Workbench and load the model specified.
--script script - Launch MySQL Workbench and run the script specified.
--run code - Launch MySQL Workbench and run the code snippet specified.
--quit-when-done - quits MySQL Workbench after --script or --run finishes.