第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問(wèn)題,去搜搜看,總會(huì)有你想問(wèn)的

為什么建表全部報(bào)錯(cuò)了!

為什么建表全部報(bào)錯(cuò)了!

PHP
FanlyBaby 2016-09-23 16:31:00
?CREATE DATABASE IF NOT EXISIS 'shopImooc';ERROR 1064 (42000): 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 'EXISIS 'shopImooc'' at line 1mysql> USE 'shopImooc';ERROR 1049 (42000): Unknown database 'shopimooc'mysql> --管理員表? ? -> DROP TABLE IF EXISTS 'imooc_admin';ERROR 1064 (42000): 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 '--管 理員表DROP TABLE IF EXISTS 'imooc_admin'' at line 1mysql> CREATE TABLE 'imooc_admin'(? ? -> 'id' tinyint unsigned auto_increment key,? ? -> 'username' varchar(20) not null unique,? ? -> 'password' char(32) not null,? ? -> 'email' varchar(50) not null? ? -> )charset=utf8;ERROR 1064 (42000): 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 ''imooc_admin'('id' tinyint unsigned auto_increment key,'username' varchar(20) ' at line 1mysql>mysql> --分類(lèi)表? ? -> DROP TABLE IF EXISTS 'imooc_cate';ERROR 1064 (42000): 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 '--分 類(lèi)表DROP TABLE IF EXISTS 'imooc_cate'' at line 1mysql> CREATE TABLE 'imooc_cate'(? ? -> 'id' smallint unsigned auto_increment key,? ? -> 'cName' varchar(50) unique? ? -> )charset=utf8;ERROR 1064 (42000): 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 ''imooc_cate'('id' smallint unsigned auto_increment key,'cName' varchar(50) uni' at line 1mysql>mysql> --產(chǎn)品表? ? -> DROP TABLE IF EXISTS 'imooc_pro';ERROR 1064 (42000): 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 '--產(chǎn) 品表DROP TABLE IF EXISTS 'imooc_pro'' at line 1mysql> CREATE TABLE 'imooc_pro'(? ? -> 'id' int unsigned auto_increment key,? ? -> 'pName' varchar(50) not null unique,? ? -> 'pSn' varchar(50) not null,? ? -> 'pNum' int unsigned default 1,? ? -> 'mPrice' decimal(10,2) not null,? ? -> 'iPrice' decimal(10,2) not null,? ? -> 'pDesc' text,? ? -> 'pImg' varchar(50) not null,? ? -> 'pubTime' int unsigned not null,? ? -> 'isShow' tinyint(1) default 1,? ? -> 'isHot' tinyint(1) default 0,? ? -> 'cId' smallint unsigned not null? ? -> )charset=utf8;ERROR 1064 (42000): 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 ''imooc_pro'('id' int unsigned auto_increment key,'pName' varchar(50) not null ' at line 1mysql>mysql> --用戶表? ? -> DROP TABLE EXISTS 'imooc_user';ERROR 1064 (42000): 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 '--用 戶表DROP TABLE EXISTS 'imooc_user'' at line 1mysql> CREATE TABLE 'imooc_user'(? ? -> 'id' int unsigned auto_increment key,? ? -> 'username' varchar(20) not null unique,? ? -> 'password' char(32) not null,? ? -> 'sex' enum("男","女","保密") not null default "保密",? ? -> 'face' varchar(50) not null,? ? -> 'regTime' int unsigned not null? ? -> )charset=utf8;ERROR 1064 (42000): 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 ''imooc_user'('id' int unsigned auto_increment key,'username' varchar(20) not n' at line 1mysql>mysql> --相冊(cè)表? ? -> DROP TABLE IF EXISTS 'imooc_album';ERROR 1064 (42000): 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 '--相 冊(cè)表DROP TABLE IF EXISTS 'imooc_album'' at line 1mysql> CREATE TABLE 'imooc_album'(? ? -> 'id' int unsigned auto_increment key,? ? -> 'pid' int unsigned not null,? ? -> 'albumPass' varchar(50) not null? ? -> )charset=utf8;ERROR 1064 (42000): 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 ''imooc_album'('id' int unsigned auto_increment key,'pid' int unsigned not null' at line 1
查看完整描述

3 回答

?
慕粉3612410

TA貢獻(xiàn)2條經(jīng)驗(yàn) 獲得超3個(gè)贊

應(yīng)該是包裹數(shù)據(jù)庫(kù)名和表名的兩個(gè)引號(hào)寫(xiě)錯(cuò)了,是鍵盤(pán)左上角的那個(gè)頓號(hào)形式的,不是雙引號(hào)那個(gè)。

查看完整回答
1 反對(duì) 回復(fù) 2016-09-23
?
leon0204

TA貢獻(xiàn)4條經(jīng)驗(yàn) 獲得超0個(gè)贊

'' ? ? ``

查看完整回答
反對(duì) 回復(fù) 2016-10-21
  • 3 回答
  • 0 關(guān)注
  • 5542 瀏覽

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)