Unable to setup mariadb for a Dolibarr 20.0 installation


  • Version: Dolibarr 20.0
  • Operating System: Mac OS 15.1
  • Web Server: Apache 2.4.62
  • PHP: PHP 8.3.13
  • Database: MariaDB
  • All installed using home-brew
  • URL(s): [Affected URL(s)]

I’ve had very little success in getting Dolibarr 20.0 installed on my Mac, getting the apache server was a hassle but I finally got to a good install of it and now I just need to get the mariadb setup. Problem is that when I try to secure the database for the first time, it tells me access denied for root@localhost. I’ve never set a password up though, is there anything I can do to get past that?

Hi,
as seen on the
List of releases, change log and compatibilities – Dolibarr ERP CRM Wiki
The Maximum PHP should be 8.2, maybe that will help you.

Greetings
Jason.

1 Like

i run on ubuntu with PHP 8.3.6 with Dolibarr 20.0.2 just to info

1 Like

Hello,
I just installed/upgraded to the newest version of Mamp on my Mac.

Before starting the installation of Dolibarr, I created an empty database and created and assigned a username with full privileges. ((I think this is the step you missed.))

During the installation, I entered the database name and username/password combo, leaving all default information as listed (i.e., no port, etc.).

The installation was completed without errors, and I can start the Setup process.

Please let us know if this helps.

I allways use this installation guide

Installieren und Härten von Dolibarr – Dolibarr ERP CRM Wiki

its in german perhaps ypu can translate it online.

I just set up 20.03 on an EC2 instance running your same OS and PHP version. Seems to be working fine.