130 likes | 294 Views
Database. http://localhost. Choose phpMyAdmin. Create java database. Select SQL and start creating tables. CREATE TABLE users(id INT ( 2 ) PRIMARY KEY AUTO_INCREMENT , firstname VARCHAR ( 50 ) , lastname VARCHAR ( 50 )). Download JDBC driver for MySQL.
E N D
CREATETABLE users(id INT( 2 ) PRIMARYKEYAUTO_INCREMENT ,firstnameVARCHAR( 50 ) ,lastnameVARCHAR( 50 ))CREATETABLE users(id INT( 2 ) PRIMARYKEYAUTO_INCREMENT ,firstnameVARCHAR( 50 ) ,lastnameVARCHAR( 50 ))
Download JDBC driver for MySQL • http://dev.mysql.com/downloads/file.php?id=450607
http://localhost:8080/docs/jndi-datasource-examples-howto.htmlhttp://localhost:8080/docs/jndi-datasource-examples-howto.html