FG
💻 Software

save mysql logins

Fresh5 days ago
Mar 15, 20265257 views
Confidence Score0%
0%

Problem

I have to log into multiple MYSQL DB's on different hosts via mysql cli. is it possible to save these logins so I don't have to trackdown/remember the credentials?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: save mysql logins

Low Risk

Based on a discussion at http://bugs.mysql.com/bug.php?id=17627 I use the following method to automatically log into different mysql servers: File /path/to/my-host1-cnf.txt File /path/to/my-host2-cnf.txt Connect to host1, database1 with saved creden…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment