New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with uppercase table and database names #13178
Comments
|
after click on structure,(table and db is lower case) Web server |
|
@stevenwdv & @Pashaaa : Have one of you managed to solve this issue? I have:
phpMyAdmin Web server And getting the following error: |
|
@alexszilagyi Well it's still open so it's probably not resolved :) |
|
@stevenwdv : worth double checking, trying to find a solution or a workaround for this. Thanks! |
|
@alexszilagyi Setting |
|
@stevenwdv : Thanks, did a search on Where |
|
@alexszilagyi Normally in someting like |
|
Got the same error today, undefined table indexes. I am using Mamp on mac and my development environment seems to be broken |
|
Thanks! I got this to work by adding: |
[UPDATE]
|
|
Do these steps: open your MySQL configuration file: [drive]\xampp\mysql\bin\my.ini ^Took this from another forum regarding lowercase issue and it worked fine for me. here's the link of the original post: |
|
https://mariadb.com/kb/en/library/server-system-variables/#lower_case_table_names https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_lower_case_table_names |
Fixes: phpmyadmin#13178 [ci skip] Signed-off-by: William Desportes <williamdes@wdes.fr>
[ci skip] Signed-off-by: William Desportes <williamdes@wdes.fr>
[ci skip] Signed-off-by: William Desportes <williamdes@wdes.fr>
|
Fixed by ca3f027 🎉 |



Steps to reproduce
Set
lower_case_table_names = 1inmy.iniOption 1:
UPPERCASEtestin the databaseUPPERCASEinstead ofuppercase(lower_case_table_names = 1); you are 'redirected' to something likedb_structure.php?server=1&db=UPPERCASE&table=test. This does not happen when using the navigation panel afterwards (which displays lowercase names)Option 2:
lowercaseTESTTESTinstead oftestAdditional info
PHPMyAdmin also throws an error when loading the structure of a table in an uppercase database or the structure of an uppercase table in an uppercase/lowercase database which was created with
lower_case_table_names = 2(so the table/database has an actual uppercase name).E.g. there is a database called
UPPERCASEwith a tabletest, thentbl_structure.php?db=UPPERCASE&table=testthrows an error.This only and always happens when loading up the table with
lower_case_table_names = 1However,
INFORMATION_SCHEMAdoes not seem to be affected by this.This also happens when trying to load table
testwhile it's actually calledTESTiflower_case_table_names = 1.I couldn't test with
lower_case_table_names = 0, because MariaDB does not support this on Windows.Expected behavior
lower_case_table_names = 1utf8mb4_general_ci). Especially not if the name actually contains uppercase characters.Actual behavior
lower_case_table_names = 1setSummary of error messages:
lower_case_table_names = 2TESTin databaselowercaselower_case_table_names-->12tbl_structure.php?db=lowercase&table=testTEST), Works in Firefoxtbl_structure.php?db=lowercase&table=TESTServer configuration
Operating system: Windows 10 x64
Web server: Apache 2.4.25 x86
Database: MariaDB 10.2.5 RC x64
PHP version: 7.1.1 x86
phpMyAdmin version: 4.7.0
Client configuration
Browser: Microsoft Edge 14, Mozilla Firefox 52.0.2
Operating system: Windows 10 x64
The text was updated successfully, but these errors were encountered: