I am not able to create a database - Please help.
- mysql> sudo CREATE DATABASE ecomstore CHARACTER SET utf8;
With the above command, I get following error ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sudo CREATE DATABASE ecomstore CHARACTER SET utf8' at line 1
- Show databases gives me following answer and I am able to access test database
mysql> SHOW DATABASES; +--------------------+ | Database | +--------------------+ | information_schema | | test | +--------------------+ 2 rows in set (0.00 sec)
- With following command, i get
mysql> SELECT USER() , CURRENT_DATE; +-------------------+--------------+ | USER() | CURRENT_DATE | +-------------------+--------------+ | bitnami@localhost | 2012-08-29 | +-------------------+--------------+ 1 row in set (0.00 sec)