Using MySQL Enterprise Workbench to write SQL statements against MDS
Assume that you wanted to access/write sql statements on MDS
from MySQL Workbench Running on On-premises (Windows OS)
How? Below are steps you needed to follow.
To connect with MySQL Workbench ,you require below details
handy :-
Prerequisite:-
1. Installed
MySQL Enterprise Workbench(preferred latest version) On-Premises. 2. Putty
- https://www.putty.org/ 3. Up
& Running MDS on ORACLE CLOUD . 4.
Up
and Running Compute instance. Note:- To
download MySQL Enterprise Edition trail version by below links:- |
How to Install MySQL Enterprise Edition on Windows? Below links will be helpful |
Open
MySQL Enterprise Workbench
SSH Hostname:- <Public IP Address of Compute Instance> SSH Username:- <opc->default user name assigned when you create compute Instance> SSH Key File:- You needed to generate key file from .PPK file by using PUTTY.
MySQL Host Name :- MDS IP address MySQL Server Port :- 3306 MySQL User Name :- <give user name of MySQL database> MySQL Password :- <give the password>********* |
|
How to generate Key
file?
What you need to do
is:-
1. Open puttygen and
click on Conversions à Import KeyÃ
search for existing .ppk filesà upload it.-->Click
on conversions à Export OpenSSH Keyà Save as opensshkey .
2. Then pass SSH Key File:- as opensshkey.
1. Test Connection with above parameters.
Login to MySQL Work bench and execute commands…
Conclusion
MySQL Database Service is a fully managed database service
that enables organizations to deploy cloud-native applications using the
world's most popular open source database. It is 100% developed, managed and
supported by the MySQL Team.
MySQL Workbench is a unified visual tool for database architects, developers, and DBAs. MySQL Workbench provides data modeling, SQL development, and comprehensive administration tools for server configuration, user administration, backup, and much more. MySQL Workbench is available on Windows, Linux and Mac OS X.
This comment has been removed by the author.
ReplyDeleteVery informative. Now I got an idea about this topic. thanks for the content.
ReplyDeleteNetworking Course In Chennai
Best Networking Institute In Chennai
Networking Online Course
Awesome article! You are providing us very valid information.
ReplyDeleteWhy Choose Data Science
Why Do You Want To Learn Data Science