gamonoid / icehrm

Manage your employees easily with a robust and efficient Human Resource Management System
http://icehrm.com
Other
567 stars 368 forks source link

Incorrect credentials or Incorrect DB host: No such file or directory #298

Open kopestik opened 2 years ago

kopestik commented 2 years ago

Note: I am using Docker.

This error shows in the Installation Page when I click Test Database Connectivity. The credentials I used is this (password is dev): image

However, when I log in MySQL Workbench, the credentials is working. I also tried to create a new user but still the same error.

What do you think is the problem?

ChKaEs commented 2 years ago

I had similar problems and ended up dong the manual installation instead. I had initially tried while I had php 8 running, so I don't know if that was the issue. I had to revert to php 7 because iCE is not yet compatible with php 8.

kopestik commented 2 years ago

@ChKaEs yes the manual installation is working on my end too, but it would be better if the Docker one is working too

thilinah commented 2 years ago

This issue should be fixed with the latest release: https://github.com/gamonoid/icehrm/releases/tag/v32.1.0.OS

9160602200 commented 1 year ago

use mysql 5.7 and it will work