Skip to content

Commit

Permalink
Change worpress databses and base url. #47
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuNls committed Jul 9, 2015
1 parent d5cab67 commit f2fd889
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions blog/watch-tips/wp-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,23 @@
* @package WordPress
*/

define('WP_HOME','https://toolwatch.io/blog/watch-tips/');
define('WP_SITEURL','https://toolwatch.io/blog/watch-tips/');

$url = parse_url(getenv("CLEARDB_DATABASE_URL"));

// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'heroku_569fb1a070c9a16');
define('DB_NAME', substr($url["path"], 1));

/** MySQL database username */
define('DB_USER', 'bf5857955eb8a1');
define('DB_USER', $url["user"]);

/** MySQL database password */
define('DB_PASSWORD', 'f5e774f8');
define('DB_PASSWORD', $url["pass"]);

/** MySQL hostname */
define('DB_HOST', 'us-cdbr-iron-east-02.cleardb.net');
define('DB_HOST', $url["host"]);

/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');
Expand Down

0 comments on commit f2fd889

Please sign in to comment.