• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

zNote aac problem database

Gertjan300

Retired Tibia Staff
Joined
May 6, 2014
Messages
30
Reaction score
3
Dear otland (again)

When starting up my server i get this problem

36547

In text
Code:
[22/05/2019 21:46:17] > Trigger: ondelete_accounts does not exist, creating it...
[22/05/2019 21:46:17] 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: TRIGGER command denied to user 'gertjan300'@'localhost' for table 'accounts' (1142)
[22/05/2019 21:46:17] > Trigger: oncreate_guilds does not exist, creating it...
[22/05/2019 21:46:17] 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: TRIGGER command denied to user 'gertjan300'@'localhost' for table 'guilds' (1142)
[22/05/2019 21:46:17] > Trigger: ondelete_guilds does not exist, creating it...
[22/05/2019 21:46:17] 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: TRIGGER command denied to user 'gertjan300'@'localhost' for table 'guilds' (1142)
[22/05/2019 21:46:17] > Trigger: oncreate_players does not exist, creating it...
[22/05/2019 21:46:17] 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: TRIGGER command denied to user 'gertjan300'@'localhost' for table 'players' (1142)
[22/05/2019 21:46:17] > Trigger: ondelete_players does not exist, creating it...
[22/05/2019 21:46:17] 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: TRIGGER command denied to user 'gertjan300'@'localhost' for table 'players' (1142)
[22/05/2019 21:46:17] > No tables were optimized.

Hope somebody comes up with a solution

Kind regards
Gertjan300
 
Back
Top