I would like escape a character %
in file : parameters.yml, because my password begin by %
database_driver3: pdo_sqlsrv
database_host3: 192.168.10.10
database_port3: 1455
database_name3: MyDB
database_user3: sa
database_password3: %ABC$Admin_2012%
What I really should be doing ?
The easiest way is to simply add quotes to the values you want to escape
database_password3: "%ABC$Admin_2012%"
OR by using double % credit - skowron-line
database_password3: %%ABC$Admin_2012%%
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With