Mysql no database selected5/1/2023 ![]() ![]() When you execute create table statement from MySQL workbench then at that time you need to manually select the database then you execute your statement. ![]() This error generally occurs when you try to create a Table in the MySQL database using the command prompt.īecause while executing a command from the command prompt you need to select the database also since MySQL will not be able to know for which database you are executing the script. You might have guessed it right by now the error message is pretty clear that you have not selected the database before executing your MySQL statement. Let me tell you first why you are getting this 1046 MySQL error message. Why you are getting MySQL Error 1046 (3D000) No database selected? Let’s go through why we get the error 1046 (3D000) followed by the step-by-step procedure to resolve this error. If you are getting this error message means you are trying to execute MySQL queries statement using the MySQL command prompt. If you are a DBA or a developer, this post will help you fix this MySQL 1046 error. This article is a step-by-step guide to resolve the “ MySQL ERROR 1046 (3D000) No Database Selected” error. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |