facebook

General error, message from server: "Table ‘mysql.quot

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #231634 Reply

    TMoney
    Member

    I followed the BasicDB tutorial using Hibernate. I’m getting the error

    General error, message from server: “Table ‘mysql.quote’ doesn’t exist”

    My connection URL is

    <property name=”connection.url”>jdbc:mysql://localhost/mysql/data/movie</property>

    So, I dont know why it’s putting the mysql in from of my table “quote”? I am all getting this message.

    Not binding factory to JNDI, no JNDI name configured

    I dont know if this has anything to do with it. Anyone know whats going on?

    #231645 Reply

    Riyad Kalla
    Member

    TMoney, your connection URL is invalid, the format of the URL is:
    jdbc:mysql://<url>/<dbname>

    for dbname you have what looks like a path, so if your DB name is movie, it should be:
    jdbc:mysql://localhost/movie

    #231667 Reply

    TMoney
    Member

    Thanks. That worked. So, what tells hibernate where my “mysql/data” lives? Thanks again.

    #231672 Reply

    Riyad Kalla
    Member

    Your hibernate.cfg.xml file. When you Add Hibernate Capabilities to your project, MyEclipse will walk you through setting that all up and generating mapping files for you.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: General error, message from server: "Table ‘mysql.quot

You must be logged in to post in the forum log in