Solusi error error establishing a database connection
di wordpress
Caranya :
1. di public html - cari kode wp-confiq.php terus di buka dong
2. cari kode dibawah ini :
* @package WordPress
*/
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', ' NAMA DATABASE ANDA');
/** MySQL database username */
define('DB_USER', 'NAMA USER ANDA');
/** MySQL database password */
define('DB_PASSWORD', 'PASWORD ANDA');
/** MySQL hostname */
define('DB_HOST', 'localhost');
/** 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', '');
3. rubah yang berwarna merah dengan akun anda di hosting pada waktu buat database
di wordpress
Caranya :
1. di public html - cari kode wp-confiq.php terus di buka dong
2. cari kode dibawah ini :
* @package WordPress
*/
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', ' NAMA DATABASE ANDA');
/** MySQL database username */
define('DB_USER', 'NAMA USER ANDA');
/** MySQL database password */
define('DB_PASSWORD', 'PASWORD ANDA');
/** MySQL hostname */
define('DB_HOST', 'localhost');
/** 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', '');
3. rubah yang berwarna merah dengan akun anda di hosting pada waktu buat database