Quantcast
Channel: VMware Communities : Popular Discussions - Hyperic User Forums
Viewing all articles
Browse latest Browse all 52618

jdbc mysql connection via socket?

$
0
0
I want to set mysql server connection, can i use unix socket instead of tcp?

i tried these but didnt work:

jdbcUrl=
jdbc:mysql://localhost:/var/run/mysqld5/mysqld.sock

jdbcUrl=
jdbc:mysql://localhost:/var/run/mysqld5/mysqld.sock/mysql

error:
"The configuration has not been set for this resource due to : Invalid configuration: Error contacting resource: Query failed for availability: Must specify port after ':' in connection string"

Viewing all articles
Browse latest Browse all 52618

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>