Error establishing a database connection นอกจากรีสตาท host แล้วทำไงได้บ้าง

เริ่มโดย SearchMarketing, 07 มิถุนายน 2011, 13:45:29

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

SearchMarketing

อ้างถึงError establishing a database connection

This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.

    Are you sure you have the correct username and password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?

ช่วงที่หนักๆ มันมักจะขึ้นแบบนี้

Error establishing a database connection

นอกจากรีสตาท host แล้วทำไงได้บ้าง

ตอนนี้ graceful restart อย่างเดียว ซึ่งใช้เวลานาน

restart service ตัวไหน แล้วแก้ปัญหาตรงจุดได้บ้างครับ

:wanwan019:

framing


zidit

ต้อง optimize db แล้วครับ ถ้าเปนบ่อยๆ เป็นไปได้หลายสาเหตุ ถ้าเว็บเราทราฟฟิกไม่เยอะ แต่ยังเปน อาจจะเกิดจาก max_connection ตั้งไว้น้อยเกินไป

~~~เทพ Google Ad ~~~

หervice mysqld restart ดู Config Mysql ด้วยนะครับ Max connect ตั้งไว้เท่าไร่ และอย่าลืม repair + optimize db ด้วยนะครับ