Cannot login to openemr after a computer restart following a successful install

After Installing the openemr7.0.2 in windows 11(Home ) ver 23H2 using XAMPP
Apache 2.4.58

  • MariaDB 10.4.32
  • PHP 8.2.12 (VS16 X86 64bit thread safe) + PEAR
  • phpMyAdmin 5.2.1
  • OpenSSL 1.1.1p
  • ADOdb 518a

It installs flawlessly. there is no issue operating the software after the first log in. Even on returning to it after a logout there is no problem and everything works fine, however if a computer restart is performed the login screen does not appear. only a white blank screen, happened after a recent windows update. tried to roll back update but no joy. attaching the error logs if any help is highly appreciated.

[Wed Sep 18 07:50:55.595897 2024] [php:error] [pid 15996:tid 1900] [client 127.0.0.1:49995] PHP Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, bool given in C:\xampp\htdocs\openemr\vendor\adodb\adodb-php\drivers\adodb-mysqli.inc.php:1370\nStack trace:\n#0 C:\xampp\htdocs\openemr\vendor\adodb\adodb-php\drivers\adodb-mysqli.inc.php(1370): mysqli_query(false, 'SET NAMES ‘utf8…’, 0)\n#1 C:\xampp\htdocs\openemr\vendor\adodb\adodb-php\adodb.inc.php(1613): ADODB_mysqli->_query('SET NAMES ‘utf8…’, false)\n#2 C:\xampp\htdocs\openemr\vendor\adodb\adodb-php\drivers\adodb-mysqli.inc.php(1113): ADOConnection->_Execute('SET NAMES ‘utf8…’)\n#3 C:\xampp\htdocs\openemr\library\ADODB_mysqli_log.php(60): ADODB_mysqli->execute('SET NAMES ‘utf8…’, false)\n#4 C:\xampp\htdocs\openemr\library\sql.inc.php(66): ADODB_mysqli_log->ExecuteNoLog('SET NAMES ‘utf8…’)\n#5 C:\xampp\htdocs\openemr\interface\globals.php(301): require_once(‘C:\\xampp\\htdocs…’)\n#6 C:\xampp\htdocs\openemr\interface\login\login.php(41): require_once(‘C:\\xampp\\htdocs…’)\n#7 {main}\n thrown in C:\xampp\htdocs\openemr\vendor\adodb\adodb-php\drivers\adodb-mysqli.inc.php on line 1370

Check you mysql parameters user, password, host etc.

Thank you , already checked, re installed openemr but everytime same outcome . Is there an issue in accessing the files/tables etc ?

What i would do is install a fresh copy of openemr in a different folder, but in the same enviornment.
If that works fine then open /sites/default/conf_sql.php file and just change the database settigns to point to the older openemr database.