The relationship among database, instance and session in MySQL
•
Java
1. No suitable driver found for http://127.0.0.1:3306/test
jdbc_ URL error. JDBC uses its own protocol.
The correct path should be:: / / 127.0 0.1:3306/test。
2. Database, instance and session in MySQL.
, multiple instances can be established on an entity machine, and instances can be distinguished by port.
An instance can establish multiple databases. That is, a session can operate multiple databases on an instance.
The brief description is as follows: instance > > database
3. Environment variables must be configured before using Tomcat in windows.
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码