Skip to content

Instantly share code, notes, and snippets.

@SyntaxC4
Created November 24, 2012 19:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SyntaxC4/4141035 to your computer and use it in GitHub Desktop.
Save SyntaxC4/4141035 to your computer and use it in GitHub Desktop.
Custom WordPress WP-CONFIG.PHP MySQL section for use on Windows Azure Web Sites.
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', getenv('WP_DB_NAME'));
/** MySQL database username */
define('DB_USER', getenv('WP_DB_USER'));
/** MySQL database password */
define('DB_PASSWORD', getenv('WP_DB_PASSWORD'));
/** MySQL hostname */
define('DB_HOST', getenv('WP_DB_HOST'));
/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');
/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment