I just uninstalled and reinstalled mysql in my Ubuntu. After installation, setting root and the password, I tried to login through "mysql -u root -p", but it yields with the following:
The program 'mysql' can be found in the following packages: * mysql-client-core-5.7 * mariadb-client-core-10.0 Try: sudo apt install
I then try "sudo apt install mysql-client-core-5.7" It shows "
mysql-client-core-5.7 is already the newest version (5.7.25-0ubuntu0.16.04.2).
". However it still does not work. Each time I type "mysql", it still yields:
The program 'mysql' can be found in the following packages: * mysql-client-core-5.7 * mariadb-client-core-10.0 Try: sudo apt install
I think that my MySQL server is running good and I have already connected it with my emma client. Anyone has any idea about this issue?
sudo apt install mysql-client-5.7
?sudo apt remove mysql-client-core-5.7
and, if that succeeds,sudo apt install mysql-client-5.7
.systemctl unmask mysql.service
and thenservice mysql start
.