Solved

remote mysql acccess - does software use ssh

Posted on 2014-10-06
6
300 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 38

Expert Comment

by:Gerwin Jansen, EE MVE
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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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 38

Accepted Solution

by:
Gerwin Jansen, EE MVE 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

733 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