Database password problems

Although database passwords have no limitations in what characters can be used, the use of the $ sign may cause failure on some hosts. An internal escaping of the character, introduced in Zenphoto 1.6.1, has been removed again in 1.6.7 as it actually broke such passwords that otherwise work on some hosts.

Tests showed a rather random behaviour regarding the position of the $ within the password. On some hosts it matters and on some it does not. Also some hosts like our own do not allow the $ sign (and even some other chars) at all.

If you encounter issues best contact your host or simply don't use the $ sign. If needed you can always try to escape characters in the config file manually. 

Creative Commons LicenseThis text by www.zenphoto.org is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

Code examples are released under the GPL v2 or later license

For questions and comments please use the forum or discuss on the social networks.

Related items