Skip to content

Instantly share code, notes, and snippets.

@rianrainey
Last active December 11, 2015 22:08
Show Gist options
  • Save rianrainey/4666850 to your computer and use it in GitHub Desktop.
Save rianrainey/4666850 to your computer and use it in GitHub Desktop.
Drupal 7 settings.php database snippet
$databases = array (
'default' =>
array (
'default' =>
array (
'database' => 'dbname_db',
'username' => '',
'password' => '',
'host' => '127.0.0.1',
'port' => '',
'driver' => 'mysql',
'prefix' => '',
),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment