Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change all db tables and text fields to utf8_general_ci collation #19

Open
richjoslin opened this issue Feb 18, 2012 · 3 comments
Open

Comments

@richjoslin
Copy link
Owner

I didn't think it would matter, but now it does. Certain MySQL string functions don't like when a field has one collation and a table has another. Changing them all to the same thing should prevent further issues.

@jaybill
Copy link
Collaborator

jaybill commented Feb 18, 2012

There should also be some kind of note in the instructions that you should
create the db like this:

CREATE DATABASE rivety CHARACTER SET utf8 COLLATE utf8_general_ci;

@jaybill
Copy link
Collaborator

jaybill commented Feb 18, 2012

Also, I like to listen to the radio at a reasonable volume while I'm
collating in utf8.

@richjoslin
Copy link
Owner Author

There could also be a command-line script that creates the database, downloads and extracts the tarball, sets proper permissions on certain directories, and copies and renames template files? It prompts you for directory names, database name, passwords, etc when needed. ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants