Проблемы с переносом форума Invision Power Board
872 сообщения
#13 лет назад
Впервые переношу форум на Invision Power Board и может не знаю тонкостей ссылка
Почему-то не могу перенести базу, может в хостере проблема или в настройках базы
Переносил как через пхпАдмин, так и через панель управления хостингом. В панели управления хостингом (там есть возможность импортировать БД) вылазит такой отчет:
ERROR 1064 (42000) at line 2431: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO `core_sys_lang_words` (`word_id`, `lang_id`, `word_app`, `word_pack`' at line 428
ERROR 1064 (42000) at line 4348: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO `core_sys_lang_words` (`word_id`, `lang_id`, `word_app`, `word_pack`' at line 510
ERROR 1064 (42000) at line 5864: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO `core_sys_lang_words` (`word_id`, `lang_id`, `word_app`, `word_pack`' at line 478
ERROR 1064 (42000) at line 8210: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO `core_sys_lang_words` (`word_id`, `lang_id`, `word_app`, `word_pack`' at line 503
ERROR 1064 (42000) at line 10927: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO `core_sys_lang_words` (`word_id`, `lang_id`, `word_app`, `word_pack`' at line 436
ERROR 1064 (42000) at line 12848: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO `core_sys_lang_words` (`word_id`, `lang_id`, `word_app`, `word_pack`' at line 602
ERROR 1064 (42000) at line 18383: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO `skin_cache` (`cache_id`, `cache_updated`, `cache_type`, `cache_set_' at line 4
ERROR 1064 (42000) at line 18394: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO `skin_cache` (`cache_id`, `cache_updated`, `cache_type`, `cache_set_' at line 4
ERROR 1064 (42000) at line 18405: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO `skin_cache` (`cache_id`, `cache_updated`, `cache_type`, `cache_set_' at line 4
ERROR 1064 (42000) at line 18418: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO `skin_cache` (`cache_id`, `cache_updated`, `cache_type`, `cache_set_' at line 4
ERROR 1064 (42000) at line 18423: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO `skin_cache` (`cache_id`, `cache_updated`, `cache_type`, `cache_set_' at line 4
ERROR 1064 (42000) at line 18430: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO `skin_cache` (`cache_id`, `cache_updated`, `cache_type`, `cache_set_' at line 4
ERROR 1064 (42000) at line 18469: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO `skin_cache` (`cache_id`, `cache_updated`, `cache_type`, `cache_set_' at line 4
ERROR 1064 (42000) at line 18503: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO `skin_cache` (`cache_id`, `cache_updated`, `cache_type`, `cache_set_' at line 4
ERROR 1064 (42000) at line 18528: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO `skin_cache` (`cache_id`, `cache_updated`, `cache_type`, `cache_set_' at line 4
ERROR 1064 (42000) at line 18533: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO `skin_cache` (`cache_id`, `cache_updated`, `cache_type`, `cache_set_' at line 4
ERROR 1064 (42000) at line 19416: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO `skin_templates` (`template_id`, `template_set_id`, `template_group`' at line 4
В чем причина?

3195 сообщений
872 сообщения
#13 лет назад
AlekartRu, спасибо, попробую сейчаспогуглил и нашел:
Цитата:
Если при восстановлении базы MySQL из дампа Вы получили сообщение об ошибке вида: "ERROR 1064 (42000) at line 11: You have an error in your SQL syntax; check the manual that corresponds...", - то, скорее всего, это означает, что в данной базе в качестве названий таблиц или полей таблиц используются зарезервированные слова типа SELECT, DELETE, DROP, INT, DEFAULT и т.п.
Их можно использовать в SQL-запросах в том случае, если они указаны в обратных апострофах. Например, `SELECT`.
Проблему с дампом можно решить, используя ключ -Q (или --quote-names) команды mysqldump. При создании дампа этот ключ указывает на то, что все имена должны быть заключены в обратные апострофы (`).-Q, --quote-names Quote table and column names with backticks (`).
хз оно или нет, а если оно только строчку добавить?)
872 сообщения
#13 лет назад
AlekartRu, точно права не были на папку кеш. а как эту папку почистить, поудалять файлы отличающиеся от файлов установочного движка?