The error message "No database selected" indicates that you need to select a database before creating a table. To fix this issue, you can first select a database using the following command:\n\n\nmysql> use database_name;\n\n\nReplace "database_name" with the name of the database you want to use. Once you have selected a database, you can then proceed with creating the table.


原文地址: https://www.cveoy.top/t/topic/p8Rp 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录