ERRO PDO: SQLSTATE[HY000] [2002] Connection refused
Fatal error: Uncaught Error: Call to a member function query() on null in /home/storage/a/fb/96/sweetfriend1/public_html/controller/view.php:2
Stack trace:
#0 /home/storage/a/fb/96/sweetfriend1/public_html/index.php(6): include()
#1 {main}
thrown in /home/storage/a/fb/96/sweetfriend1/public_html/controller/view.php on line 2