OC 3038
Any idea what could be the problem? I get a few of them once or twice a week all at the same time.
[15-Sep-2024 08:57:02 UTC] PHP Fatal error: Uncaught Exception: Error: Could not make a database link using mydatabase_username@localhost! in /home/xxxxx/system/library/db/mysqli.php:19
Stack trace:
#0 /home/xxxxx/system/library/db.php(31): DB\MySQLi->__construct('localhost', 'my-database-username...', 'password...', 'my-database...', '3306')
#1 /home/xxxxx/system/framework.php(80): DB->__construct('mysqli', 'localhost', 'my-database-username...', 'password...', 'my-database...', '3306')
#2 /home/xxxxx/system/startup.php(104): require_once('/home/...')
#3 /home/xxxxx/index.php(19): start('catalog')
#4 {main}
thrown in /home/xxxxx/system/library/db/mysqli.php on line 19
[15-Sep-2024 08:57:02 UTC] PHP Fatal error: Uncaught Exception: Error: Could not make a database link using mydatabase_username@localhost! in /home/xxxxx/system/library/db/mysqli.php:19
Stack trace:
#0 /home/xxxxx/system/library/db.php(31): DB\MySQLi->__construct('localhost', 'my-database-username...', 'password...', 'my-database...', '3306')
#1 /home/xxxxx/system/framework.php(80): DB->__construct('mysqli', 'localhost', 'my-database-username...', 'password...', 'my-database...', '3306')
#2 /home/xxxxx/system/startup.php(104): require_once('/home/...')
#3 /home/xxxxx/index.php(19): start('catalog')
#4 {main}
thrown in /home/xxxxx/system/library/db/mysqli.php on line 19
[15-Sep-2024 08:57:02 UTC] PHP Fatal error: Uncaught Exception: Error: Could not make a database link using mydatabase_username@localhost! in /home/xxxxx/system/library/db/mysqli.php:19
Stack trace:
#0 /home/xxxxx/system/library/db.php(31): DB\MySQLi->__construct('localhost', 'my-database-username...', 'password...', 'my-database...', '3306')
#1 /home/xxxxx/system/framework.php(80): DB->__construct('mysqli', 'localhost', 'my-database-username...', 'password...', 'my-database...', '3306')
#2 /home/xxxxx/system/startup.php(104): require_once('/home/...')
#3 /home/xxxxx/index.php(19): start('catalog')
#4 {main}
thrown in /home/xxxxx/system/library/db/mysqli.php on line 19
[15-Sep-2024 08:57:02 UTC] PHP Fatal error: Uncaught Exception: Error: Could not make a database link using mydatabase_username@localhost! in /home/xxxxx/system/library/db/mysqli.php:19
Stack trace:
#0 /home/xxxxx/system/library/db.php(31): DB\MySQLi->__construct('localhost', 'my-database-username...', 'password...', 'my-database...', '3306')
#1 /home/xxxxx/system/framework.php(80): DB->__construct('mysqli', 'localhost', 'my-database-username...', 'password...', 'my-database...', '3306')
#2 /home/xxxxx/system/startup.php(104): require_once('/home/...')
#3 /home/xxxxx/index.php(19): start('catalog')
#4 {main}
thrown in /home/xxxxx/system/library/db/mysqli.php on line 19
Any idea what could be the problem? I get a few of them once or twice a week all at the same time.
[15-Sep-2024 08:57:02 UTC] PHP Fatal error: Uncaught Exception: Error: Could not make a database link using mydatabase_username@localhost! in /home/xxxxx/system/library/db/mysqli.php:19
Stack trace:
#0 /home/xxxxx/system/library/db.php(31): DB\MySQLi->__construct('localhost', 'my-database-username...', 'password...', 'my-database...', '3306')
#1 /home/xxxxx/system/framework.php(80): DB->__construct('mysqli', 'localhost', 'my-database-username...', 'password...', 'my-database...', '3306')
#2 /home/xxxxx/system/startup.php(104): require_once('/home/...')
#3 /home/xxxxx/index.php(19): start('catalog')
#4 {main}
thrown in /home/xxxxx/system/library/db/mysqli.php on line 19
[15-Sep-2024 08:57:02 UTC] PHP Fatal error: Uncaught Exception: Error: Could not make a database link using mydatabase_username@localhost! in /home/xxxxx/system/library/db/mysqli.php:19
Stack trace:
#0 /home/xxxxx/system/library/db.php(31): DB\MySQLi->__construct('localhost', 'my-database-username...', 'password...', 'my-database...', '3306')
#1 /home/xxxxx/system/framework.php(80): DB->__construct('mysqli', 'localhost', 'my-database-username...', 'password...', 'my-database...', '3306')
#2 /home/xxxxx/system/startup.php(104): require_once('/home/...')
#3 /home/xxxxx/index.php(19): start('catalog')
#4 {main}
thrown in /home/xxxxx/system/library/db/mysqli.php on line 19
[15-Sep-2024 08:57:02 UTC] PHP Fatal error: Uncaught Exception: Error: Could not make a database link using mydatabase_username@localhost! in /home/xxxxx/system/library/db/mysqli.php:19
Stack trace:
#0 /home/xxxxx/system/library/db.php(31): DB\MySQLi->__construct('localhost', 'my-database-username...', 'password...', 'my-database...', '3306')
#1 /home/xxxxx/system/framework.php(80): DB->__construct('mysqli', 'localhost', 'my-database-username...', 'password...', 'my-database...', '3306')
#2 /home/xxxxx/system/startup.php(104): require_once('/home/...')
#3 /home/xxxxx/index.php(19): start('catalog')
#4 {main}
thrown in /home/xxxxx/system/library/db/mysqli.php on line 19
[15-Sep-2024 08:57:02 UTC] PHP Fatal error: Uncaught Exception: Error: Could not make a database link using mydatabase_username@localhost! in /home/xxxxx/system/library/db/mysqli.php:19
Stack trace:
#0 /home/xxxxx/system/library/db.php(31): DB\MySQLi->__construct('localhost', 'my-database-username...', 'password...', 'my-database...', '3306')
#1 /home/xxxxx/system/framework.php(80): DB->__construct('mysqli', 'localhost', 'my-database-username...', 'password...', 'my-database...', '3306')
#2 /home/xxxxx/system/startup.php(104): require_once('/home/...')
#3 /home/xxxxx/index.php(19): start('catalog')
#4 {main}
thrown in /home/xxxxx/system/library/db/mysqli.php on line 19
I am using English OpenCart 3.0.3.8, Default Template/Theme, php 7.4, Latest Brave Browser (No Ads-Blocker, etc.)
Thanks! Does that mean a visitor tried to use the website, but it failed to deliver content due to a database connection issue? I’ve noticed I get around 2 minutes of downtime almost daily with HostPapa. How can I check the cause, as this has happened at other times too?
I am using English OpenCart 3.0.3.8, Default Template/Theme, php 7.4, Latest Brave Browser (No Ads-Blocker, etc.)
If it worked before, and you haven't changed your database details, then you should contact your webhost as soon as possible.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Hi,
Thank you guys for your replies.
I changed the password and so far haven't got any errors. I think their SQL server sometimes doesn't like some passwords. It must have some bugs or OC 3038 might have some bugs on this matter. I shall see this in near future and report here.
Thank you guys for your replies.
I changed the password and so far haven't got any errors. I think their SQL server sometimes doesn't like some passwords. It must have some bugs or OC 3038 might have some bugs on this matter. I shall see this in near future and report here.
I am using English OpenCart 3.0.3.8, Default Template/Theme, php 7.4, Latest Brave Browser (No Ads-Blocker, etc.)
I never heard about certain MySQL passwords occasionally causing database access issues. Let us know how it goes after your change.
I still think your DB server was overloaded during certain high traffic times. What kind of web hosting account do you use? VPN?
I still think your DB server was overloaded during certain high traffic times. What kind of web hosting account do you use? VPN?
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Who is online
Users browsing this forum: No registered users and 3 guests