Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

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

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

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

>Solution :

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.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading