Last answered:

29 Mar 2022

Posted on:

01 Feb 2022

4

How do I get past Error Code: 1046?

I am just getting started. I tried to run this code at 1:16 in the video: select * from employees;
Unlike the video, it did not work. I got an Error Code 1046 that says "no database selected. Select the default DB to be used by double-clicking its name in the SCHEMAS list in the sidebar."

I went to the SCHEMAS part of the side bar, and there is no list referencing "employees" and I am not sure what else would be relevant. It only has the "sys" subsection. Please advise.

1 answers ( 0 marked as helpful)
Posted on:

29 Mar 2022

0

I eventually uninstalled and reinstalled MySQL a couple of times, and did some stuff I did not understand with the GitHub files associated with employees. I dunno.
It partly worked.
Employees is there now, but empty.

Submit an answer