.(dot) character is not being accepted in database name |
Strictly speaking, dot character in database names might not be supported by all database engines and versions. Indeed it is supported in latest mySQL/MariaDB, but it was not like that before: https://dev.mysql.com/doc/refman/8.0/en/...fiers.html
Also, dot character is used in fully qualified names (my_db.my_table.my_column), that should be quoted separately: `my_db`.`my_table`.`my_column`. This is exactly wha CI4 is doing when finds a dot in DB config: treats it as a qualifier separator, and quotes parts before and after it separately. Interesting thought, that database name in mySQL does not have a qualifier - this is covered in docs, https://dev.mysql.com/doc/refman/8.0/en/...fiers.html However, in other DB engines (e.g. MS SQL, Oracle come to my mind) situation might be different: my_server.my_db.my_schema for instance. So we could change it for particular DB Driver, if it makes sense at all. |
Messages In This Thread |
.(dot) character is not being accepted in database name - by cijagani - 03-12-2020, 01:13 AM
RE: .(dot) character is not being accepted in database name - by zahhar - 03-12-2020, 07:05 AM
RE: .(dot) character is not being accepted in database name - by cijagani - 03-12-2020, 11:13 AM
|