Solved

remote mysql acccess - does software use ssh

Posted on 2014-10-06
6
290 Views
Last Modified: 2014-10-10
Hi

Tools like mysql workbench and phpmyadmin will let you acccess remote databases as you know. But what connection are they using . Is it ssh. I've never seen an ssh 'handshake' when ive used these tools for remote access

thanks
0
Comment
Question by:andieje
  • 2
  • 2
  • 2
6 Comments
 
LVL 4

Expert Comment

by:mbertl
ID: 40363534
They use the normal port for mysql, which is 3306. Just open that on your fw and it should work fine.
0
 
LVL 37

Expert Comment

by:Gerwin Jansen
ID: 40363704
What do you mean by 'remote' exactly? Just opening the standard mysql port 3306 to the outside world (internet) is something I would not recommend...
0
 

Author Comment

by:andieje
ID: 40363864
remote means on a different server, I didnt ask if you recommended this action (no offence). I just wanted to know if they connect via tcp/ip or via ssh

naturally an open line isnt very secure


@mbertl20 - sorry but you didnt answer what i ask
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 4

Expert Comment

by:mbertl
ID: 40363948
Well, you could start reading the documentation provided by the creators of the MySQL server itself:
Try this out:
http://dev.mysql.com/doc/internals/en/client-server-protocol.html
0
 
LVL 37

Accepted Solution

by:
Gerwin Jansen earned 500 total points
ID: 40364301
mysql can support SSL, but it has to be configured and then mysqld has to be started with the SSL options as desribed here: https://dev.mysql.com/doc/refman/5.1/en/using-ssl-connections.html

To check whether your mysql is capable of SSL, display the have_ssl variable:

mysql> SHOW VARIABLES LIKE 'have_ssl';

If you get YES - SSL is supported.

What do you get?
0
 

Author Closing Comment

by:andieje
ID: 40373755
Thanks very much
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
SQL Command Tool comes with APEX under SQL Workshop. It helps us to make changes on the database directly using a graphical user interface. This helps us writing any SQL/ PLSQL queries and execute it on the database and we can create any database ob…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now