Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Accepted Answer
I managed to do what I want by using these commands -
CREATE DATABASE dbnamehere;
CREATE USER 'dbuserhere'@'localhost' IDENTIFIED WITH mysql_native_password BY 'passwordhere';
GRANT ALL on dbnamehere.* TO 'dbuserhere'@'localhost';
Hi @twc8ac35a8636,
Is mysql-create-db-and-user some kind of a custom script?
What I think happened is that with apt update and apt upgrade you’ve updated a Minor version or a NOT so minor version on MySQL which has a different syntax for the CREATE statement being used in the mysql-create-db-and-user script.
What I’ll recommend is to find the said script and update it with the new Syntax.
Are you using the NPM module? https://www.npmjs.com/package/mysql-create-db-and-user
that’s a script you invoke, post your script WITHOUT credentials here.