Timeline for Use the output and exit code of a mysql command in an if statement
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 23, 2018 at 13:47 | comment | added | Kusalananda♦ | Can't you just redirect standard error from mysql to /dev/null? Or do you still want to see other possible errors and warnings? | |
| May 23, 2018 at 13:24 | answer | added | jlh | timeline score: 0 | |
| Dec 21, 2017 at 18:54 | vote | accept | dimmech | ||
| Oct 19, 2017 at 5:03 | comment | added | Wildcard | See unix.stackexchange.com/a/205184/135943 for how to fix this securely. | |
| Oct 19, 2017 at 3:35 | comment | added | dimmech | Because if you read my question, you'd see that I answered that preemptively. The script specifically works by reading in a file and I don't want to change that! | |
| Oct 19, 2017 at 2:29 | comment | added | Wildcard | Is there no other way to pass the password than on the command line? Why not fix the problem you are being warned about, rather than silencing the (valid) error message? | |
| Oct 19, 2017 at 1:53 | answer | added | icarus | timeline score: 1 | |
| Oct 19, 2017 at 1:07 | history | asked | dimmech | CC BY-SA 3.0 |