EXERCE 1 1. Prompt > mysql –h localhost –u root -p 2. select current_date(); 3. select version(); 4. show databases; 5. exit Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\ICI MAKATI>mysql ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: N O) C:\Documents and Settings\ICI MAKATI>mysql -h localhost -u root -p Enter password: **** Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 4 Server version: 5.5.8 MySQL Community Server (GPL) Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> select current_date; +--------------+ | current_date | +--------------+ | 2011-01-23 | +--------------+ 1 row in set (0.00 sec) mysql> select version(); +-----------+ | version() | +-----------+ | 5.5.8 | +-----------+ 1 row in set (0.02 sec) mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | mysql | | performance_schema | | test | +--------------------+ 4 rows in set (0.00 sec) mysql> exit