GithubHelp home page GithubHelp logo

Comments (7)

ansgarbecker avatar ansgarbecker commented on May 25, 2024 1

I guess you meant "higher or equal" to 10.10.1
Anyway, without knowing when or if MySQL handles full collation names, it's a bit tricky. I could probably query the IS table and silence an error if the "full..." column does not exist.

from heidisql.

ansgarbecker avatar ansgarbecker commented on May 25, 2024

This is not a valid request. Please provide some details about what you would like to have changed in HeidiSQL.

from heidisql.

gabrielrbarbosa avatar gabrielrbarbosa commented on May 25, 2024

Does heidiSql provide utf8mb4_1400_ai_ci collation for example? I coundt find it

from heidisql.

ansgarbecker avatar ansgarbecker commented on May 25, 2024

HeidiSQL provides all collations the server returns from SHOW COLLATION. Other collations not returned by that query are not supported.

from heidisql.

gabrielrbarbosa avatar gabrielrbarbosa commented on May 25, 2024

Using SHOW COLLATION I could only find "uca1400_ai_ci", then I found more details here:

SELECT * FROM INFORMATION_SCHEMA.COLLATION_CHARACTER_SET_APPLICABILITY WHERE COLLATION_NAME LIKE 'uca1400_ai_ci';`
 
| COLLATION_NAME | CHARACTER_SET_NAME | FULL_COLLATION_NAME   | ID   | IS_DEFAULT |
|----------------|--------------------|-----------------------|------|------------|
| uca1400_ai_ci  | utf8mb3            | utf8mb3_uca1400_ai_ci | 2048 |            |
| uca1400_ai_ci  | ucs2               | ucs2_uca1400_ai_ci    | 2560 |            |
| uca1400_ai_ci  | utf8mb4            | utf8mb4_uca1400_ai_ci | 2304 |            |
| uca1400_ai_ci  | utf16              | utf16_uca1400_ai_ci   | 2816 |            |
| uca1400_ai_ci  | utf32              | utf32_uca1400_ai_ci   | 3072 |            |

Can we use that full_collation_name maybe or is it already implicit depending on charset chosen?

from heidisql.

ansgarbecker avatar ansgarbecker commented on May 25, 2024

No, HeidiSQL's table designer leaves the charset away from the CREATE code. So it will always use the default full collation. And the user is not able to provide a collation different to the default one (e.g. utf8mb3_uca1400_ai_ci).
Means HeidiSQL needs to query IS.COLLATION_CHARACTER_SET_APPLICABILITY if the server version supports that.
Please provide the exact version number where MariaDB started to support that. Probably MySQL (8?) also has that FULL_COLLATION_NAME?

Btw, MySQL Workbench also does not support full collation names: https://bugs.mysql.com/bug.php?id=102456

from heidisql.

gabrielrbarbosa avatar gabrielrbarbosa commented on May 25, 2024

All MariaDB versions higher than 10.10.1
https://jira.mariadb.org/browse/MDEV-27009
https://mariadb.com/kb/en/mariadb-10101-changelog/

from heidisql.

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.