Anonymous Asked in Cars &Transportation ยท 2 weeks ago

How do I create a new database in MySQL?

Contents
Create a MySQL Database Using CLI SSH into your server as root. Log into MySQL as root: Copy. mysql -u root. Create a new database user: Copy. GRANT ALL PRIVILEGES ON *. . Log out of MySQL by typing: \q . Log in as the new database user you just created: Copy. mysql -u db_user -p. . Create a new database: Copy.


Related Questions

Relevance
Write us your question, the answer will be received in 24 hours