資料庫連結錯誤DatabaseError: SQLSTATE[HY000] [2002] Cannot assign requested address
Fatal error: Uncaught Error: Call to a member function query() on null in /var/www/public/Connections/conhappy.php:44 Stack trace: #0 /var/www/public/Connections/connect2data.php(45): getdata->dataGet('SELECT * FROM d...') #1 /var/www/public/index.php(22): require_once('/var/www/public...') #2 {main} thrown in /var/www/public/Connections/conhappy.php on line 44