I have a MySQL password with special chars "%" and "$". How can I use it with Symfony2/Doctrine2 and .yml files?
I try: "pa%s$s" 'pa%s$s' pa%s$s and it didn't work.
I have a MySQL password with special chars "%" and "$". How can I use it with Symfony2/Doctrine2 and .yml files?
I try: "pa%s$s" 'pa%s$s' pa%s$s and it didn't work.
The answer is: Escaping: "%" char Use: "%%"
Example: "pa%s%s" should be: "pa%%s%%s"