Skip to content

Latest commit

 

History

History
 
 

MySQL

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

JSP > MySQL

This demo provides you with a template for connecting to your own MySQL database.

Usage

  1. Download or clone this repository.

  2. Navigate to the MySQL directory.

  3. In index.jsp, replace the values for host, user, pass, dbname, query, and colname with your MySQL instance info.

  4. Upload index.jsp to your web server, or add it to a directory within your Document Root directory of a local web server.

  5. Navigate to the page in your favorite browser.

  6. Bask in the glory of your chart!

Note the required JDBC driver file mysql-connector-java-5.0.8-bin.jar in the WEB-INF/lib directory. Src:Connector/J