Why my tables' names are converted into lowercase in phpmyadmin?

谁都会走 提交于 2019-11-30 01:29:43

There is a directive for forcing table names to lower case.

You want to set the lower_case_table_names value to 0.

You can read more about it from MySQL documentation here

I've tried what's been suggested here, i must inform that

lower_case_table_names = 0

doesn't work in xampp, it crashes MySQL service at the moment you restart it. Yet

lower_case_table_names = 2

didn't crash, and apparently worked... at least it allowed me to insert a db with camel case.

In windows the default value for lower_case_table_names = 1.

You need to change or add this value to my.ini file in your mysql folder..

If this line is not found, then add it under [mysqld]

lower_case_table_names = 0

And then restart the wamp services, it will work :D

You must find file my.ini in your mysql folder and change, or add this line:

lower_case_table_names value = 0

It was not phpmyadmin. Mysql did this.

p.s. It is a bad maner to use camelCase in databases. Use_underlines. :)

You need to find file my.ini in your mysql folder and change, or add this line at bottom:

lower_case_table_names = 2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!