Answer the question
In order to leave comments, you need to log in
What is the error when logging into mysql?
Good afternoon.
I'm trying to log into mysql, I enter the line mysql -u root -p into the terminal. It throws this error
The program 'mysql' can be found in the following packages:
* mysql-client-core-5.7
* mariadb-client-core-10.1
Try: sudo apt install
What should I do?
Answer the question
In order to leave comments, you need to log in
You just installed the server, without the console client.
sudo apt-get install mysql-client
https://help.ubuntu.ru/wiki/mysql
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question