title: Switch user from root to another user in MySQL through command line
body: <p>I installed MySQL database in my machine. I was new to MySQL, can anyone help me with query used to switch to another user in MySQL through command line. Thanks in advance. </p>