Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Java Access Remote MySQL Database - JDBC or ODBC ?
Java Access Remote MySQL Database - JDBC or ODBC ? [message #1731550] Fri, 06 May 2016 17:17 Go to next message
Arthur Chan is currently offline Arthur ChanFriend
Messages: 44
Registered: September 2015
Member
Hi

I am trying to access a remote host for MySQL running on Ubuntu, I have not used MySql before.

At my end, I am running Eclipse IDE on Windows7 Prof.

There are a lot of connectors available at Oracle/MySQL download site.

Should I be using JDBC if I am using Eclipse or Android Studio ?


Addendum:
Got it!
http://dev.mysql.com/doc/connector-j/6.0/en/connector-j-overview.html
MySQL provides connectivity for client applications developed in the Java programming language with MySQL Connector/J.

[Updated on: Fri, 06 May 2016 17:26]

Report message to a moderator

Re: Java Access Remote MySQL Database - JDBC or ODBC ? [message #1731621 is a reply to message #1731550] Sun, 08 May 2016 05:06 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 05/06/2016 11:18 AM, Arthur Chan wrote:
> Hi
> I am trying to access a remote host for MySQL running on Ubuntu, I have
> not used MySql before.
>
> At my end, I am running Eclipse IDE on Windows7 Prof.
>
> There are a lot of connectors available at Oracle/MySQL download site.
>
> Should I be using JDBC if I am using Eclipse or Android Studio ?

If you're accessing MySQL from Java, then yes, you'll need the MySQL
JDBC driver.

Questions on accessing databases from the Eclipse workbench will be
better dealt with in the Eclipse Data Tools Platform (DTP) forum.
Re: Java Access Remote MySQL Database - JDBC or ODBC ? [message #1731645 is a reply to message #1731621] Sun, 08 May 2016 19:14 Go to previous message
Arthur Chan is currently offline Arthur ChanFriend
Messages: 44
Registered: September 2015
Member
Thanks, will go to that forum
Previous Topic:How to use ${string_prompt}
Next Topic:Eclipse Mars 2 splash screen closes and cannot proceed.
Goto Forum:
  


Current Time: Thu Apr 25 09:39:08 GMT 2024

Powered by FUDForum. Page generated in 0.07707 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top