MySQL Forums
Forum List  »  PHP

SSH vs TCP connection
Posted by: afzalur Rahman
Date: August 10, 2018 02:25AM

I have remote mysql server and one web server. I will use laravel framework.
I have two options to connect.
1) I can connect mysql via ssh or ssh tunnel
2) I can connect mysql with tcp .
example mysql -u xxxx -h remote database ip -p
Which connection will be good for laravel framework?
how can i calculate connection time?

Options: ReplyQuote

Written By
SSH vs TCP connection
August 10, 2018 02:25AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.