1

I want to use MySQL/MariaDB from the command line. In Windows, when I type "mysqld" to start the database server, the command prompt to run the MySQL client and type SQL disappears. How do I start the server and interact with the database on the command line?

Enter image description here

2 Answers 2

2

You're running mysqld (the MySQL daemon) successfully. It's a server and now serves MySQL.

After that, you need to run mysql, the MySQL client from the command-line interface for interacting with the server.

Sign up to request clarification or add additional context in comments.

1 Comment

Do you understand your own writing? Are you using machine translation (e.g., Google Translate)?
0

You can install the MySQL shell from here.

And then start it like this:

mysqlsh --uri user@localhost

Take a look at the official documentation

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.