Unable to use the database


#1

mysql -u retail_dba -h nn01.itversity.com -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 19267
Server version: 5.6.34 MySQL Community Server (GPL)
Copyright © 2000, 2018, 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> show databases;
±-------------------+
| Database |
±-------------------+
| information_schema |
| retail_db |
| retail_export |
| retail_import |
±-------------------+
4 rows in set (0.00 sec)
mysql> use retail_db;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed


#2

getting message as database changed


#3

@sonali1 Follow the discussion How to access MySQL in Big data labs?