Re: Using servlet and mysql

2007-05-29 Thread Teh Noranis Mohd Aris
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver. I'm very new to using mysql database and servlet. Can you please explain to me how to create the database name and its fields? Should I install any driver? How can it be done? Please help. Thank you. Yours Sincerely, TEH Foo Shyn

Re: Using servlet and mysql

2007-05-29 Thread Foo Shyn
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver. I'm very new to using mysql database and servlet. Can you please explain to me how to create the database name and its fields? Should I install any driver? How can it be done? Please help. Thank you. Yours Sincerely, TEH Foo Shyn wrote: Hi, would

Re: Using servlet and mysql

2007-05-29 Thread Teh Noranis Mohd Aris
: com.mysql.jdbc.Driver. I'm very new to using mysql database and servlet. Can you please explain to me how to create the database name and its fields? Should I install any driver? How can it be done? Please help. Thank you. Yours Sincerely, TEH Foo Shyn wrote: Hi, would be ur

Re: Using servlet and mysql

2007-05-29 Thread Foo Shyn
you start to attempt anything. HTH, FooShyn Teh Noranis Mohd Aris wrote: Thank you so much for the reply. I've put jdbc:mysql://localhost:8080/teh but I got the error java.lang.ClassNotFoundException: com.mysql.jdbc.Driver. I'm very new to using mysql database and servlet. Can you please

Re: Using servlet and mysql

2007-05-29 Thread Teh Noranis Mohd Aris
I'm very new to this. This is the first time I'm using mysql and servlet. I might be doing a lot of mistakes. I realized that I should not use Microsoft Works Database. How can I actually create the database name, table and its field using mysql? In which directory should I put the database

Re: Using servlet and mysql

2007-05-29 Thread Foo Shyn
. Remember google is always your best friend. :) HTH, FooShyn Teh Noranis Mohd Aris wrote: I'm very new to this. This is the first time I'm using mysql and servlet. I might be doing a lot of mistakes. I realized that I should not use Microsoft Works Database. How can I actually create

Re: Using servlet and mysql

2007-05-29 Thread De Haan Software Engineering
: com.mysql.jdbc.Driver. I'm very new to using mysql database and servlet. Can you please explain to me how to create the database name and its fields? Should I install any driver? How can it be done? Please help. Thank you. Yours Sincerely, TEH Foo Shyn wrote: Hi, would be ur database

Re: Using servlet and mysql

2007-05-29 Thread David Smith
I would actually recommend steering clear of the jdbc-odbc bridge driver. It's not stable enough for production use on any level. Get MySQL (it's free), install it, configure it according to the docs and setup your db there. Docs are plentiful on the mysql website. You will be much happier

Re: Using servlet and mysql

2007-05-29 Thread De Haan Software Engineering
I agree completely. For testing purposes or migration it works. We are switching to MySQL asap, but dozens of customers are still using it... Sije At 14:38 29-5-2007, you wrote: I would actually recommend steering clear of the jdbc-odbc bridge driver. It's not stable enough for production

Using servlet and mysql

2007-05-28 Thread Teh Noranis Mohd Aris
Hi, I would like to access mysql database from a servlet but I'm not sure what to initialize for the String connectionURL marked as jdbc:mysql://localhost:/xxx in the program below. I got this program from the internet which I would like to run in my computer. Can anyone please

Re: Using servlet and mysql

2007-05-28 Thread Foo Shyn
Hi, would be ur database port, xxx will be ur database name HTH FooShyn Teh Noranis Mohd Aris wrote: Hi, I would like to access mysql database from a servlet but I'm not sure what to initialize for the String connectionURL marked as jdbc:mysql://localhost:/xxx in the program

Re: Using servlet and mysql

2007-05-28 Thread Teh Noranis Mohd Aris
Thank you so much for the reply. I've put jdbc:mysql://localhost:8080/teh but I got the error java.lang.ClassNotFoundException: com.mysql.jdbc.Driver. I'm very new to using mysql database and servlet. Can you please explain to me how to create the database name and its fields? Should I install