Installation problems in openemr 7

I am having serious difficulty installing Openemr 7 on my local machine and i have repeatedly been stalked at
step 3 (Creating database and First User).
I have read all through the platform on similar issues but no solution.
Please what can be done to complete the installation.
Thanks

Configuration:
Windows 11
PHP 8
Openemr 7
xampp version 3.3.0

@stephenwaite please kindly help out

@brady.miller please kindly help out

@timothy1,

please post a screenshot of your php error logs as well as your browser console. That would help provide a better understanding of your situation.

@kkappiah thanks for your response.
Herein attached is the screenshot of my php error log
Thanks for your help.
error.log (11.9 KB)

Alright, from your logs, it shows that you have a “problem” in your xampp configuration. Specifically mysql/mariadb configuration.

The MariaDB server is running with the --skip-grant-tables option so it cannot execute this statement in C:\\xampp\\htdocs\\openemr7\\library\\classes\\Installer.class.php:1288\nStack trace:\n#0 C:\\xampp\\htdocs\\openemr7\\library\\classes\\Installer.class.php(1288): mysqli_query(Object(mysqli), 'CREATE USER 'op...')\n#1 C:\\xampp\\htdocs\\openemr7\\library\\classes\\Installer.class.php(243): Installer->execute_sql('CREATE USER 'op...')\n#2 C:\\xampp\\htdocs\\openemr7\\setup.php(1143): Installer->create_database_user()\n#3 {main}\n  thrown in C:\\xampp\\htdocs\\openemr7\\library\\classes\\Installer.class.php on line 1288, referer: http://localhost/openemr7/setup.php?site=default

So you may start resolving your issues from this angle.

check these solutions here

stackoverflow

grepper

1 Like

@kkappiah Thanks for your response. It has been fixed.