enter image description hereI'm beginner python code, and not good at english.
my laptop window 10 pro, python version 3.6 mysql commmunity server version 8.0.12
problem
headfirst python
this is the code
mysql -u root -p
mysql>create database vsearchlogDB;
mysql>grant all on vsearchlogDB.* to 'vsearch' identified by 'vsearchpasswd';
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 'identified by 'vsearchpasswd'' at line 1
create user vsearchlogDB identified by 'vsearchpasswd';not justcreate vsearchlogDB;