简体   繁体   中英

Connecting to Mysql without using tcp

I have a wierd question from my Client but need some technical details to justify his madness. Is it possible to connect to a mysql server which is on the same server as the application server ie tomcat to connect without tcp. We are using jdbc and mysql driver to connect to the database from the application. Can anyone help me to draft some details or make me understand if am missing any.

Thanks, Sirish.

You can pass --protocol and select one of {TCP|SOCKET|PIPE|MEMORY} . See the doc: http://dev.mysql.com/doc/refman/4.1/en/connecting.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM