Home >Database >Mysql Tutorial >What is the solution to mysql error code 1064?

What is the solution to mysql error code 1064?

coldplay.xixi
coldplay.xixiOriginal
2020-06-18 10:51:4210098browse

What is the solution to mysql error code 1064?

What is the solution to mysql error code 1064?

Mysql error code 1064 solution:

1. First, we enter mysql in the command line mode and enter mysql -uroot -p.

What is the solution to mysql error code 1064?

What is the solution to mysql error code 1064?

2. Then enter one of the databases.

SHOW DATABASES;

USE testdb;

What is the solution to mysql error code 1064?

What is the solution to mysql error code 1064?

##3.SELECT * FROM branch,;

The errors here are commas and semicolons. This is a common input error.

What is the solution to mysql error code 1064?

What is the solution to mysql error code 1064?##4. SELET * FROM branch;

This is because the spelling error of SELECT is missing a C.

What is the solution to mysql error code 1064?

##5.SELECT * FORM branch;What is the solution to mysql error code 1064?

There is also a writing error here, FORM should be changed to FROM.

What is the solution to mysql error code 1064?

Recommended tutorial: "What is the solution to mysql error code 1064?Mysql video tutorial

"

The above is the detailed content of What is the solution to mysql error code 1064?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn