jdbc: The three slashes in mysql:/// (///) What does the third / represent

I accidentally saw this address in the blog today, I have never used it before

 

jdbc:mysql:///company is equivalent to jdbc:mysql://localhost:3306/company company

 

Refers to the database name, that is to say the third'/' represents'localhost:3306/'

Guess you like

Origin blog.csdn.net/qq_30631063/article/details/108025943