I am trying to follow this tutorial for MySQL & JDBC:
http://www.vogella.com/tutorials/MySQLJava/article.html
I have to execute this command on the command line client:
grant usage on *.* to sqluser@localhost identified by 'sqluserpw';
I then get this error
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 'sqluserpw'' at line 1
My MySQL server version is 8.0.13, but I can not find any information about what is wrong with my syntax. I have checked similar threads here, but they don't answer this question.