Skip to content

Instantly share code, notes, and snippets.

@jaikt
Created September 24, 2021 08:05
Show Gist options
  • Save jaikt/389db0c2ec1da09b192c5a760ffea509 to your computer and use it in GitHub Desktop.
Save jaikt/389db0c2ec1da09b192c5a760ffea509 to your computer and use it in GitHub Desktop.
Edit database dredentials in WordPress
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'database_name_here' );
/** MySQL database username */
define( 'DB_USER', 'username_here' );
/** MySQL database password */
define( 'DB_PASSWORD', 'password_here' );
/** MySQL hostname */
define( 'DB_HOST', 'localhost' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment