Closed mreis1 closed 1 year ago
!
is part of bash's history expansion. Enclosing the whole connection string in single quotes instead of double quotes or turning off history expansion in your shell should fix the problem.
This is a shell question, not a SOCI question, but the answer is to use single quotes around the connection string.
./soci_firebird_test "service=localhost:DB_ALIAS user=SYSDBA password=masterkey!2"
will outputbash: !2: event not found
because my password has a exclamation mark.How is it suppose to escape it? Tried wrapping the value in quotes but had no luck.
./soci_firebird_test "service=localhost:DB_ALIAS user=SYSDBA password=\"masterkey!2\""
Any suggestions? Thank you