in reply to Re^3: Reading host from defaults file with DBD::mysql
in thread Reading host from defaults file with DBD::mysql
Actually, I think I've identified the problem. It appears it is working as long as there are NO SPACES in the setting lines in the MySQL defaults file. If there are spaces around the "=", the setting is not read.
So a defaults file containing:
[mysql] user=fred host=mydb.localdomain password=BANANA
works, but:
[mysql] user = fred host = mydb.localdomain password = BANANA
does not.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Reading host from defaults file with DBD::mysql
by pryrt (Abbot) on Feb 01, 2019 at 15:28 UTC | |
by parv (Parson) on Feb 01, 2019 at 18:32 UTC | |
by pryrt (Abbot) on Feb 01, 2019 at 20:16 UTC | |
by Llew_Llaw_Gyffes (Scribe) on Feb 01, 2019 at 20:59 UTC | |
by parv (Parson) on Feb 04, 2019 at 09:29 UTC | |
|
Re^5: Reading host from defaults file with DBD::mysql
by Anonymous Monk on Feb 01, 2019 at 05:05 UTC |