Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Java Web Database

0 views
Skip to first unread message

The87Boy

unread,
Jan 4, 2010, 1:16:14 PM1/4/10
to
I am thinking about changing my programmering language for my
profileadmin management to Java from PHP.
The only problem I can come up with just now is, that I need a
connection to the MySQL-DB, but how can I configure that access?

John B. Matthews

unread,
Jan 4, 2010, 2:17:51 PM1/4/10
to
In article
<99509478-a6c7-42c0...@j19g2000yqk.googlegroups.com>,
The87Boy <the8...@gmail.com> wrote:

You might start with this JDBC tutorial:

<http://java.sun.com/docs/books/tutorial/jdbc/index.html>

I prefer <http://www.h2database.com>, but MySQL has a suitable JDBC
driver among its assorted connectors:

<http://www.mysql.com/products/connector/>

--
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>

The87Boy

unread,
Jan 4, 2010, 3:39:11 PM1/4/10
to
On 4 Jan., 20:17, "John B. Matthews" <nos...@nospam.invalid> wrote:
> In article
> <99509478-a6c7-42c0-b856-475329c76...@j19g2000yqk.googlegroups.com>,

>
>  The87Boy <the87...@gmail.com> wrote:
> > I am thinking about changing my programmering language for my
> > profileadmin management to Java from PHP. The only problem I can come
> > up with just now is, that I need a connection to the MySQL-DB, but
> > how can I configure that access?
>
> You might start with this JDBC tutorial:
>
> <http://java.sun.com/docs/books/tutorial/jdbc/index.html>
>
> I prefer <http://www.h2database.com>, but MySQL has a suitable JDBC
> driver among its assorted connectors:
>
> <http://www.mysql.com/products/connector/>

Yes, but can I connect to MySQL-database on localhost using 127.0.0.1?

Lew

unread,
Jan 4, 2010, 4:04:14 PM1/4/10
to
The87Boy wrote:
>>> I am thinking about changing my programmering language for my
>>> profileadmin management to Java from PHP. The only problem I can come
>>> up with just now is, that I need a connection to the MySQL-DB, but
>>> how can I configure that access?
>

John B. Matthews wrote:
>> You might start with this JDBC tutorial:
>
>> <http://java.sun.com/docs/books/tutorial/jdbc/index.html>
>
>> I prefer <http://www.h2database.com>, but MySQL has a suitable JDBC
>> driver among its assorted connectors:
>
>> <http://www.mysql.com/products/connector/>
>

The87Boy wrote:
> Yes, but can I connect to MySQL-database on localhost using 127.0.0.1?
>

Sure, you can, or you can connect using 'localhost'.

You may find
<http://dev.mysql.com/doc/refman/5.5/en/account-names.html>
relevant.

--
Lew

Roedy Green

unread,
Jan 4, 2010, 7:11:45 PM1/4/10
to
On Mon, 4 Jan 2010 10:16:14 -0800 (PST), The87Boy <the8...@gmail.com>
wrote, quoted or indirectly quoted someone who said :

The MySQL people offer interfaces to pretty well anything you could
think of. Download the MySQL connector for JDBC.

See http://mindprod.com/jgloss/jdbc.html
--
Roedy Green Canadian Mind Products
http://mindprod.com
The question of whether Machines Can Think... is about as relevant as the question of whether Submarines Can Swim.
~ Edsger Wybe Dijkstra (born: 1930-05-11 died: 2002-08-06 at age: 72)

0 new messages