Hello,
We have been using Hibernate in web apps as well as stand alone Java applications. Works really nice.
Lately we are wanting to improve our system's security by turning off the MySQL network port, which MySQL does very easily. This would leave access only to local programs via the MySQL socket file: /var/lib/mysql/mysql.sock
I have tried some things, but I cannot determine what the hibernate.cfg.xml should look like to use this socket file. I assume I need to replace the URL, but the exact format escapes me. Anyone out there done this? [yes, I checked the documentation first] [yes, checked out google too 8-)]
Thanks!
|