I have installed mySQL and MySQL workbench. changed the root password when I opened the mySQL workbench for the first time. I have created a simple table and when I try to query that, I am not able to execute the command. Infact not able to execute any query, including show tables; I am able to query them from terminal. I tried inserting some rows into the table from a simple java code, which I am able to do without issues.
Attached is the screenshot of the issue.
Kindly let me know if anyone faced this issue and if there is any solution for this. Appreciate your help in this regard. Able to execute queries from Terminal.


I am not able to execute the command... what happens when you run thatSELECTstatement from Workbench?Workbenchhas a connection problem. Obviously both Java and the command line can reach the server.