Advertisement
Guest User

Untitled

a guest
Jun 29th, 2016
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. [client]
  2. host = localhost
  3. user = username.
  4. password = thepassword
  5. socket = /var/run/mysqld/mysqld.sock
  6. #database = mysql
  7.  
  8. mysql_config_editor set --host=db.host.org --user=dbuser --password
  9.  
  10. mysql_config_editor set --login-path=db2 --host=db2.host.org --user=dbuser --password
  11.  
  12. mysql --login-path=db2
  13.  
  14. mysql_config_editor print --all=true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement