In fact, I made a very serious mistake, and this mistake can only be reported for two reasons.
Reason 1: There is an extra space after your account password, which means you have the wrong database.
Fix: If it is a login password, report this error, as shown in the figure below:

It would be possible to have an extra space between p and 123, and then you would remove the space in between. You put p and 123 together and you type in p123
Reason 2: Your syntax is wrong, because use can only be followed by the database name, never the table name. An incorrect or incorrect table name will report the following error.

Solution: Double check your database to see if it has TB_EMP6.

Check your table again to see if it is your table name.

The name of the table is confused with the database name.
Summary is to confirm the database name is not exist, there are no spelling mistakes, if not again to see your grammar is not wrong.
This is better to locate your problem, in fact, to put it bluntly this is I made a stupid mistake, but also eat a catty gain a wisdom.
Hope to help you, welcome to leave a message to exchange ~
Reason 1: There is an extra space after your account password, which means you have the wrong database.
Fix: If it is a login password, report this error, as shown in the figure below:

It would be possible to have an extra space between p and 123, and then you would remove the space in between. You put p and 123 together and you type in p123
Reason 2: Your syntax is wrong, because use can only be followed by the database name, never the table name. An incorrect or incorrect table name will report the following error.

Solution: Double check your database to see if it has TB_EMP6.

Check your table again to see if it is your table name.

The name of the table is confused with the database name.
Summary is to confirm the database name is not exist, there are no spelling mistakes, if not again to see your grammar is not wrong.
This is better to locate your problem, in fact, to put it bluntly this is I made a stupid mistake, but also eat a catty gain a wisdom.
Hope to help you, welcome to leave a message to exchange ~
Read More:
- MySQL appears: ERROR 1049 (42000): Unknown database’XXX’ solution
- Error: can’t locate revision identified by ‘xxx’
- Solution to error 1452: cannot add or update a child row: a foreign key constraint failures in MySQL
- mysql error 1033 Incorrect information in file: ‘xxx.frm’ (Fixed)
- Error note 404 error
- Perfectly solve the 1366 error of saving Chinese in MySQL
- Oracle database file is damaged, Error:ORA-01033 :ORACLE initialization or shutdown in progress
- An error occurred when opensips started the service“ ERROR:core :db_ check_ table_ Version: invalid version 7 for Table dialog found “
- Import / export. SQL file / gzip file for MySQL under Linux
- ssh-copy-id:/usr/bin/ssh-copy-id: ERROR: No identities found
- Got an error reading communication packets
- Spring data JAP SQL error:17059 SQL State:99999
- Solution to Error 400. The request has an invalid header name
- How to search files or folders in Ubuntu
- MySQL error — multiple methods of failed to find valid data directory and MySQL setting password appear
- SQL error: 156, sqlstate: S1000 error encountered in Hibernate
- In the SQL query statement, add the column that does not exist in the table and set the fixed value of the column
- javax.persistence.EntityNotFoundException : unable to find error
- About MySQL error: subquery returns more than 1 row
- mysql ERROR 1050 (42S01): Table already exists