I tried to connect to my database using the MySQL connector with the following connection string:
but the database kept saying that I do not have access. After spending some time checking my access rights, I checked the error message and found that the code is accessing database "enrima", instead of "EnRiMa". And indeed, after changing the database name to "enrima" everything worked.
Code: Select all
So it looks like the database name (or perhaps the whole connection string?) gets casted to lower-case at some point, making it impossible to connect to databases with upper-case letters in them - or is there some way around this?
I really hope there is a workaround for this. Otherwise, I would consider it a serious bug - I cannot tell other people to change the names of their databases, because I cannot deal with upper-case letters..