Discussions

Web tier: servlets, JSP, Web frameworks: MySQL Connector/J

  1. MySQL Connector/J (2 messages)

    Hi
    i am in the process of installing and cofiguring MySQL connector. I need help as to how to start using the software? I have installed the '.tar.gz' file under Debian Linux.

    Can someone out there, help me with starting the jdbs connection and a li'l advise on how to use it will be greatly appreciated.

    I tried the URL mentioned on the MySQL site's documentation --jdbc:mysql//[hostname:portname]/[datebase name] ---- unfortunately, it doesn't work.

    HELP....

    Thanx

    Threaded Messages (2)

  2. These worked for me:

    com.mysql.jdbc.Driver
    jdbc:mysql://localhost/databasename?user=root

    Remember you have to have the mysql jdbc jar available to your server. If you download my war at http://www.fdsapi.com it has the capability to sort any ResultSet by clicking on the html tables column header. The demo works with MySQL.

    steve - http://www.fdsapi.com - The easiest way to generate dynamic xml and html.
  3. Tomcat Site[ Go to top ]

    This is a pretty good article to get you started.

    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html

    -Nelm