Michal,
Friday, April 12, 2002, 1:01:28 PM, you wrote:

MD> in my work we updated mysql from 3.22.23 to 3.23.49. But there are
MD> some problems:

MD> mysql> describe uzivatele;
MD> +---------------------+------------------+------+-----+---------+----------------+
MD> | Field               | Type             | Null | Key | Default | Extra          |
MD> +---------------------+------------------+------+-----+---------+----------------+
MD> | id                  | int(11) unsigned |      | PRI | NULL    | auto_increment |
MD> | jmeno               | varchar(8)       |      | UNI |         |                |
MD> | heslo               | varchar(32)      |      |     |         |                |
MD> | plne_jmeno          | varchar(64)      |      |     |         |                |
MD> | posledni_prihlaseni | int(10) unsigned |      |     | 0       |                |
MD> | aktivni             | char(1)          |      | MUL | n       |                |
MD> | pocet_prihlaseni    | int(10) unsigned |      |     | 0       |                |
MD> +---------------------+------------------+------+-----+---------+----------------+

[skip]

MD> and next problem is with analyze/check/repair table

MD> mysql> analyze table uzivatele;
MD> 
+-----------------+---------+----------+--------------------------------------------------------+
MD> | Table           | Op      | Msg_type | Msg_text                                  
             |
MD> 
+-----------------+---------+----------+--------------------------------------------------------+
MD> | sante.uzivatele | analyze | error    | The handler for the table doesn't support 
check/repair |
MD> 
+-----------------+---------+----------+--------------------------------------------------------+

MD> First problem is solved (dump database, drop database, flush, create
MD> database, read from dump) but second problem is still actual.

MD> Can you help me, please ?

What is the type of your table?
REPAIR TABLE works only on MyISAM tables, ANLYZE TABLE works on
MyISAM and BDB tables, CHECK TABLES - on MyISAM and InnoDB, look at:
       http://www.mysql.com/doc/A/N/ANALYZE_TABLE.html
       http://www.mysql.com/doc/C/H/CHECK_TABLE.html
       http://www.mysql.com/doc/R/E/REPAIR_TABLE.html

So, if your table is ISAM, you get error "The handler for the table doesn't support 
check/repair"

MD> Thank you.
MD> Michal Dvoracek                          [EMAIL PROTECTED]






-- 
For technical support contracts, goto https://order.mysql.com/
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to