Je nejaky problem pozriet si manual?
http://dev.mysql.com/tech-resources/articles/mysql  _intro.html#SECTION0001000000
Okrem ineho sa tam dozvies.
Therefore, execute the following command: 
%>mysql -u root
 The following should appear: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 8 to server version: 3.23.28-gamma-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer
mysql>