Bug #107990 | Workbench cannot connect to server | ||
---|---|---|---|
Submitted: | 27 Jul 2022 1:31 | Modified: | 28 Jul 2022 17:24 |
Reporter: | Zhili Xu | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Workbench | Severity: | S2 (Serious) |
Version: | 8.0.30 | OS: | Windows (Windows 10 Pro 21H2 19044.1826) |
Assigned to: | CPU Architecture: | x86 (Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz 2.71 GHz) | |
Tags: | Connect failed |
[27 Jul 2022 1:31]
Zhili Xu
[27 Jul 2022 1:33]
Zhili Xu
64-bit operating system, x64-based processor
[28 Jul 2022 12:12]
MySQL Verification Team
Hello, Thank you for the bug report. It is necessary to configure lower_case_table_names to the desired setting before initializing the server. To enable lower_case_table_names prior to installing MySQL using APT, execute the following command: shell> sudo debconf-set-selections <<< "mysql-server mysql-server/lowercase-table-names select Enabled For more details, please see here https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_lower_case_tab... Regards, Ashwini Patil
[28 Jul 2022 12:13]
MySQL Verification Team
Related to https://bugs.mysql.com/bug.php?id=90695
[28 Jul 2022 17:24]
Zhili Xu
Hello Ashwini, Thank you for your reply. Followed your instructions, I've tried to use 'debconf-set-selections' to do something, but OS prompts 'command not found'. Actually I used dnf (not apt) to install mysql-server, and I edited my.cnf before initializing mysql(is this right?) And I can connect to mysql database by using mysql-cli and sql developer (I just created a schema and a user in it). As an additional information, I've reinstalled mysql-server and initialized mysql server without adding any changes to my.cnf, the database has been initialized normally but it still can not be accessed by workbennch. Maybe something is wrong in workbench for 64bit Windows? Best regards!