Skip to content

Instantly share code, notes, and snippets.

@puikinsh
Last active August 29, 2015 14:27
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 puikinsh/ef1b20c0d4cddca980fb to your computer and use it in GitHub Desktop.
Save puikinsh/ef1b20c0d4cddca980fb to your computer and use it in GitHub Desktop.
This is part of wp-config.php file which helps to change and set table prefix in WordPress. This code snippet is part of article which helps to resolve database connection problems in WordPress. For more information please read this article: https://colorlib.com/wp/fix-error-establishing-database-connection-wordpress/
/**
* WordPress Database Table prefix.
*
* You can have multiple installations in one database if you give each a unique
* prefix. Only numbers, letters, and underscores please!
*/
$table_prefix = 'TablePrefix_';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment