Bug #96107 Your connection attempt failed for user 'root' to the mySQL server at localhost
Submitted: 5 Jul 2019 12:32 Modified: 5 Jul 2019 13:33
Reporter: Vinayak Yande Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Workbench Severity:S7 (Test Cases)
Version:8.0.16 OS:Windows (Microsoft Windows 10 Pro)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[5 Jul 2019 12:32] Vinayak Yande
Description:
17:56:19 [ERR][SQL Editor Form]: SqlEditorForm: exception in do_connect method: Exception: Unknown database 'test'
17:56:19 [ERR][  GRTDispatcher]: exception in grt execute_task, continuing: Exception: Unknown database 'test'
17:56:19 [ERR][  GRTDispatcher]: worker: task 'execute sql queries' has failed with error:.Unknown database 'test'
17:56:19 [ERR][SQL Editor Form]: SQL editor could not be connected: Unknown database 'test'
17:56:19 [ERR][SQL Editor Form]: Your connection attempt failed for user 'root' to the MySQL server at localhost:3307:
  Unknown database 'test'

Please:
1 Check that MySQL is running on address localhost
2 Check that MySQL is reachable on port 3307 (note: 3306 is the default, but this can be changed)
3 Check the user root has rights to connect to localhost from your address (MySQL rights define what clients can connect to the server and from which machines) 
4 Make sure you are both providing a password if needed and using the correct password for localhost connecting from the host address you're connecting from

How to repeat:
17:56:19 [ERR][SQL Editor Form]: SqlEditorForm: exception in do_connect method: Exception: Unknown database 'test'
17:56:19 [ERR][  GRTDispatcher]: exception in grt execute_task, continuing: Exception: Unknown database 'test'
17:56:19 [ERR][  GRTDispatcher]: worker: task 'execute sql queries' has failed with error:.Unknown database 'test'
17:56:19 [ERR][SQL Editor Form]: SQL editor could not be connected: Unknown database 'test'
17:56:19 [ERR][SQL Editor Form]: Your connection attempt failed for user 'root' to the MySQL server at localhost:3307:
  Unknown database 'test'

Please:
1 Check that MySQL is running on address localhost
2 Check that MySQL is reachable on port 3307 (note: 3306 is the default, but this can be changed)
3 Check the user root has rights to connect to localhost from your address (MySQL rights define what clients can connect to the server and from which machines) 
4 Make sure you are both providing a password if needed and using the correct password for localhost connecting from the host address you're connecting from
[5 Jul 2019 13:33] MySQL Verification Team
--
Your connection attempt failed for user 'root' to the MySQL server at localhost:3307:
  Unknown database 'test'
--

Try connecting to a valid database that exists.
Why do you believe this to be a bug?