Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2002
    Posts
    4

    Unhappy Unanswered: why throws SQLException?

    Hi,

    I don't why it always throw the exception(SQLException) when i try to insert or update something in the database by javabean through JSP program.

    This will not happen when i only use "select ...." from database.

    I am in "root " account who has all rights to insert , update , select to database. But it seems to me that it can't insert and update.

    what can i do?

    Thank you

  2. #2
    Join Date
    Jan 2003
    Location
    Paris, France
    Posts
    320

    Re: why throws SQLException?

    Originally posted by stupidstudent
    Hi,

    I don't why it always throw the exception(SQLException) when i try to insert or update something in the database by javabean through JSP program.

    This will not happen when i only use "select ...." from database.

    I am in "root " account who has all rights to insert , update , select to database. But it seems to me that it can't insert and update.

    what can i do?

    Thank you
    Many error can come when using a database. Is the application server on the same computeur as the MySql server ?
    What is the mysql version you use
    Olivier Miossec
    --
    http://www.lasso-developpeur.net/
    --

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •