How do you login to MySql using Unix shell?
Answer / 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 |
What is mysqli_free_result?
How do I select a database in mysql?
What are federated tables?
how to find missing numbers between two order numbers; and dates ?
How does mysql clustering work?
How to calculate the difference between two dates?
Can mysql store files?
What happens if null values are involved in expressions?
What are the non-standard sql commands supported by 'mysql'?
What is delimiter in mysql?
How many ways to get the current time?
Can't connect mysql server on localhost?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)