Dnia wtorek, 13 marca 2012 o 09:21:37 Marcin napisał(a):
W dniu 12 marca 2012 20:55 użytkownik Robert cyberm@sarocom.net napisał:
**
witam
aktualizuje mojego staruszka i napotkałem na poniższy problem. podpowie ktoś rozwiązanie? ON UPDATE CASCADE, UNIQUE KEY mac (mac, nodeid) ) ENGINE=InnoDB
co ci pokazuje: mysql> show engines; +------------+---------+--------------------------------------------------- -------------+--------------+------+------------+
| Engine | Support |
Comment | Transactions | XA | Savepoints | +------------+---------+--------------------------------------------------- -------------+--------------+------+------------+
| InnoDB | YES | Supports transactions, row-level locking, and
foreign keys | YES | YES | YES |
| MRG_MYISAM | YES | Collection of identical MyISAM
tables | NO | NO | NO |
| BLACKHOLE | YES | /dev/null storage engine (anything you write to it
disappears) | NO | NO | NO |
| CSV | YES | CSV storage
engine | NO | NO | NO |
| MEMORY | YES | Hash based, stored in memory, useful for temporary
tables | NO | NO | NO |
| FEDERATED | NO | Federated MySQL storage
engine | NULL | NULL | NULL |
| ARCHIVE | YES | Archive storage
engine | NO | NO | NO |
| MyISAM | DEFAULT | Default engine as of MySQL 3.23 with great
performance | NO | NO | NO | +------------+---------+--------------------------------------------------- -------------+--------------+------+------------+ 8 rows in set (0.00 sec)
mysql>
mysql> show engines; +------------+---------+----------------------------------------------------------------+--------------+------+------------+ | Engine | Support | Comment | Transactions | XA | Savepoints | +------------+---------+----------------------------------------------------------------+--------------+------+------------+ | InnoDB | DEFAULT | Supports transactions, row-level locking, and foreign keys | YES | YES | YES | | MRG_MYISAM | YES | Collection of identical MyISAM tables | NO | NO | NO | | BLACKHOLE | YES | /dev/null storage engine (anything you write to it disappears) | NO | NO | NO | | CSV | YES | CSV storage engine | NO | NO | NO | | MEMORY | YES | Hash based, stored in memory, useful for temporary tables | NO | NO | NO | | FEDERATED | NO | Federated MySQL storage engine | NULL | NULL | NULL | | ARCHIVE | YES | Archive storage engine | NO | NO | NO | | MyISAM | YES | Default engine as of MySQL 3.23 with great performance | NO | NO | NO | +------------+---------+----------------------------------------------------------------+--------------+------+------------+