I’m following this Spring Tutorial: Spring Tutorial Link
I’m trying to use the MySQL command: use "DataBase Name" and I’m getting the response "Database changed.
mysql> use timesheet
No connection. Trying to reconnect...
Connection id: 8
Current database: *** NONE ***
Database changed
mysql> use timesheet
Database changed
What does ‘use DBName’ do?
Why am I getting the message of ‘Database changed’ ?
The “use” keyword defines which database you are currently writing SQL against. You are getting the message ‘Database Changed’ as the database you are writing SQL against at that point has changed.
Further description available http://www.1keydata.com/sql/sql-use.html