question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug]: Failed to initialize the database. Procedure

See original GitHub issue

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for an issue that matches the one I want to file, without success.
  • I am not looking for support or already pursued the available support channels without success.

Version

1.8.3

Installation Type

Official Kubernetes

Service Name

Deploy(DongTai-deploy)

Describe the details of the bug and the steps to reproduce it

Failed to initialize the database. Procedure Using the command cat *.sql | mysql -uroot -p --default-character-set=utf8mb4 dongtai_webapi

ERROR 1267 (HY000) at line 110405: Illegal mix of collations (utf8mb4_0900_ai_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT) for operation ‘=’ cat: 写入错误: 断开的管道

Current Database character-set-server=utf8mb4 collation-server=utf8mb4_general_ci

Additional Information

ERROR 1267 (HY000) at line 110405: Illegal mix of collations (utf8mb4_0900_ai_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT) for operation ‘=’ cat: 写入错误: 断开的管道

Logs

ERROR 1267 (HY000) at line 110405: Illegal mix of collations (utf8mb4_0900_ai_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT) for operation '='
cat: 写入错误: 断开的管道

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
Changegocommented, Sep 8, 2022

CREATE DATABASE dongtai_webapi CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; cat *.sql | mysql -uroot -p --default-character-set=utf8mb4 dongtai_webapi You still get The error ERROR 1267 (HY000) at line 110405: Illegal mix of collations (utf8mb4_0900_ai_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT) for operation ‘=’ cat: 写入错误: 断开的管道

0reactions
Changegocommented, Sep 8, 2022

DATABASE dongtai_webapi IS A new database。

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fatal errors on fresh installation on macOS: `Failed to initialize ...
Bug description $ /usr/local/netdata/usr/sbin/netdata 2022-10-14 ... on fresh installation on macOS: Failed to initialize database #13827.
Read more >
MySQL 8.0.11 database initialization failed with Unknown ...
Bug #91615, MySQL 8.0.11 database initialization failed with Unknown ... Starting process with command: C:\Program Files\MySQL\MySQL Server ...
Read more >
61793 - ERROR:web_data_service.cc(639)] Cannot initialize ...
Issue 61793: ERROR:web_data_service.cc(639)] Cannot initialize the web database: 1. Reported by schedule ralf....@gmail.com ralf.
Read more >
Search Error: Failed to initialize database - Page 3 - Adobe Support ...
The Search tab shows Error: Failed to initialize database. This occurs when I compile locally and to the server. Running MJ's Diagnostics did...
Read more >
Attempt to map database failed | Apple Developer Forums
I get a ton of these errors when trying to share a two-item list containing String and UISimpleTextPrintFormatter.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found