[Bug]: Failed to initialize the database. Procedure
See original GitHub issuePreflight 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:
- Created a year ago
- Comments:5
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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: 写入错误: 断开的管道
DATABASE dongtai_webapi IS A new database。