4637 Posts in 1399 Topics by 1393 members
|Go to End|
23 January 2013 at 3:56am
I tried two ways to move my local site to a live server:
1. I copied all the files from my local machine to the live server, created the database and imported my local database.
Got server errors.
2. Installed silverstripe on my live server 2 problems:
2.1 It creates the database collation as latin1_swedish when I want it utf8_general_ci
2.2 Tt creates all the table names with Capital letters and then when I import my local database I get all my local tables as well which are named with small letters for example:
table name: group_members
table name: Group_Members
How do I fix that?
23 January 2013 at 10:05am
I'm guessing you probably use Windows on your local machine and the server is Unix. You probably want to configure MySQL lower_case_table_names=2 on your Windows machine so that the table names are cased in the same way to the server (not lower case).
23 January 2013 at 7:17pm
Thank you, is there anyway for me to fix this problem now after everything has been created already?
Is there no way to just copy all the files from my local machine to the live server without installing silverstrip online?
24 January 2013 at 10:39am
Not sure if there is an easier way but you could dump the MySQL from your local into a file, then replace all the references to table names in the file so that they are "capitalised" and will therefore match the names of the tables on the server when you import the data...
24 January 2013 at 6:28pm
Thanks, that's an idea. Anyway, for now I stopped developing with Silverstripe until I get an answer about fileinfo
|Go to Top|