1. Solve the database error: Can't connect to MySQL server on 'localhost' (10061) (2003); 2. The problem of unable to view the source code

A summary of the problems and solutions in the initial use of mysql and mysql workbench

1. When starting mysql workbench, there is an error Can't connect to MySQL server on 'localhost' (10061) (2003)

Description of the problem: Without starting the mysql service first, open the mysql workbench directly. Although it can be opened, there is no interface for you to enter the password, which makes me feel very confused. Later, when I found a new connection, I kept making an error, saying that I could not start the server;

Solution: Start the mysql service first. For example, if I run net start mysql57 in cmd, and then reopen mysql workbench, it will appear that you need to enter the password. After entering the correct password, you can enter correctly.

2. The problem description and solution of the inability to view the source code: View the source code of a class in eclispe, for example, if a .jar file is found, it will prompt, source not found, the most likely reason is that the source package of the jar is not imported, that is When downloading the corresponding jar package, its sourcecode (source package) should be downloaded at the same time.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324519887&siteId=291194637