Permalink
Browse files

updated the template to dynamically fill in the username and password…

… for the db as well as use the external ip for connection
  • Loading branch information...
1 parent 472d6df commit d85e4b4589c578b732df5c332d382480185aae42 Kevin Gray committed Oct 29, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 cookbooks/wordpress/templates/default/db-config.php.erb
@@ -183,9 +183,9 @@ $wpdb->tcp_responsiveness_check = true;
* the 'global' dataset. (Every table is in 'global' by default.)
*/
$wpdb->add_database(array(
- 'host' => 'db-master-<%= @region %>.internal', // If port is other than 3306, use host:port.
- 'user' => 'USE_NODE_ATTRIBUTE',
- 'password' => 'USE_NODE_ATTRIBUTE',
+ 'host' => 'db-master-<%= @region %>.reserve.dyntini.com', // If port is other than 3306, use host:port.
+ 'user' => '<%= @user %>',
+ 'password' => '<%= @password %>',
'name' => 'wordpress',
'write' => <%= @dbmw %>,
'read' => <%= @dbmr %>,

0 comments on commit d85e4b4

Please sign in to comment.