gpt4 book ai didi

php - 上传sql文件时mysql数据库显示错误

转载 作者:太空宇宙 更新时间:2023-11-03 12:23:11 25 4
gpt4 key购买 nike

<分区>

SQL query:

--
-- Database: `nand_ganga`
--
-- --------------------------------------------------------
--
-- Table structure for table `sei92_assets`
--
CREATE TABLE IF NOT EXISTS `sei92_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 = MYISAM DEFAULT CHARSET = utf8 AUTO_INCREMENT =46;

我得到了错误

Documentation #1046 - No database selected

我无法识别哪里/出了什么问题。

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com