As mentioned I am a beginner.

I am sure I have missed something?

Import what and from where?

Stephan

On Sep 4, 10:32 pm, Christian Goudreau <goudreau.christ...@gmail.com>
wrote:
> Did you import the Jar file into your projet ?
>
> Christian
>
> On Fri, Sep 4, 2009 at 7:54 AM, GumbyGWTBeginner
> <stephan.gump...@gmail.com>wrote:
>
>
>
>
>
> > Hi,
>
> > I have built a very small client / server side app to read a MYSQL
> > database.
>
> > I have installed the MySQL via the Windows  installer.  Set a database
> > via the Console of MySQL.
>
> > When I get to the Servre side code listed below it fails as loading
> > the Driver.
>
> > I know I am missing something as I am real new at this.  Do I have to
> > install a driver on my pc first for this to work........really
> > frustrating.
>
> > Any help would greatly appreciated.
>
> > Error Message:
> > java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
>
> >        public Connection getConnection() throws Exception {
> >                String driver = "org.gjt.mm.mysql.Driver";       //
> > com.mysql.jdbc.Driver
> >                String url = "jdbc:mysql://localhost:3306/dogs";     //
> > 127.0.0.1:3306/dogs";
> >                String username = "root";
> >                String password = "mypass";
>
> >                Class.forName(driver).newInstance(); // load MySQL driver
> >                Connection conn = DriverManager.getConnection(url, username,
> > password);
> >        }
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to