Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Most obvious posibilities:</p> <ul> <li>error in <strong>my.cnf</strong> -- I would need to see exactly what is in your my.cnf file</li> <li><strong>my.cnf</strong> is in the wrong location</li> <li>mysql server doesn't read <strong>my.cnf</strong> because of the command-line settings</li> <li>mysql server overrides the settings from <strong>my.cnf</strong> with the command-line settings</li> </ul> <p>Show what's in your <strong>my.cnf</strong> file, what's its path, and how exactly you restart the server, and I will ellaborate on my answer.</p> <p><strong>UPDATE:</strong> You shouldn't use value "2" on UNIX (or any system that has case-sensitive file system)</p> <p>From the manual (<a href="http://dev.mysql.com/doc/refman/5.0/en/identifier-case-sensitivity.html" rel="nofollow">http://dev.mysql.com/doc/refman/5.0/en/identifier-case-sensitivity.html</a>):</p> <blockquote> <p>If you are using MySQL on only one platform, you do not normally have to change the <strong>lower_case_table_names</strong> variable from its default value. However, you may encounter difficulties if you want to transfer tables between platforms that differ in file system case sensitivity. For example, on Unix, you can have two different tables named <strong>my_table</strong> and <strong>MY_TABLE</strong>, but on Windows these two names are considered identical. To avoid data transfer problems arising from lettercase of database or table names, you have two options:</p> <p>Use <strong>lower_case_table_names=1</strong> on all systems. The main disadvantage with this is that when you use <strong>SHOW TABLES</strong> or <strong>SHOW DATABASES</strong>, you do not see the names in their original lettercase.</p> <p>Use <strong>lower_case_table_names=0</strong> on <strong>Unix</strong> and <strong>lower_case_table_names=2</strong> on <strong>Windows</strong>. This preserves the lettercase of database and table names. The disadvantage of this is that you must ensure that your statements always refer to your database and table names with the correct lettercase on Windows. If you transfer your statements to Unix, where lettercase is significant, they do not work if the lettercase is incorrect.</p> <p><strong>Exception</strong>: If you are using <strong>InnoDB</strong> tables and you are trying to avoid these data transfer problems, you should set <strong>lower_case_table_names</strong> to <strong>1</strong> on all platforms to force names to be converted to lowercase.</p> </blockquote> <p>What are you trying to accomplish? Why do you want to set it to 2?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload