mastercard100
18-03-2013, 20:18
#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 'Ошибка SQL-запрос: -- -- База данных: `proekt` -- -- -' at line 1
Ошибка
SQL-запрос:
-- -- База данных: `proekt` -- -- -------------------------------------------------------- -- -- Структура таблицы `q5tz6_assets` -- CREATE TABLE IF NOT EXISTS `q5tz6_assets` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Primary Key', `parent_id` int(11) NOT NULL DEFAULT '0' COMMENT 'Nested set parent.', `lft` int(11) NOT NULL DEFAULT '0' COMMENT 'Nested set lft.', `rgt` int(11) NOT NULL DEFAULT '0' COMMENT 'Nested set rgt.', `level` int(10) unsigned NOT NULL COMMENT 'The cached level in the nested tree.', `name` varchar(50) NOT NULL COMMENT 'The unique name for the asset.\n', `title` varchar(100) NOT NULL COMMENT 'The descriptive title for the asset.', `rules` varchar(5120) NOT NULL COMMENT 'JSON encoded access control.', PRIMARY KEY (`id`), UNIQUE KEY `idx_asset_name` (`name`), KEY `idx_lft_rgt` (`lft`,`rgt`), KEY `idx_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMEN[...]
Ответ [...]
прямые ссылки на это фото с ошибкой:
http://gifok.net/images/2013/03/18/4bYem.jpg
http://4put.ru/pictures/max/562/1728408.jpg
Ошибка
SQL-запрос:
-- -- База данных: `proekt` -- -- -------------------------------------------------------- -- -- Структура таблицы `q5tz6_assets` -- CREATE TABLE IF NOT EXISTS `q5tz6_assets` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Primary Key', `parent_id` int(11) NOT NULL DEFAULT '0' COMMENT 'Nested set parent.', `lft` int(11) NOT NULL DEFAULT '0' COMMENT 'Nested set lft.', `rgt` int(11) NOT NULL DEFAULT '0' COMMENT 'Nested set rgt.', `level` int(10) unsigned NOT NULL COMMENT 'The cached level in the nested tree.', `name` varchar(50) NOT NULL COMMENT 'The unique name for the asset.\n', `title` varchar(100) NOT NULL COMMENT 'The descriptive title for the asset.', `rules` varchar(5120) NOT NULL COMMENT 'JSON encoded access control.', PRIMARY KEY (`id`), UNIQUE KEY `idx_asset_name` (`name`), KEY `idx_lft_rgt` (`lft`,`rgt`), KEY `idx_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMEN[...]
Ответ [...]
прямые ссылки на это фото с ошибкой:
http://gifok.net/images/2013/03/18/4bYem.jpg
http://4put.ru/pictures/max/562/1728408.jpg