lide-reed opened a new issue, #10024: URL: https://github.com/apache/incubator-doris/issues/10024
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues. ### Version dev 1.0.1 ### What's Wrong? "Show databases" appears "ERROR 2006 (HY000): MySQL server has gone away" when login with a non-exist database, for example: # mysql -h127.0.0.1 -P9030 -uroot -Dtpch_s3_cos_db2 ### What You Expected? Simply tell user the database is not exist. ### How to Reproduce? [root@9 dbgen]# mysql -h127.0.0.1 -P9030 -uroot -Dtpch_s3_cos_db2 Welcome to the MariaDB monitor. Commands end with ; or \g. Your MySQL connection id is 8 Server version: 5.7.37 Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MySQL [tpch_s3_cos_db2]> show databases; ERROR 2006 (HY000): MySQL server has gone away No connection. Trying to reconnect... Connection id: 9 Current database: tpch_s3_cos_db2 ERROR 2006 (HY000): MySQL server has gone away No connection. Trying to reconnect... Connection id: 10 Current database: tpch_s3_cos_db2 ERROR 2006 (HY000): MySQL server has gone away MySQL [tpch_s3_cos_db2]> ### Anything Else? _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
