
mysql computer is already installed in linux and utility also.i poverty to enter my java(core) covering with mysql computer in linux.but i hit ClassNotFoundExcepition in my programe,why plz verify me with solution.my writing is:
import java.sql.* ;
public collection exam
{
public noise vacuum main( String[] args )
{
try
{
Class.forName( “com.mysql.jdbc.Driver” ).newInstance();
try
{
Connection jailbird = DriverManager.getConnection( “jdbc:mysql://localhost/scholar”, “root”, invalid );
try
{
Statement evidence = con.createStatement();
ResultSet rs = statement.executeQuery(”SELECT NAME FROM STUDENT”);
patch ( rs.next() )
{
System.out.println( rs.getString( “NAME” ) );
}
rs.close();
statement.close();
}
grownup (
Related Blogs
- Your Top Links most Web Site/AJAX Performance Performance …
- mobile sound | Free Handphone HP Mobile Phone Application Download …
- Building Flex and Java supported CRUD application using Flash Builder …
- Battling complexness in super scheme applications « JTeam Blog / JTeam …
- Performance Antipatterns in AJAX Applications Performance …
- JDBC drivers for Blackfish « The Road to metropolis – a Blog About …
- Updates 4 and 5 for metropolis 2010 Released « The Road to metropolis – a …
- Grails, MySQL : Cannot create PoolableConnectionFactory
Related Blogs
- Your Top Links most Web Site/AJAX Performance Performance …
- mobile sound | Free Handphone HP Mobile Phone Application Download …
- Building Flex and Java supported CRUD application using Flash Builder …
- Battling complexness in super scheme applications « JTeam Blog / JTeam …
- Performance Antipatterns in AJAX Applications Performance …
















I hope this link will help you.
It looks like you did not install the JDBC connector for mysql. You can get that here: