Code Monkey home page Code Monkey logo

Comments (3)

epcim avatar epcim commented on September 17, 2024

Please see also a sous-chefs/mysql#222

from cookbook-gitlab-deprecated.

atomic-penguin avatar atomic-penguin commented on September 17, 2024

That should be the default charset for mysql, I would think. I can take a look into submitting a patch against the mysql, or database, cookbooks this weekend.

from cookbook-gitlab-deprecated.

epcim avatar epcim commented on September 17, 2024

Well latin1 is probably default for mysql, however all the other attributes are set to UTF8 already. So switching gitlab database to utf8 (or to encoding value from attribute) will make the cookbook ready for an international deployment.

Cmd's to list actual configuration..

mysql> show variables like 'char%';
mysql> show variables like 'collation%';

In my case only character_set_database after the deployment was latin1 (other were utf8). Proper settings might be done on the database cookbook side (setting a default encoding for databases to utf-8) which would fit the most and many other cookbooks/apps would benefit from it. However, honestly, it's a gitlab script that creates the DB and it should properly state it's encoding. (ommitting leads to ootb latin1 and breaks actually the internationall usage at the very begging).

Anyway, my thanks in advance...

from cookbook-gitlab-deprecated.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.