Login | Forgot password | Register
What is OpenID?
OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.
With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.
For more information visit the official OpenID site.
Archive
SilverStripe Forums » Archive » mysql lower case table names in Windows
Our old forums are still available as a read-only archive.
|
Page:
1
|
Go to End | |
| Author | Topic: mysql lower case table names in Windows | 1082 Views |
-
mysql lower case table names in Windows

27 February 2008 at 5:44am
I am surprised this isn't talked about more because it is an issue if you want to keep local and remote sites syncronized. My question is "Is this recommended? If I change this setting now, will it screw up the several SS sites I already have running on my local? "
"Because windows is case-insensitive, when you create a MySQL table or export tables for use on a linux system, all table names will be lowercase by default. This will cause problems when the dump imported into MySQL on linux, as any calls to the original mixed case tables will result in errors, as these tables don’t actually exist.
To fix this, you can look for the setting: lower_case_table_names in your my.ini file, found in or around: C:\Program Files\MySQL\MySQL Server 4.1, depending on which version you are running. If you don’t find the setting, you can just add it to the end of the my.ini file, as I did, like so:
lower_case_table_names=0
Remember to restart the MySQL service before you test whether or not it works.
You can also set this value to 2 if you want, and then: “MySQL converts them to lowercase on lookup. Name comparisons are not case sensitive.â€"
-
Re: mysql lower case table names in Windows

27 February 2008 at 10:27am
To me it isn't an issue. There's no real reason to have a local and a remote copy of the same DB since ss supports draft changes that you can preview before publishing them. For testng of course, you need some data to test on, but it doesn't have to be a copy of the live site.
| 1082 Views | ||
|
Page:
1
|
Go to Top |
Currently Online: paul.mcilwaine, motly, jondbaker, sicp
Welcome to our latest member: fearofbuttons

