how to connect to mysql using command line code example Example: how to connect mysql local server \connect root@localhost:3306