What to do if error code 1064 occurs in mysql

coldplay.xixi
Release: 2023-01-03 09:28:49
Original
57369 people have browsed it

Mysql error code 1064 Solution: First enter mysql in command line mode; then enter a database and enter the correct code [SELECT * FROM branch; SELET * FROM branch;].

What to do if error code 1064 occurs in mysql

The operating environment of this tutorial: windows7 system, mysql version 8.0.22, DELL G3 computer.

mysql error code 1064 Solution:

1. First, we enter mysql in command line mode.

mysql -uroot -p
Copy after login

What to do if error code 1064 occurs in mysql

#2. Then enter one of the databases.

SHOW DATABASES; USE testdb;
Copy after login

What to do if error code 1064 occurs in mysql

3,

SELECT * FROM branch;
Copy after login

The error here is the comma and semicolon, which is a common input error.

What to do if error code 1064 occurs in mysql

4,

SELET * FROM branch;
Copy after login

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

What to do if error code 1064 occurs in mysql

5,

SELECT * FORM branch;
Copy after login

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

What to do if error code 1064 occurs in mysql

Related free learning recommendations:mysql video tutorial

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

Related labels:
source:php.cn
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!