How to Create .mylogin.cnf On a Host Without MySQL Server Installed?; mysql_config_editor (Doc ID 1941576.1)

Last updated on MARCH 08, 2017

Applies to:

MySQL Server - Version 5.6 and later
Information in this document applies to any platform.

Goal

The utility mysql_config_editor that is used to edit the .mylogin.cnf file is distributed with MySQL Server (and MySQL Cluster as it also includes MySQL Server). However for example the MySQL Utility scripts also support login paths so you can have situations where you need to use a login path to get connection options on a host where you do not have mysql_config_editor installed.

This document will discuss the options available to create the .mylogin.cnf file storing the connection options used with login paths.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms