Interview Questions

Mysql - Create alias in linux for mysql login

Use the following command to create alias for mysql login

 alias mysqltdd='mysql -u Techdive -p<password> Techdive'

In the above command "Techdive" is the database name and password should be specified after the "-p" command instead of "<password>" placeholder.

0
No votes yet
Your rating: None