在学习mysql时遇到的错误
Error Code: 1046. No database selected Select the default DB to be used by double-clicking its name in the SCHEMAS list in the sidebar.
原因:创建数据库后未指定数据库
解决方法:在建表前加上代码 USE <database name>;
在学习mysql时遇到的错误
Error Code: 1046. No database selected Select the default DB to be used by double-clicking its name in the SCHEMAS list in the sidebar.
原因:创建数据库后未指定数据库
解决方法:在建表前加上代码 USE <database name>;