Connecting to Oracle server using Mysql Client - mysql

I have tried to connect to Oracle Express Edition 11g server using Mysql WorkBench but not able to connect and get this error Lost connection to MySQL server at reading initial communication packet, so I want to know that can one connect to oracle server using Mysql client, its useful for everyone because I have googled much but doesn't find any appropriate solution.

Related

Connecting to Database using ODBC, Node, & Sequelize

So, I have a proprietary database that can be connected to via ODBC driver. Someone on my team has confirmed that they can connect to the database using an ODBC driver in Microsoft Access and see the data inside of the database.
If possible, I would like to connect to this database using Sequelize but I am out of my element when it comes to ODBC drivers and how exactly they work.
In this video, I saw an example of someone creating an ODBC connection to a database (The video gives two examples. One for a Hive connection and another for MySQL) and then said person used Python to run queries on these connections.
Is there a way that I could do something similar with Sequelize?
I see that Sequelize supports MySQL so my hope is that I can use Sequelize to connect to MySQL, which has a connection to the proprietary database via ODBC, and run queries on the MySQL connection.
Is this possible? I feel like I might be misunderstanding how all of this ODBC stuff works.

Connect to local MySQL Workbench DB via sqlplus

I'm trying to learn PL/SQL language. On my mac laptop (macOS Monterey, M1) I have the following set up:
MySQL Workbench running a test database
and SQL*Plus installed in the terminal
My question: How do I connect to my local MySQL Workbench database via sqlplus?
I imagine I need a user/pass and to specify localhost 3306 as the connection endpoint... but where do I find these things, how do I set them up? I've looked at Oracle documentation but haven't found the answer.
Any help would be greatly appreciated! This is study for a SQL interview. Thanks in advance.
-Sebastian
Either you need to use MySQL Workbench as a client for MySQL Server, or else you need to use SQL*Plus as a client for Oracle Server. These are two different brands of database (although they are both owned by Oracle Corporation) and the clients cannot connect to each other's database.
Your statement of connecting to MySQL Workbench using SQL*Plus makes no sense anyway, since both of these are clients.

Using workbench to connect to SQL server on management studio

I have been trying to connect to the server on Microsoft SQL Management Studio using Workbench via an IP.
But I cannot seem to connect whatsoever, is workbench even supported with Database engine servers.
I am connecting with the root username, could that be the problem too?
If you are referring to MySQL Workbench and SQL Server, MySQL is a visualization tools for MySQL Server and databases. You cannot access other servers with it. SSMS or SQL Server Management studio is the visualization tool for SQL Server databases. These both databases use almost similar syntax and structure but are totally different entities in terms of Parent Company and access.
In Layman's terms, when you try to enter an IP in Workbench, it tries to find and access a MySQL Server but doesn't find it and hence does not connect. It is not a SSH Client which connects to any server specified.
There is one way to connect SQL Server from MySQL Workbench and that is database miration.
Find More Information Here:
I recommend SQL Server Management Studio for SQL Server Access and visualization.
For connecting to SQL Server using Python, consider PyODBC (preferred) or pymssql as documented here

mysql replication without direct connection

I am trying to replicate a remote mysql database to my internal mysql server.
The problem is that I do not have a direct connection available between both mysql servers.
Internally, there is a custom server application (which I've developped my self). This server application allows incoming connections on 1 port only (with ssl encryption). Once the connection is made, custom written commands can be executed over that connection (like sending specific backup files, remote browsing, etc... just client/server stuff).
Now I need to add mysql replication, but there is no direct connection possible. I was thinking to write something like a PORTFORWARD command in my server app which would transfer the replication data to the mysql server interally, something like this:
remote mysql server replication process->remote client application->internal server application-> internal mysql server.
That would probably work, but I think that's gonna be a fragile solution, all connect/disconnect events will need to be forwarded in all circumstances.
Any better ideas for this?
Thanks,
Vincent
Replication in the sense do you want the Remote server database data's to your Internal server?
if So you could follow Backup and Restore MySQL Database Using mysqldump
Or If want your client server application to access the remote server database follow this Can't remotely connect through SQL Server Management Studio

Connect TO Sql Server From MySQL

How can I connect to a SQL Server Database from a MySQL Server? I need to use the MySQL as a proxy DB (querying all the SQL servers and MySQL connected to it).
I need a functionality sort of "linked server" one on SQL server.
You can't - the closest MySQL has is the FEDERATED engine, but it only supports connecting to other MySQL instances, not any other database vendor.
Only SQL Server's Linked Server and Oracle's Database Link technology support connecting to other database vendors (that I'm aware of), so you'd have to use SQL Server as the proxy to MySQL -- not the other way around.