You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using RHEL7, with Postgres 11.2. Accessing the CMS/website works great and there are no database issues. However, whenever a database back-up is performed, it fails, with a misleading error stating that the user can not be authenticated with Postgres. Evidently, it was because my database user's password contained a "$" symbol. This is escaped properly when performing queries as user's browse the site, however, it is not performed when executing the "PGPASSWORD="<password" pg_dump....." command. There may be other special characters that would result in the same error and I am not sure if MySQL would have similar problems. For me, I just changed the "$" to a "*" and everything works great. Keep up the great work, I'm loving Craft!
Steps to reproduce
Setup an instance of Craft CMS with Postgres.
Give the database user a password that contains a "$" symbol.
Attempt to back-up the database.
Additional info
Craft version: 3.1.21.1
PHP version: 7.3.4
Database driver & version: PostgreSQL 11.2
The text was updated successfully, but these errors were encountered:
Description
I am using RHEL7, with Postgres 11.2. Accessing the CMS/website works great and there are no database issues. However, whenever a database back-up is performed, it fails, with a misleading error stating that the user can not be authenticated with Postgres. Evidently, it was because my database user's password contained a "$" symbol. This is escaped properly when performing queries as user's browse the site, however, it is not performed when executing the "PGPASSWORD="<password" pg_dump....." command. There may be other special characters that would result in the same error and I am not sure if MySQL would have similar problems. For me, I just changed the "$" to a "*" and everything works great. Keep up the great work, I'm loving Craft!
Steps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: