Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

wp db problem

By: marioo on Sep 26th, 2012  |  syntax: HTML  |  size: 3.08 KB  |  hits: 33  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. /**
  3. * The base configurations of the WordPress.
  4. *
  5. * This file has the following configurations: MySQL settings, Table Prefix,
  6. * Secret Keys, WordPress Language, and ABSPATH. You can find more information
  7. * by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
  8. * wp-config.php} Codex page. You can get the MySQL settings from your web host.
  9. *
  10. * This file is used by the wp-config.php creation script during the
  11. * installation. You don't have to use the web site, you can just copy this file
  12. * to "wp-config.php" and fill in the values.
  13. *
  14. * @package WordPress
  15. */
  16. // ** MySQL settings - You can get this info from your web host ** //
  17. /** The name of the database for WordPress */
  18. define('DB_NAME', 'targetdb');
  19. /** MySQL database username */
  20. define('DB_USER', 'target');
  21. /** MySQL database password */
  22. define('DB_PASSWORD', 'targetpw');
  23. /** MySQL hostname */
  24. define('DB_HOST', 'localhost');
  25. /** Database Charset to use in creating database tables. */
  26. define('DB_CHARSET', 'utf8');
  27. /** The Database Collate type. Don't change this if in doubt. */
  28. define('DB_COLLATE', '');
  29.  
  30. /**#@+
  31. * Authentication Unique Keys and Salts.
  32. *
  33. * Change these to different unique phrases!
  34. * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
  35. * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
  36. *
  37. * @since 2.6.0
  38. */
  39. define('AUTH_KEY',         'put your unique phrase here');
  40. define('SECURE_AUTH_KEY',  'put your unique phrase here');
  41. define('LOGGED_IN_KEY',    'put your unique phrase here');
  42. define('NONCE_KEY',        'put your unique phrase here');
  43. define('AUTH_SALT',        'put your unique phrase here');
  44. define('SECURE_AUTH_SALT', 'put your unique phrase here');
  45. define('LOGGED_IN_SALT',   'put your unique phrase here');
  46. define('NONCE_SALT',       'put your unique phrase here');
  47.  
  48. /**#@-*/
  49.  
  50. /**
  51. * WordPress Database Table prefix.
  52. *
  53. * You can have multiple installations in one database if you give each a unique
  54. * prefix. Only numbers, letters, and underscores please!
  55. */
  56. $table_prefix  = 'wp_';
  57.  
  58. /**
  59. * WordPress Localized Language, defaults to English.
  60. *
  61. * Change this to localize WordPress. A corresponding MO file for the chosen
  62. * language must be installed to wp-content/languages. For example, install
  63. * de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
  64. * language support.
  65. */
  66. define('WPLANG', '');
  67.  
  68. /**
  69. * For developers: WordPress debugging mode.
  70. *
  71. * Change this to true to enable the display of notices during development.
  72. * It is strongly recommended that plugin and theme developers use WP_DEBUG
  73. * in their development environments.
  74. */
  75. define('WP_DEBUG', false);
  76.  
  77. /* That's all, stop editing! Happy blogging. */
  78. /** Absolute path to the WordPress directory. */
  79. if ( !defined('ABSPATH') )
  80.         define('ABSPATH', dirname(__FILE__) . '/');
  81. /** Sets up WordPress vars and included files. */
  82. require_once(ABSPATH . 'wp-settings.php');