mysql --user=[username] --password=[password [Database]
ex:
mysql --user=root --password=123445 MpDb
If already login user following command to change database
use MpDb;
Commit changes with
commit;
ex:
mysql --user=root --password=123445 MpDb
If already login user following command to change database
use MpDb;
Commit changes with
commit;