I am trying to install mysql in ubuntu 18.04 in namecheap vps server but when I am trying to login to mysql using root, giving me this error
Stop MySQL service
sudo mysqld_safe --skip-grant-tables --skip-networking &
mysql -u root
I am trying to install mysql in ubuntu 18.04 in namecheap vps server but when I am trying to login to mysql using root, giving me this error
Stop MySQL service
sudo mysqld_safe --skip-grant-tables --skip-networking &
mysql -u root
You can run the following command on linux ubuntu to start mysql again.service mysql start
Then you can use mysql monitor using command sudo mysql
or mysql -u root
.