PHP Database Import Data issues

Source: Internet
Author: User
Keywords PHP Data Database
Tags php database
PHP Data Database

Error
SQL query:

--Database: ' Rocboss '

--The structure of the table ' Roc_attachment '

CREATE TABLE IF not EXISTS ' roc_attachment ' (

' ID ' INT (one) UNSIGNED not NULL,
' UID ' mediumint (8) UNSIGNED not NULL,
' Path ' VARCHAR (.) is not NULL,
' Time ' INT (one) UNSIGNED not NULL,
' Tid ' INT (one) UNSIGNED not NULL DEFAULT ' 0 ',
' PID ' INT (one) UNSIGNED not NULL DEFAULT ' 0 '
ENGINE = MYISAM auto_increment =3 DEFAULT CHARSET = UTF8 Row_format = DYNAMIC;

MySQL return: Documentation

#1064-you has an error in your SQL syntax; Check the manual-corresponds to your MySQL server version for the right syntax-use-near ' roc_attachment ' (
' id ' int (one) unsigned not NULL,
' UID ' mediumint (8) Unsign ' at line 11

求大神  做好的数据想往数据库里面导 MySQL数据库
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.