It seems not possible anymore to use a hyphen in a MySQL database name (like "joomla-cms").
Install Joomla and use a database name with a hyphen in the name, for example joomla-cms
In Joomla 3.x you could use a hyphen in the database name.
I would expect to do the same in Joomla 4.
Trying to use a MySQL database called "joomla-cms" resulted in the following warning:
The database name is invalid. It must start with a letter, followed by alphanumeric characters.
A workaround is to use an underscore instead, like joomla-cms
Joomla 4.0-dev
PHP 7.2.17-1
MySQL 5.5.5-10.1.37-MariaDB-0+deb9u1
Title |
|
Labels |
Added:
J4 Issue
|
Closed as having Pull Request.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-04-21 11:37:41 |
Closed_By | ⇒ | franz-wohlkoenig |
This is the relevant line in the code
joomla-cms/installation/src/Model/DatabaseModel.php
Line 183 in 6a360e9