fui tentar importar o sql qe esta disponivel na pasta do website qe eu baixei hoje apareceu o seguinte
Error
There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem
ERROR: Unknown Punctuation String @ 12
STR: //
SQL:
DELIMITER //
CREATE TRIGGER `website`.`ondelete_accounts` BEFORE DELETE ON `website`.`accounts`
FOR EACH ROW BEGIN DELETE FROM `bans` WHERE `type` NOT IN(1, 2) AND `value` = OLD.`id`; END
//
SQL query:
DELIMITER // CREATE TRIGGER `website`.`ondelete_accounts` BEFORE DELETE ON `website`.`accounts` FOR EACH ROW BEGIN DELETE FROM `bans` WHERE `type` NOT IN(1, 2) AND `value` = OLD.`id`; END //
MySQL said:
#1146 - Table 'website.accounts' doesn't exist