Installation stuck: ERROR. Check your login credentials. unable to connect to database as root - Xampp Macos Sierra

benzev wrote on Sunday, February 12, 2017:

I have followed instructions from http://open-emr.org/wiki/index.php/XAMPP_and_OpenEMR_Installation_in_OS_X I am using a MacBook Pro with Macos Sierra 10.12.3 , with XAMPP 7.1.1-0 and the Windows version of OpenEMR 4.2.2 and Firefox 51.0.1 (64-bit) as the browser

There are plenty of ‘Notices’ along the way e.g. :

Notice: Undefined index: state in /Applications/XAMPP/xamppfiles/htdocs/openemr/setup.php on line 14

Notice: Undefined index: iuser in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 13

Notice: Undefined index: iuserpass in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 14

Notice: Undefined index: iuname in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 15

Notice: Undefined index: iufname in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 16

There are more Notices, the above is just an example

**HOWEVER, the installation proceeds until Step 3 and then stops there with:
**
Notice: Undefined index: source_site_id in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 28

Notice: Undefined index: clone_database in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 29

Notice: Undefined index: no_root_db_access in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 30

Notice: Undefined index: development_translations in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 31
OpenEMR Setup

Step 3

Configuring OpenEMR…

Connecting to MySQL Server…
Warning: mysqli_connect(): (HY000/2002): No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 470
ERROR. Check your login credentials. unable to connect to database as root

What should I do? Where should I start?

Thanks

Ben

benzev wrote on Sunday, February 12, 2017:

I had a look at the Xampp Manager-Osx app and found Apache operating (greenlight) but not Mysql, which i started manually, when back to Step 2 of the installation and proceeded to a FATAL ERROR:

Notice: Undefined index: igroup in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 17

Notice: Undefined index: server in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 18

Notice: Undefined index: loginhost in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 19

Notice: Undefined index: port in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 20

Notice: Undefined index: root in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 21

Notice: Undefined index: rootpass in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 22

Notice: Undefined index: login in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 23

Notice: Undefined index: pass in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 24

Notice: Undefined index: dbname in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 25

Notice: Undefined index: collate in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 26

Notice: Undefined index: source_site_id in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 28

Notice: Undefined index: no_root_db_access in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 30

Notice: Undefined index: development_translations in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/classes/Installer.class.php on line 31
OpenEMR Setup

Notice: Undefined index: inst in /Applications/XAMPP/xamppfiles/htdocs/openemr/setup.php on line 171
Step 4

Installing and Configuring Access Controls (php-GACL)…

Fatal error: Cannot unset $this in /Applications/XAMPP/xamppfiles/htdocs/openemr/library/adodb/adodb-xmlschema.inc.php on line 160

bradymiller wrote on Wednesday, February 15, 2017:

See following post:
https://sourceforge.net/p/openemr/discussion/202505/thread/ecf54663/#62a9