mysql cli doesn't accept -p option in command line
Bug #2041493 reported by
Mats Luspa
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.7 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I'm running Ubuntu Bionic 18.04.6 LTS and the mysql version is "mysql Ver 14.14 Distrib 5.7.42, for Linux (i686) using EditLine wrapper".
The bug is that -p option doesn't work but --password option works in command line. For example:
This doesn't work:
mysql -u <username> -p <password> < sql.txt
But this work:
mysql -u <username> --password=
/Regards Mats
summary: |
- mysql cli doesn'rt accept -p option in command line + mysql cli doesn't accept -p option in command line |
To post a comment you must log in.
It seems that you now must not have a space between -p and password, like -p<password>. But it has worked with space so this must have been changed.