On Feb 18 2021, at 12:48:59 AM, giacomo.u...@gmail.com <giacomo.u...@gmail.com> wrote:
This email has been received from outside of DOI - Use caution before clicking on links, opening attachments, or responding.
--
--
You received this message because you are subscribed to the Google
Groups "Earthworm Community Forum" group.
To post to this group, send an email to earthwo...@googlegroups.com
To unsubscribe from this group, send an email to
earthworm_for...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/earthworm_forum?hl=en
---
You received this message because you are subscribed to the Google Groups "Earthworm Community Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to earthworm_for...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/earthworm_forum/31789747-6c7e-41d4-814a-cadbd4eb8445n%40googlegroups.com.


On Feb 18 2021, at 10:20:28 AM, G Ulivieri <giacomo.u...@gmail.com> wrote:
Dear Larry
Thanks for the answer, tried also with privileges but seems there’s a syntax error
mysql> grant all privileges on `W\_%`.* to 'wwsuser'@'localhost' identified by 'wwspass';
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 'Wave*Worm2021'' at line 1
then i proceeded in this way:
mysql> CREATE USER 'wwsuser'@'localhost'IDENTIFIED WITH mysql_native_password BY 'Wave*Worm2021';Query OK, 0 rows affected (0.03 sec)mysql> GRANT ALL PRIVILEGES ON `W\_%`.* TO 'wwsuser'@'localhost’;Query OK, 0 rows affected (0.02 sec)
However, when i run ImportEW.sh i receive ERROR message
<Schermata 2021-02-18 alle 18.31.44.png>
Moreover, this is the mysql dB and the information_schema of the created W_ROOT database, the latter i think not in the right way
<Schermata 2021-02-18 alle 19.18.18.png>
CREATE USER ‘wwsuser’@’localhost’ IDENTIFIED BY ‘yourpassword’;
GRANT ALL PRIVILEGES on `W\_%`.* TO ‘wwsuser’@’localhost’;
ALTER USER ‘wwsuser’@’localhost’ IDENTIFIED WITH mysql_native_password BY ‘yourpassword’;
flush privileges;
I also had to add the following line to the my.cnf file:
default-authentication-plugin=mysql_native_password
I would also consider removing the asterisk from your password.
-Nick
California Dept. of Water Resources