Add a variable to facilitate the use of an external MySQL database.
This commit is contained in:
parent
00b96d485e
commit
10cdbfd5b5
|
@ -39,6 +39,8 @@ wordpress_local_mysql: True
|
|||
|
||||
wordpress_db_name: wp_db
|
||||
wordpress_db_user: wp_user
|
||||
# If you change that, you must set the wordpress_local_mysql variable to False
|
||||
wordpress_db_host: localhost
|
||||
wordpress_db_table_prefix: 'mywp_'
|
||||
# wordpress_db_pwd: 'use a vault file'
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
define("DB_NAME", "{{ wordpress_db_name }}");
|
||||
define("DB_USER", "{{ wordpress_db_user }}");
|
||||
define("DB_PASSWORD", "{{ wordpress_db_pwd }}");
|
||||
define("DB_HOST", "localhost");
|
||||
define("DB_HOST", "{{ wordpress_db_host }}");
|
||||
define("DB_CHARSET", "utf8");
|
||||
define("DB_COLLATE", "");
|
||||
|
||||
|
|
Loading…
Reference in New Issue