MySQL syntax error

Source: Internet
Author: User
Error message MySQL server version for the right syntax

Possible causes 1. The name of the database, the name of the table, the name of the field, cannot appear the MySQL keyword.
For example, 1) desc or ASC2) group

2. The name of the database, the name of the table, the name of the field, contains special characters.
For example, if the name of the database is P-pet, then use ' P-pet '. Note: not double quotes, nor single quotes, but the key below the ESC key.


Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

MySQL syntax error

Related Article

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.