Closed chary1112004 closed 4 days ago
Hi @chary1112004,
I'm sorry for the late response.
The bitnami/wordpress has the value overrideDatabaseSettings
which is designed for this specific scenario.
That value will set the env variable 'WORDPRESS_OVERRIDE_DATABASE_SETTINGS' to true
, triggering the following logic in the container: https://github.com/bitnami/containers/blob/main/bitnami/wordpress/6/debian-12/rootfs/opt/bitnami/scripts/libwordpress.sh#L377-L395
Otherwise, the Wordpress container won't update the database and will continue to use the database set in the persisted configuration file.
Hi @migruiz4,
Thank you for your information. As we have wordpress for testing then I have done workaround by delete pv and pvc. Maybe in future we will need to use this one.
Then we could close this ticket.
Thanks!
Name and Version
bitnami/wordpress 23.1.7
What architecture are you using?
None
What steps will reproduce the bug?
Step 1: Deploy mariadb in same namespace Step 2: Deploy wordpress Step 3: Switch mariadb in same namespace to external database in aws rds mariadb Step 4: Verify connection in mariadb successfully
Are you using any custom parameters or values?
What is the expected behavior?
Wordpress could connect to external mariadb that enable ssl instead of database is deployed same namespace
What do you see instead?
Log in wordpress:
Additional information
No response