$ mysql> grant all on mokey.* to [user]@localhost identified by '[pass]'
$ mysql> exit
$ mysql -u root -p mokey < /usr/share/mokey/ddl/schema.sql
MariaDB [(none)]> grant all on mokey.* to [user]@localhost identified by '[pass]'
-> exit
-> mysql -u root -p mokey < /usr/share/mokey/ddl/schema.sql
->
So I tried end with ; but got error
-> ;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '[user]@localhost identified by '[pass]'
exit
mysql -u root -p mokey < /usr/share' at line 1
I'm sorry that I often use GUI operations like phpmyadmin
So I tried end with
;
but got errorI'm sorry that I often use GUI operations like phpmyadmin
Thanks