· 7 years ago · Jun 20, 2018, 07:44 AM
1Error establishing a database connection
2
3<?php
4/**
5 * The base configuration for WordPress
6 *
7 * The wp-config.php creation script uses this file during the
8 * installation. You don't have to use the web site, you can
9 * copy this file to "wp-config.php" and fill in the values.
10 *
11 * This file contains the following configurations:
12 *
13 * * MySQL settings
14 * * Secret keys
15 * * Database table prefix
16 * * ABSPATH
17 *
18 * @link https://codex.wordpress.org/Editing_wp-config.php
19 *
20 * @package WordPress
21 */
22
23// ** MySQL settings - You can get this info from your web host ** //
24/** The name of the database for WordPress */
25define('DB_NAME', 'database_working');
26
27/** MySQL database username */
28define('DB_USER', 'secret');
29
30/** MySQL database password */
31define('DB_PASSWORD', 'secret');
32
33/** MySQL hostname */
34define('DB_HOST', 'localhost ');
35
36/** Database Charset to use in creating database tables. */
37define('DB_CHARSET', 'utf8mb4');
38
39/** The Database Collate type. Don't change this if in doubt. */
40define('DB_COLLATE', '');
41
42/**#@+
43 * Authentication Unique Keys and Salts.
44 *
45 * Change these to different unique phrases!
46 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
47 * 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.
48 *
49 * @since 2.6.0
50 */
51define('AUTH_KEY', 'Y;PfM~+cT(^ibz@3bG-e~(x<Ab4ID@cQVMC^sqO;#N1u8]wT{zWJJQ)Hv1d49p+X');
52define('SECURE_AUTH_KEY', '%=co|p5it*f_;,TdT:#DO4%aVx,]Kv@:{*W/NtsVS)OywSY:$R]{eX0a7#k<w{~v');
53define('LOGGED_IN_KEY', 'Vc`4&udHwGw9D(}H=.X7rPJ$5{I@Ie;T`o :NuMn_RuYXmWjuD=?GF?^l$<2_aGR');
54define('NONCE_KEY', '._fl/[2qmaD$xW+)!na-2qQbsAa*AB$6B={UYiAR,A|%61*U%C!e:fTICtKPvxl;');
55define('AUTH_SALT', '5}|v/i}*:ugwG|Sh]U#Hf/?Q23/ZO1v<h6W>7pDx4{5},6&W+NZ)|<&yI$FU2ANR');
56define('SECURE_AUTH_SALT', 'N@+W-NKI]vHdtZ[i=UV2b01tuL!,U&YZ}xH0+V8Tq~xv&;Y<Cxk,!`j1W]pf?hXS');
57define('LOGGED_IN_SALT', 'cQ3AoO*a}0U/f%[MqH^U%;83-<.!B )B*OLyP<.*fg2w k39zQC3H#<r5V7h,nzF');
58define('NONCE_SALT', '<b4$^SZ)8r1}F>*1aDYyJ6X$sF=F=H*dLfsrMvQ+cLfpKB6]GL&i0m8P6ab[a`TZ');
59
60/**#@-*/
61
62/**
63 * WordPress Database Table prefix.
64 *
65 * You can have multiple installations in one database if you give each
66 * a unique prefix. Only numbers, letters, and underscores please!
67 */
68$table_prefix = 'wp_';
69
70/****************************************************************************/
71/* Multisite Configuration */
72/****************************************************************************/
73define( 'WP_ALLOW_MULTISITE', true );
74define('MULTISITE', true);
75define('SUBDOMAIN_INSTALL', false);
76define('DOMAIN_CURRENT_SITE', 'mylocal-copy.test');
77define('PATH_CURRENT_SITE', '/');
78define('SITE_ID_CURRENT_SITE', 1);
79define('BLOG_ID_CURRENT_SITE', 1);
80
81/****************************************************************************/
82/* General WordPress Settings */
83/****************************************************************************/
84define('WPLANG', '');
85define('WP_DEBUG', true);
86define('WP_CACHE', false);
87define('WP_DEBUG_LOG', false);
88
89
90/* That's all, stop editing! Happy blogging. */
91
92/** Absolute path to the WordPress directory. */
93if ( !defined('ABSPATH') )
94 define('ABSPATH', dirname(__FILE__) . '/');
95
96/** Sets up WordPress vars and included files. */
97require_once(ABSPATH . 'wp-settings.php');