Skip to content

Commit 3ebd694

Browse files
committed
README: Improve example
1 parent 3fdf6f2 commit 3ebd694

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,15 @@ $ pip install myloginpath
1313

1414
## Example
1515

16+
Create login path file with `mysql_config_editor` command:
17+
1618
```console
1719
$ mysql_config_editor set --login-path=client --host=localhost --user=localuser --password
1820
Enter password: <Type password here>
1921
```
2022

23+
Use it from Python:
24+
2125
```python
2226
import myloginpath, MySQLdb
2327
conf = myloginpath.parse('client')

0 commit comments

Comments
 (0)