Gabisa upload wordpress error establishing a database connection

saya bingung mau upload setting config.php nya gimana ya ? saya sudah upload datanya di cpanel tp masih error

Error establishing a database connection

<?php
/**
 * The base configuration for WordPress
 *
 * The wp-config.php creation script uses this file during the
 * installation. You don't have to use the web site, you can
 * copy this file to "wp-config.php" and fill in the values.
 *
 * This file contains the following configurations:
 *
 * * MySQL settings
 * * Secret keys
 * * Database table prefix
 * * ABSPATH
 *
 * @link https://codex.wordpress.org/Editing_wp-config.php
 *
 * @package WordPress
 */

// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'wjtnewuk_wordpress' );

/** MySQL database username */
define( 'DB_USER', 'root' );

/** MySQL database password */
define( 'DB_PASSWORD', '' );

/** MySQL hostname */
define('DB_HOST', 'https://tangerangupdate.com:2083');

/** Database Charset to use in creating database tables. */
define( 'DB_CHARSET', 'utf8mb4' );

/** The Database Collate type. Don't change this if in doubt. */
define( 'DB_COLLATE', '' );

/**#@+
 * Authentication Unique Keys and Salts.
 *
 * Change these to different unique phrases!
 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
 * 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.
 *
 * @since 2.6.0
 */
define( 'AUTH_KEY',         'fby-0KiSVDNT/uF#%mq.V+LId77!h:U|,1*LdDs<WlK+ <#uX=DiZ!i9DCSkN*1l' );
define( 'SECURE_AUTH_KEY',  ']8I0$}v {0ikM~.[i7Y5kl:&<g&:T=EF`++~A >:=8/xa4ZJO9u7FC2=5a]W tlp' );
define( 'LOGGED_IN_KEY',    'D^5I_ff!Lpf{6tw,@iE3C[}o5FOSXA8!9.~,FkSIe=KD4W?0qqp[_)3s(P`&#DV>' );
define( 'NONCE_KEY',        'wB^U%+b$]^,L,A[s~V3s<icrfYG)O]~d<>cwr$or=F8<7]5Hk+^_>2ZZ7CDX?+.2' );
define( 'AUTH_SALT',        'Xtt|%19y8u=b2Qn$>aShU`J#9_XGcO(#O|HDO`@z7D~{uF^M(,%5`}-/4TB|;+o@' );
define( 'SECURE_AUTH_SALT', 'SwLw%MR.t;(V3O*eY8ff&-Yx,DqIG@ty@b$)j}ngyhFTSUMq 3 ~H&yP$#5%nM-%' );
define( 'LOGGED_IN_SALT',   'iF-Cyr8X7#QH{;$6f75.HH%RS!q54km=7Ue;uRfV;1OSZQC8j0%NP>%X@pwN}+]k' );
define( 'NONCE_SALT',       '5:7-Rp8Eu*T/l-<j`xLA mE_d*/n&:^a;VJ.a]+(;LiJDqkcNw^B7~;q;-6$M=}B' );

/**#@-*/

/**
 * 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 = 'wp_';

/**
 * For developers: WordPress debugging mode.
 *
 * Change this to true to enable the display of notices during development.
 * It is strongly recommended that plugin and theme developers use WP_DEBUG
 * in their development environments.
 *
 * For information on other constants that can be used for debugging,
 * visit the Codex.
 *
 * @link https://codex.wordpress.org/Debugging_in_WordPress
 */
define( 'WP_DEBUG', false );

/* That's all, stop editing! Happy publishing. */

/** Absolute path to the WordPress directory. */
if ( ! defined( 'ABSPATH' ) ) {
	define( 'ABSPATH', dirname( __FILE__ ) . '/' );
}

/** Sets up WordPress vars and included files. */
require_once( ABSPATH . 'wp-settings.php' );

avatar abubakar
@abubakar

72 Kontribusi 19 Poin

Diperbarui 5 tahun yang lalu

1 Jawaban:

DB_USER ama DB_PASSWORD nya masih kosong

avatar driyan
@driyan

193 Kontribusi 109 Poin

Dipost 5 tahun yang lalu

Tanggapan

cara melihat db user & password sm host nya gimana ya?

tergantung tempat hosting agan, biasanya di pengaturan ada

Login untuk ikut Jawaban