I am using Debian Linux on which MySQL is installed.
I can log in to my Linux machine using root user as well as other user.
I can connect to MySQL database on Linux machine from Windows machine using SQLyog.
Now I want to execute queries on Linux machine only using Linux terminal command line.
I tried some following things on terminal
I went to root directory then I went to /var/lib directory
I run following commands on terminal
mysqladmin -u root -p
mysqladmin -u root -ppassword
everytime I have tried, I get the following error message:
ERROR 1045 (28000) Access denied for user 'root'@'localhost' (Using password NO)
How can I accomplish the following?:
- How do I get MySQL prompt in Linux terminal?
- How I stop the MySQL server from Linux terminal?
- How I start the MySQL server from Linux terminal?
- How do I get MySQL prompt in Linux terminal?
- How do I login to MySQL server from Linux terminal?
- How do I solve following error?
ERROR 1045 (28000) Access denied for user 'root'@'localhost' (Using password NO)