mysql jdbc url模式 正则表达式

https://blog.csdn.net/youcijibi/article/details/77965487?locationNum=7&fps=1

jdbc:mysql://[host][,failoverhost…][:port]/[database] ?
[?propertyName1][=propertyValue1][&propertyName2][=propertyValue2]…

jdbc:mysql://[host:port],[host:port]…/[database] ?
[?propertyName1][=propertyValue1][&propertyName2][=propertyValue2]…

实例:
jdbc:mysql://localhost:3306/sakila?profileSQL=true

实例2: