Не могу залить дамп бд WP, помогите!

[Удален]
1053

SQL выдает ошибку, какой бы дамп я не заливал.

Также не получается просто создать таблицу в бд!

Ошибка

#1064 - 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 'CREATE TABLE IF NOT EXISTS `wp_comments` ( `comment_ID` bigint(20) unsigned N' at line 22

дамп

-- phpMyAdmin SQL Dump

-- version 3.1.5

-- http://www.phpmyadmin.net

--

-- Хост:

-- Время создания: Окт 20 2010 г., 13:36

-- Версия сервера: 5.0.87

-- Версия PHP: 5.2.11

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";

--

-- База данных: `melok_wp`

--

-- --------------------------------------------------------

--

-- Структура таблицы `wp_comments`

--

CREATE TABLE IF NOT EXISTS `wp_comments` (

`comment_ID` bigint(20) unsigned NOT NULL auto_increment,

`comment_post_ID` bigint(20) unsigned NOT NULL default '0',

`comment_author` tinytext NOT NULL,

`comment_author_email` varchar(100) NOT NULL default '',

`comment_author_url` varchar(200) NOT NULL default '',

`comment_author_IP` varchar(100) NOT NULL default '',

`comment_date` datetime NOT NULL default '0000-00-00 00:00:00',

`comment_date_gmt` datetime NOT NULL default '0000-00-00 00:00:00',

`comment_content` text NOT NULL,

`comment_karma` int(11) NOT NULL default '0',

`comment_approved` varchar(20) NOT NULL default '1',

`comment_agent` varchar(255) NOT NULL default '',

`comment_type` varchar(20) NOT NULL default '',

`comment_parent` bigint(20) unsigned NOT NULL default '0',

`user_id` bigint(20) unsigned NOT NULL default '0',

PRIMARY KEY (`comment_ID`),

KEY `comment_approved` (`comment_approved`),

KEY `comment_post_ID` (`comment_post_ID`),

KEY `comment_approved_date_gmt` (`comment_approved`,`comment_date_gmt`),

KEY `comment_date_gmt` (`comment_date_gmt`)

) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2118 ;

--

-- Дамп данных таблицы `wp_comments`

--

INSERT INTO `wp_comments` (`comment_ID`, `comment_post_ID`, `comment_author`, `comment_author_email`, `comment_author_url`, `comment_author_IP`, `comment_date`, `comment_date_gmt`, `comment_content`, `comment_karma`, `comment_approved`, `comment_agent`, `comment_type`, `comment_parent`, `user_id`) VALUES

(4, 3, 'admin', ... итд

juniorspecialistphp
На сайте с 08.08.2010
Offline
25
#1

Возможно ваш MySQl не поддерживает тип bigint(20), измените его на "int" и попробуйте запустить.

Пишу скрипты любой сложности на РНР. (http://elagin.su)

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий