mysql and locale fail

Discussion in 'Linux Ubuntu' started by andreadodo, Mar 27, 2015.

  1. andreadodo

    andreadodo New Member

    Joined:
    Mar 27, 2015
    Messages:
    4
    Likes Received:
    0
    hello everyone

    I created the sd with the latest release of udubuntu (UDOObuntu_quad_v1.1).

    but I have problems with my sql and local.

    I have installed the web server by following the steps of the site (http://www.udoo.org/ProjectsAndTutorial ... eb-server/) but arrived at the mysql password step crashes, and the error is always going:
    Local : Can not set LC_CTYPE to default local: No such file or directory
    Local: Can not set LC_MESSAGES to default Local: No such file or directory
    Local: Can not set LC_ALL to default Local: No such file or directory
    or similar

    something I'm wrong?
     
  2. fetcher

    fetcher Member

    Joined:
    Mar 9, 2014
    Messages:
    166
    Likes Received:
    20
    Try editing the file /etc/locale.gen, uncommenting the locale(s) you want to use by removing the hash marks in front. For example, I uncommented

    en_US ISO-8859-1
    en_US.UTF-8 UTF-8

    but you may want different ones for your language and region.

    Afterwards, run "sudo locale-gen" to build the locales based on this config file. On Debian that utility is in /usr/sbin ... I don't have Ubuntu available to check, but would assume it's similar enough.
     
  3. andreadodo

    andreadodo New Member

    Joined:
    Mar 27, 2015
    Messages:
    4
    Likes Received:
    0
    i don't have locale.gen in /etc ?!
     
  4. andreadodo

    andreadodo New Member

    Joined:
    Mar 27, 2015
    Messages:
    4
    Likes Received:
    0
    I solved following this guide "https://mauriziosiagri.wordpress.com/2013/02/28/perl-warning-please-check-that-your-locale-settings-lc_all-unset/"

     
  5. fetcher

    fetcher Member

    Joined:
    Mar 9, 2014
    Messages:
    166
    Likes Received:
    20
    This may be a difference between Debian and Ubuntu, which are normally very similar. On Debian /etc/locale.gen already exists as part of the standard installation. Glad you got it solved!
     

Share This Page