DEV Community

Discussion on: A Simple Express Server and MySQL Database

Collapse
 
darkain profile image
Vincent Milum Jr

"It's better to create a new user other than root to handle your database."

While great in theory, in the tutorial, you gave this new user the exact same permissions as root, effectively making them another root user, only under a different name.

Collapse
 
oshanoshu profile image
Oshan Upreti

That’s astute observation. That certainly contradicts the earlier statement. But, I have written that we have gave this user all kinds of privileges on the following line.
I’ll add a line for the way not to give user all kind of permissions.
Thanks for reading :)