Skip to main content



      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 13:17 Go to next message
Eclipse UserFriend
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 13:26] by Moderator

Re: Java Access Remote MySQL Database - JDBC or ODBC ? [message #1731621 is a reply to message #1731550] Sun, 08 May 2016 01:06 Go to previous messageGo to next message
Eclipse UserFriend
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 15:14 Go to previous message
Eclipse UserFriend
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: Wed Jul 16 23:55:17 EDT 2025

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

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

Back to the top