Amiroslo
Excellent OT User
- Joined
- Jul 28, 2009
- Messages
- 6,768
- Solutions
- 5
- Reaction score
- 769
I got this in console, how yo do it!!
REP++
Code:
[16:7:01.998] mysql_real_query(): SELECT `TRIGGER_NAME` FROM `information_schema`.`triggers` WHERE `TRIGGER_SCHEMA` = 'paraot' AND `TRIGGER_NAME` = 'ondelete_accounts'; - MYSQL ERROR: Incorrect key file for table '/tmp/#sql_21a_0.MYI'; try to repair it (126)
[16:7:01.998] > Trigger: ondelete_accounts does not exist, creating it...
[16:7:01.998] mysql_real_query(): CREATE TRIGGER `ondelete_accounts` BEFORE DELETE ON `accounts` FOR EACH ROW BEGIN DELETE FROM `bans` WHERE `type` NOT IN(1, 2) AND `value` = OLD.`id`; END; - MYSQL ERROR: This version of MySQL doesn't yet support 'multiple triggers with the same action time and event for one table' (1235)
[16:7:02.019] mysql_real_query(): SELECT `TRIGGER_NAME` FROM `information_schema`.`triggers` WHERE `TRIGGER_SCHEMA` = 'paraot' AND `TRIGGER_NAME` = 'oncreate_guilds'; - MYSQL ERROR: Incorrect key file for table '/tmp/#sql_21a_0.MYI'; try to repair it (126)
[16:7:02.019] > Trigger: oncreate_guilds does not exist, creating it...
[16:7:02.019] mysql_real_query(): CREATE TRIGGER `oncreate_guilds` AFTER INSERT ON `guilds` FOR EACH ROW BEGIN INSERT INTO `guild_ranks` (`name`, `level`, `guild_id`) VALUES ('Leader', 3, NEW.`id`); INSERT INTO `guild_ranks` (`name`, `level`, `guild_id`) VALUES ('Vice-Leader', 2, NEW.`id`); INSERT INTO `guild_ranks` (`name`, `level`, `guild_id`) VALUES ('Member', 1, NEW.`id`); END; - MYSQL ERROR: This version of MySQL doesn't yet support 'multiple triggers with the same action time and event for one table' (1235)
[16:7:02.027] mysql_real_query(): SELECT `TRIGGER_NAME` FROM `information_schema`.`triggers` WHERE `TRIGGER_SCHEMA` = 'paraot' AND `TRIGGER_NAME` = 'ondelete_guilds'; - MYSQL ERROR: Incorrect key file for table '/tmp/#sql_21a_0.MYI'; try to repair it (126)
[16:7:02.027] > Trigger: ondelete_guilds does not exist, creating it...
[16:7:02.027] mysql_real_query(): CREATE TRIGGER `ondelete_guilds` BEFORE DELETE ON `guilds` FOR EACH ROW BEGIN UPDATE `players` SET `guildnick` = '', `rank_id` = 0 WHERE `rank_id` IN (SELECT `id` FROM `guild_ranks` WHERE `guild_id` = OLD.`id`); END; - MYSQL ERROR: This version of MySQL doesn't yet support 'multiple triggers with the same action time and event for one table' (1235)
[16:7:02.035] mysql_real_query(): SELECT `TRIGGER_NAME` FROM `information_schema`.`triggers` WHERE `TRIGGER_SCHEMA` = 'paraot' AND `TRIGGER_NAME` = 'oncreate_players'; - MYSQL ERROR: Incorrect key file for table '/tmp/#sql_21a_0.MYI'; try to repair it (126)
[16:7:02.035] > Trigger: oncreate_players does not exist, creating it...
[16:7:02.036] mysql_real_query(): CREATE TRIGGER `oncreate_players` AFTER INSERT ON `players` FOR EACH ROW BEGIN INSERT INTO `player_skills` (`player_id`, `skillid`, `value`) VALUES (NEW.`id`, 0, 10); INSERT INTO `player_skills` (`player_id`, `skillid`, `value`) VALUES (NEW.`id`, 1, 10); INSERT INTO `player_skills` (`player_id`, `skillid`, `value`) VALUES (NEW.`id`, 2, 10); INSERT INTO `player_skills` (`player_id`, `skillid`, `value`) VALUES (NEW.`id`, 3, 10); INSERT INTO `player_skills` (`player_id`, `skillid`, `value`) VALUES (NEW.`id`, 4, 10); INSERT INTO `player_skills` (`player_id`, `skillid`, `value`) VALUES (NEW.`id`, 5, 10); INSERT INTO `player_skills` (`player_id`, `skillid`, `value`) VALUES (NEW.`id`, 6, 10); END; - MYSQL ERROR: This version of MySQL doesn't yet support 'multiple triggers with the same action time and event for one table' (1235)
[16:7:02.044] mysql_real_query(): SELECT `TRIGGER_NAME` FROM `information_schema`.`triggers` WHERE `TRIGGER_SCHEMA` = 'paraot' AND `TRIGGER_NAME` = 'ondelete_players'; - MYSQL ERROR: Incorrect key file for table '/tmp/#sql_21a_0.MYI'; try to repair it (126)
[16:7:02.044] > Trigger: ondelete_players does not exist, creating it...
[16:7:02.045] mysql_real_query(): CREATE TRIGGER `ondelete_players` BEFORE DELETE ON `players` FOR EACH ROW BEGIN DELETE FROM `bans` WHERE `type` = 2 AND `value` = OLD.`id`; UPDATE `houses` SET `owner` = 0 WHERE `owner` = OLD.`id`; END; - MYSQL ERROR: This version of MySQL doesn't yet support 'multiple triggers with the same action time and event for one table' (1235)
REP++