dolthub / go-mysql-server

A MySQL-compatible relational database with a storage agnostic query engine. Implemented in pure Go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

utf8mb3_tolower_ci not implemented

mikelee666 opened this issue · comments

commented

When importing mysql dump, I had a error:

mysql -uroot --protocol TCP --port 8039 < mysql_dump.sql
ERROR 1105 (HY000) at line 35: The collation utf8mb3_tolower_ci has not yet been implemented

We don't have that collation yet. @Hydrocharged will implement it today and get a release.

@mikelee666 We'd love to learn about your use case too. Feel free to email me or swing by our Discord if you want to chat.

commented

I'm using dolt for replication for mysql8

Great! We think the replication use case is a great one.

commented

another Question: did the dolt which use as replication of mysql support api interface ?

So you're Dolt replica is a MySQL compatible server. It can answer SQL queries from any MySQL client. That is an "API interface"

If you want a web-based API, you have to push the database to DoltHub or DoltLab.

https://docs.dolthub.com/products/dolthub/dolthub-api

Those act as a remote (in the Git context):

https://docs.dolthub.com/concepts/dolt/git/remotes

You can set up your replica to "push on write" to a remote:

https://docs.dolthub.com/sql-reference/server/replication#configuring-a-primary

commented

Mysql also have UTF8MB4_GENERAL_CI, UTF8MB4_0900_AI_CI and so on, did the new release version implemented those?

commented

So you're Dolt replica is a MySQL compatible server. It can answer SQL queries from any MySQL client. That is an "API interface"

If you want a web-based API, you have to push the database to DoltHub or DoltLab.

Can I use DoltLab as a replication for mysql?

Mysql also have UTF8MB4_GENERAL_CI, UTF8MB4_0900_AI_CI and so on, did the new release version implemented those?

These are the current supported collations: https://docs.dolthub.com/sql-reference/sql-support/miscellaneous#collations-and-character-sets

Can I use DoltLab as a replication for mysql?

No. DoltLab's Dolt is offline. You need a running Dolt to act as a replica.

commented

Mysql also have UTF8MB4_GENERAL_CI, UTF8MB4_0900_AI_CI and so on, did the new release version implemented those?

These are the current supported collations: https://docs.dolthub.com/sql-reference/sql-support/miscellaneous#collations-and-character-sets

Could I miss database "mysql" by setting REPLICATE_IGNORE_TABLE, what side effect may happen?

Mysql also have UTF8MB4_GENERAL_CI, UTF8MB4_0900_AI_CI and so on, did the new release version implemented those?

These are the current supported collations: https://docs.dolthub.com/sql-reference/sql-support/miscellaneous#collations-and-character-sets

Could I miss database "mysql" by setting REPLICATE_IGNORE_TABLE, what side effect may happen?

I don't think by default the mysql database is replicated.

This collation is in the 1.1.0 release.

commented

This collation is in the 1.1.0 release.

thx