My host says the databse has to much traffic - this however is not my concern right now, what is though is the fact the error shown publicly is the db security login details!!!!Warning: mysqli::mysqli(): (HY000/2002): Connection timed out in /var/sites/q/foobar.com/public_html/system/library/db/mysqli.php on line 7Warning: DB\MySQLi::__construct(): Couldn't fetch mysqli in /var/sites/q/foobar.com/public_html/system/library/db/mysqli.php on line 10Warning: DB\MySQLi::__construct(): Couldn't fetch mysqli in /var/sites/q/foobar.com/public_html/system/library/db/mysqli.php on line 10
Fatal error: Uncaught exception 'Exception' with message 'Error: <br />Error No: ' in /var/sites/q/foobar.com/public_html/system/library/db/mysqli.php:10 Stack trace: #0 /var/sites/q/foobar.com/public_html/system/library/db.php(31): DB\MySQLi->__construct('99.169.0.170', 'questing_uam3', 'tgfrtyc897t8g3fu...', 'questing_ubm3', '3306') #1 /var/sites/q/foobar.com/public_html/system/framework.php(481): DB->__construct('mysqli', '99.169.0.170', 'questing_ubm3', 'tgfrtyc897t8g3fu...', 'questing_uam3', '3306') #2 /var/sites/q/foobar.com/public_html/system/startup.php(104): require_once('/var/sites/q/qu...') #3 /var/sites/q/foobar.com/public_html/index.php(38): start('catalog') #4 {main} thrown in /var/sites/q/foobar.com/public_html/system/library/db/mysqli.php on line 10
How can this be prevented should this happen again?
Thanks in advance
Roger