Create MySQL Database and User – the proper way

I read so much bullshit about how to create a mysql user and database, in most cases it’s not just inefficient but also wrong.

So here is the best and most efficient way to create a MySQL database and user with password:

Done.

No FLUSH PRIVILEGES.
No create user, then database then give user access then update password.
Just those 2 lines. Nothing more.

Spread the love

Leave a Reply

Your email address will not be published. Required fields are marked *