adspace


How do you login to MySql using Unix shell?

Answer Posted / Nivedita Mishra

To log in to MySQL using the Unix shell, follow these steps:
1. Open a terminal window and type `mysql -u root -p`
2. When prompted, enter the root password.
3. If you're using a Unix-based system like Linux or macOS, you can also specify a user other than root by typing `mysql -h localhost -u username -p password`

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is current version of mysql?

1083


What is the current mysql version?

1104


How to Change a users password from unix shell.

1222


Which statement is used in a select query for partial matching?

1247