Fatal error on startup

I am getting the following error. Any help?

Fatal error : Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, bool given in D:\xampp8.2\htdocs\openemr\vendor\adodb\adodb-php\drivers\adodb-mysqli.inc.php:1150 Stack trace: #0 D:\xampp8.2\htdocs\openemr\vendor\adodb\adodb-php\drivers\adodb-mysqli.inc.php(1150): mysqli_query(false, 'SET NAMES ‘utf8…’, 0) #1 D:\xampp8.2\htdocs\openemr\vendor\adodb\adodb-php\adodb.inc.php(1318): ADODB_mysqli->_query('SET NAMES ‘utf8…’, false) #2 D:\xampp8.2\htdocs\openemr\vendor\adodb\adodb-php\adodb.inc.php(1295): ADOConnection->_Execute('SET NAMES ‘utf8…’, false) #3 D:\xampp8.2\htdocs\openemr\library\ADODB_mysqli_log.php(60): ADOConnection->Execute('SET NAMES ‘utf8…’, false) #4 D:\xampp8.2\htdocs\openemr\library\sql.inc(66): ADODB_mysqli_log->ExecuteNoLog('SET NAMES ‘utf8…’) #5 D:\xampp8.2\htdocs\openemr\interface\globals.php(301): require_once(‘D:\xampp8.2\htd…’) #6 D:\xampp8.2\htdocs\openemr\sql_upgrade.php(48): require_once(‘D:\xampp8.2\htd…’) #7 {main} thrown in D:\xampp8.2\htdocs\openemr\vendor\adodb\adodb-php\drivers\adodb-mysqli.inc.php on line 1150

Hello @fmgard -
Welcome to the forum, hope you find what you’re looking for.
Over in the Support category they have a template to collect useful information for questions such as yours so the devs who want to answer you can know what your situation is. Here you go!
Best- Harley

Situation
Describe your problem here

OpenEMR Version
I’m using OpenEMR version

Browser:
I’m using:

Operating System
I’m using:

Logs
Did you check the logs?
Was there anything pertinent in them?
Please paste them here (surround with three backticks (```) for readability.
You can also turn on User Debugging under Administration->Globals->Logging User Debugging Options=>All

Situation
Fatal error on trying to open

OpenEMR Version
7.0

Browser:
I’m using: Google Chrome 106.0.5249.119

Operating System
I’m using: Windows 11

Logs
Did you check the logs? no can’t get to open.

Here is what I get: Fatal error : Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, bool given in D:\xampp8.2\htdocs\openemr\vendor\adodb\adodb-php\drivers\adodb-mysqli.inc.php:1150 Stack trace: #0 D:\xampp8.2\htdocs\openemr\vendor\adodb\adodb-php\drivers\adodb-mysqli.inc.php(1150): mysqli_query(false, 'SET NAMES ‘utf8…’, 0) #1 D:\xampp8.2\htdocs\openemr\vendor\adodb\adodb-php\adodb.inc.php(1318): ADODB_mysqli->_query('SET NAMES ‘utf8…’, false) #2 D:\xampp8.2\htdocs\openemr\vendor\adodb\adodb-php\adodb.inc.php(1295): ADOConnection->_Execute('SET NAMES ‘utf8…’, false) #3 D:\xampp8.2\htdocs\openemr\library\ADODB_mysqli_log.php(60): ADOConnection->Execute('SET NAMES ‘utf8…’, false) #4 D:\xampp8.2\htdocs\openemr\library\sql.inc(66): ADODB_mysqli_log->ExecuteNoLog('SET NAMES ‘utf8…’) #5 D:\xampp8.2\htdocs\openemr\interface\globals.php(301): require_once(‘D:\xampp8.2\htd…’) #6 D:\xampp8.2\htdocs\openemr\interface\login\login.php(38): require_once(‘D:\xampp8.2\htd…’) #7 {main} thrown in D:\xampp8.2\htdocs\openemr\vendor\adodb\adodb-php\drivers\adodb-mysqli.inc.php on line 1150

hi @fmgard , can you log in to the database with your credentials in sites/default/sqlconf.php?