Mygoguryeo – Tin mới nhất, hot nhất, được xem nhiều nhất

Main Menu

  • Home
  • Bất Động Sản
  • Công Nghệ
  • Làm Đẹp
  • Phong Thuỷ
  • Khác
    • Tin Hot
    • Tổng Hợp
    • Âm Nhạc
    • Ẩm Thực
    • Game
    • Giải Trí
    • Giáo Dục

logo

Mygoguryeo – Tin mới nhất, hot nhất, được xem nhiều nhất

  • Home
  • Bất Động Sản
  • Công Nghệ
  • Làm Đẹp
  • Phong Thuỷ
  • Khác
    • Tin Hot
    • Tổng Hợp
    • Âm Nhạc
    • Ẩm Thực
    • Game
    • Giải Trí
    • Giáo Dục
  • Mua bán bất động sản Hà Nam liệu có dễ như bạn nghĩ?

  • Nếu bạn muốn tối ưu hóa Windows 10, hãy dành vài phút để thử các mẹo này để tăng tốc PC của bạn

  • CHUẨN BỊ THI LÁI XE

  • Moreland – "Death Culture" (Official Music Video) | BVTV Music

  • Why and How To Lip Buzz! | "L for Lip Buzzing" | Trumpet A-Z, S01E12

Công Nghệ
Home›Công Nghệ›Fix “Error Establishing a Database Connection”

Fix “Error Establishing a Database Connection”

By admin
May 3, 2020
4



How to Fix the Error Establishing a Database Connection :

If you have been surfing the web for a while, you have at least seen this error a few times.
Error Establishing a Database Connection is one of those curses that could be caused by many reasons.
As a WordPress beginner, this could be awfully frustrating specially when it happened on its own without you changing anything.

Note: Before you make any database changes, make sure you have backup of your database file and WP-config.PHP file.

Please follow the below steps :

1 Log in to cPanel

2 Go to the WordPress directory and then click on WP-config.php.

3 As I mentioned, WordPress uses a specific username and password to connect to the database which looks like :

define(‘DB_NAME’, ‘some_db’);
define(‘DB_USER’, ‘some_username’);
define(‘DB_PASSWORD’, ‘some_pass’);
define(‘DB_HOST’, ‘localhost’);

4 Make sure username and password must match with the credentials you created in MySQL Database in cPanel.

Once the username and password will same in wp-config.php script and MySQL Database section in cpanel Error will resolve.

Some More Solutions easy one to check if still you face the issue ;

1 Go to MySQL database Option in Cpanel and then choose the database and click on Repair Database.

2 You can also rename the plugin and theme folder if the issue continues.

3 Final Solution download the wp-config.php from the WordPress site which is mentioned below and update the username password and database name .

Download WordPress default files :

Thanks for watching this video

Please like and subscribe for more videos

Nguồn: https://mygoguryeo.net

Xem thêm bài viết khác: https://mygoguryeo.net/cong-nghe/

Xem thêm Bài Viết:

  • Nếu bạn muốn tối ưu hóa Windows 10, hãy dành vài phút để thử các mẹo này để tăng tốc PC của bạn
  • Điều Gì Xảy Ra Nếu Bạn Ngừng Thủ Dâm ?
  • Tiếng Anh React #5 – Surprise livestream chữa lỗi
  • Lỗi Hẹn – Lý Hải
  • Học Word cấp tốc ✔ Bài 2 ► Chỉnh sửa kích thước trang và tạo Header và Footer
Previous Article

Dự báo Thời tiết ngày 30/04/2019 Tây ...

Next Article

Bài 7 : HƯỚNG DẪN VẼ NẾP ...

Related articles More from author

  • Công Nghệ

    Hướng dẫn cách chuyển file PDF sang WORD online miễn phí

    April 26, 2020
    By admin
  • Công Nghệ

    Clickbuy – Những mặt lợi và hại của smartphone

    April 23, 2020
    By admin
  • Công Nghệ

    Nên kinh doanh online trên Facebook cá nhân hay Fanpage Facebook

    April 28, 2020
    By admin
  • Công Nghệ

    HƯỚNG DẪN KHẮC PHỤC LỖI KHÔNG VÀO ĐƯỢC FACEBOOK LITE

    May 26, 2020
    By admin
  • Công Nghệ

    Nhạc Trẻ Remix, Việt Mix NONSTOP 2020 Vinahouse, LK Nhạc Trẻ Remix Gây Nghiện Hay Nhất Hiện Nay 2020

    May 11, 2020
    By admin
  • Công Nghệ

    Microsoft office 2003/2007/2010 product activation failed(Solution in Bangla)

    May 13, 2020
    By admin

4 comments

  1. ritnesh rai 3 May, 2020 at 07:59 Reply

    Hey thanks man!!
    Wonderful video
    I am really impressed to see that you have provided such an interesting information about WordPress.
    I was struggling with the same issue since last 3 days and finally solved it. Anyways can you suggest me some better option to get cheap linux hosting other than redserverhost.com

  2. INDIA HOSTING DADDY 3 May, 2020 at 07:59 Reply

    best services

  3. Rakshit Jain 3 May, 2020 at 07:59 Reply

    nice video..but i want to know can it come all of a sudden automatically with the site going on fine and i did not change anything??

  4. Mohit Patel 3 May, 2020 at 07:59 Reply

    hi
    pls help me with that

Leave a reply Cancel reply

  • Ẩm Thực

    Hướng dẫn cách chuyển file ảnh sang PDF trên Windows 10

  • Game

    How Sion Works (Under 2 Minutes)

  • Tin Hot

    Then Yunho Opens the Passenger Seat Door…. Lee Yeon Hee!!!!! [Home Alone Ep 300]

Tìm Kiếm

Bài Đăng Mới Nhất

  • Mua bán bất động sản Hà Nam liệu có dễ như bạn nghĩ?
  • Nếu bạn muốn tối ưu hóa Windows 10, hãy dành vài phút để thử các mẹo này để tăng tốc PC của bạn
  • CHUẨN BỊ THI LÁI XE
  • Moreland – "Death Culture" (Official Music Video) | BVTV Music
  • Why and How To Lip Buzz! | "L for Lip Buzzing" | Trumpet A-Z, S01E12

Xem Theo Ngày

January 2021
M T W T F S S
« Sep    
 123
45678910
11121314151617
18192021222324
25262728293031

Thông Tin

  • Chính Sách Bảo Mật
  • Liên Hệ

Lưu Trữ

  • January 2021
  • September 2020
  • June 2020
  • May 2020
  • April 2020
  • August 2019

Tìm Kiếm

  • Chính Sách Bảo Mật
  • Liên Hệ
Designed by Mygoguryeo