Re: Still need help



debbienc wrote:
This is not working. What I need is to know how to connect java with
MySQL, and how to connect to a plain text document. Can anyone help me
with this.

You might find it helpful to read a couple of books:

"Learning Java"

http://www.oreilly.com/catalog/learnjava2/

"Database Programming with JDBC & Java"

http://www.oreilly.com/catalog/jdbc2/index.html

The first book contains plenty of examples of Java techniques, such as opening a file and reading it a line at a time.

The second book focusses on database programming with Java.

You should then read the documentation about Connector/J, the JDBC library for MySQL:

http://dev.mysql.com/doc/refman/4.1/en/connector-j.html

This provides advice about how to obtain and install the latest version of Connector/J, and examples showing how to connect to MySQL and send commands and queries to the MySQL server.

Good luck with your project.

David Harper
Cambridge, England
.



Relevant Pages

  • Re: How to modify a MySQL database...
    ... and then update them with Java. ... To learn how to create a MySQL database, ... you will need to learn JDBC. ...
    (comp.lang.java.programmer)
  • Re: Java and MySql program example ?
    ... > I am trying to learn Java and need an example program with MySql ... > MySql database. ... Database connection established ...
    (comp.lang.java.programmer)
  • Re: mysql vs sqlite vs hsql
    ... My question isabout benchmarks and multiple inserts & ... > I current have a mysql database of approx. ... lemme dispell the very common misconception that java is slow. ...
    (comp.lang.python)
  • Re: Smart number formatting
    ... I am sending my Java double's to MySql floats via JDBC. ... reccomended Java type to use for the JDBC type.) ...
    (comp.lang.java.help)
  • Re: [SLE] schemaSpy
    ... >>> java ... >> page and modified it for MySQL and my local setup, ... >> any queries on behalf of schemaSpy (ascertained by logging in to ...
    (SuSE)