All tools/MySQL

MySQL

mysql

mysql is a simple SQL shell with input line editing capabilities.

Detected by mysql | macOS, Linux, Windows |dev.mysql.com

Sync rules

What travels, what stays, what never leaves
MySQL in your home directory Every rule on this page, by file
user = octocat
host = db.example.com
port = 3306
socket = /tmp/mysql.sockmachine-local
password = "FAKEclientPassword"
default-character-set = utf8mb4

Each machine keeps its own copy of these.

password

Lifted into your secret store; the rest of the file syncs.

· ~/.mysql_history Exclude
· ~/.mylogin.cnf Never synced
· %APPDATA%/MySQL/.mylogin.cnf Never synced

Only what the catalog names. A directory that syncs brings everything inside it except what is listed as excluded here.

Use it with your dotfile manager

Same data, in the shape your tool already reads
Opens Otty and adds this tool to what it syncs

Opens otty://sync/add/mysql. Otty ships with this catalog, so the link only has to name the tool — nothing is downloaded.

Every one of these keeps all credential files out. None of them splits socket for you — that part is Otty’s own sync, or a template you write by hand.