Last active
June 10, 2021 06:56
Revisions
-
jansanchez revised this gist
Dec 10, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # MySQL lower case table names sensitive in linux ### Type in your terminal -
jansanchez revised this gist
Dec 10, 2013 . 1 changed file with 19 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,6 +12,25 @@ sudo vim /etc/mysql/my.cnf lower_case_table_names=1 ``` ### It will look like ``` [mysqld] # # * Basic Settings # lower_case_table_names=1 user = mysql pid-file = /var/run/mysqld/mysqld.pid socket = /var/run/mysqld/mysqld.sock port = 3306 basedir = /usr datadir = /var/lib/mysql tmpdir = /tmp lc-messages-dir = /usr/share/mysql skip-external-locking ``` ### Restart mysql ``` -
jansanchez revised this gist
Dec 10, 2013 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,21 +1,21 @@ # MySQL case sensitive in linux ### Type in your terminal ``` sudo vim /etc/mysql/my.cnf ``` ### Edit the file adding the entry lower_case_table_names=1 just under the group definition: [mysqld] ``` lower_case_table_names=1 ``` ### Restart mysql ``` sudo service mysql restart ``` ### Enjoy! -
jansanchez renamed this gist
Dec 10, 2013 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
jansanchez created this gist
Dec 10, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ # MySQL case sensitive in linux ### type in your terminal ``` sudo vim /etc/mysql/my.cnf ``` ### edit the file adding the entry lower_case_table_names=1 just under the group definition: [mysqld] ``` lower_case_table_names=1 ``` ### restart mysql ``` sudo service mysql restart ``` ### enjoy!