Open terminal (CTRL + ALT + T) and then depending on action use this following code. To import database from local *.sql file by using terminal:- OR if you have a database username(as admin) and password(as admin137). Use this following code:-