orangehrm / orangehrm

OrangeHRM is a comprehensive Human Resource Management (HRM) System that captures all the essential functionalities required for any enterprise.
GNU General Public License v3.0
740 stars 538 forks source link

Database name validity issue #1800

Open manjujidagi opened 3 months ago

manjujidagi commented 3 months ago

OrangeHRM version

5.6

Environment details

Screenshot 2024-02-01 at 4 31 55 PM

Describe the bug

The database name orangehrm-3231319527 is valid name but the application says its invalid.

The reason given by application is - 'Database name should not contain special characters'.

But the database can have - in the name

To reproduce

No response

Expected behavior

No response

Relevant log output

No response

ManulMax commented 3 months ago

Hi @manjujidagi , You are true about database can have - in the name . You can add special character to the database name. But in most database management systems it is recommended to avoid such special character in database name.

manjujidagi commented 3 months ago

Yes @ManulMax, but until that is allowed by DB providers, the application should allow it ( may be with a warning )

tomslux commented 2 months ago

Exactly the same Problem here... Big Hoster like HostEurope are forcing those "-" in database names... so I can't install this project on my webhost...