kristijanhusak / vim-dadbod-ui

Simple UI for https://github.com/tpope/vim-dadbod
MIT License
1.36k stars 69 forks source link

Prompt for password #204

Open sQVe opened 8 months ago

sQVe commented 8 months ago

Hey, 👋

I'm confused after going through the issues here and on dadbod, since it seems like there should be support for prompting for password input. I'm trying to connect to a password protected MySQL database, but I'm unable to do so unless I add the password when inputting the connection - which in turn saves the password in clear text in XDG_DATA_HOME.

Is there a way for me to add connections to password protected databases without saving the password on file?

Stianhn commented 4 months ago

@sQVe you can use the mysql-config-editor to create a login-path. https://dev.mysql.com/doc/refman/8.0/en/mysql-config-editor.html