1. Artem Gluvchynsky
  2. pyhs
  3. Issues
Issue #8 new

Getting the error kpnum/idxnum

Anonymous created an issue

When I try to get the result by find using multiple values.. It is giving the kpnum error and if i specify the index_name then it gives me idxnum error so please some-one can help me.

thanks in advance.

Comments (2)

  1. Mark Thomas

    When you get this error, you are probably trying to access a table with no primary key defined. Go into MySQL and use the following command: ALTER TABLE table name ADD PRIMARY KEY('column name'); Where: table name is the name of the table you want to add the primary key field in and column name is the field you want to designate as the primary key. Make sure the column name is enclosed in single quotes. This should fix your problem.

  2. Log in to comment