Skip to content

Commit 70680bf

Browse files
feat: Add generic cloud support and translated documentation
This commit introduces a generic framework for connecting to cloud-based MySQL services, with an initial focus on Azure. It adds new command-line options to facilitate both direct and SSH-proxied connections. The implementation includes: - A generic cloud mode activated by the `--cloud` flag. - Azure-specific support via the `--azure` flag, which now acts as an alias for `--cloud`. - SSH connection options: `--ssh-host`, `--ssh-user`, `--ssh-password`, and `--ssh-identity-file`. - A unified `execute_system_command` function to handle both local and remote command execution with proper error handling. - Updated documentation in the `README.md` to reflect the new features, with translations in French, Italian, and Russian.
1 parent 432689c commit 70680bf

File tree

2 files changed

+254
-90
lines changed

2 files changed

+254
-90
lines changed

README.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,54 @@ __Usage:__ Update MySQLTuner and data files (password and cve) if needed
326326
perl mysqltuner.pl --checkversion --updateversion
327327
```
328328

329+
Cloud Support
330+
--
331+
332+
MySQLTuner now has experimental support for cloud-based MySQL services.
333+
334+
* `--cloud`: Enable cloud mode. This is a generic flag for any cloud provider.
335+
* `--azure`: Enable Azure-specific support.
336+
* `--ssh-host <hostname>`: The SSH host for cloud connections.
337+
* `--ssh-user <username>`: The SSH user for cloud connections.
338+
* `--ssh-password <password>`: The SSH password for cloud connections.
339+
* `--ssh-identity-file <path>`: The path to the SSH identity file for cloud connections.
340+
341+
Support Cloud (French)
342+
--
343+
344+
MySQLTuner dispose désormais d'un support expérimental pour les services MySQL basés sur le cloud.
345+
346+
* `--cloud`: Activez le mode cloud. Il s'agit d'un indicateur générique pour tout fournisseur de cloud.
347+
* `--azure`: Activez la prise en charge spécifique à Azure.
348+
* `--ssh-host <hostname>`: L'hôte SSH pour les connexions cloud.
349+
* `--ssh-user <username>`: L'utilisateur SSH pour les connexions cloud.
350+
* `--ssh-password <password>`: Le mot de passe SSH pour les connexions cloud.
351+
* `--ssh-identity-file <path>`: Le chemin d'accès au fichier d'identité SSH pour les connexions cloud.
352+
353+
Supporto Cloud (Italian)
354+
--
355+
356+
MySQLTuner ora ha il supporto sperimentale per i servizi MySQL basati su cloud.
357+
358+
* `--cloud`: Abilita la modalità cloud. Questo è un flag generico per qualsiasi provider di cloud.
359+
* `--azure`: Abilita il supporto specifico per Azure.
360+
* `--ssh-host <hostname>`: L'host SSH per le connessioni cloud.
361+
* `--ssh-user <username>`: L'utente SSH per le connessioni cloud.
362+
* `--ssh-password <password>`: La password SSH per le connessioni cloud.
363+
* `--ssh-identity-file <path>`: Il percorso del file di identità SSH per le connessioni cloud.
364+
365+
Поддержка облачных сервисов (Russian)
366+
--
367+
368+
MySQLTuner теперь имеет экспериментальную поддержку облачных сервисов MySQL.
369+
370+
* `--cloud`: Включить облачный режим. Это общий флаг для любого облачного провайдера.
371+
* `--azure`: Включить специальную поддержку Azure.
372+
* `--ssh-host <hostname>`: SSH-хост для облачных подключений.
373+
* `--ssh-user <username>`: SSH-пользователь для облачных подключений.
374+
* `--ssh-password <password>`: SSH-пароль для облачных подключений.
375+
* `--ssh-identity-file <path>`: Путь к файлу идентификации SSH для облачных подключений.
376+
329377
HTML reports based on Python Jinja2
330378
--
331379

0 commit comments

Comments
 (0)