EXP10
EXP10
Enter password:
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
+-----------------------+
| Database |
+-----------------------+
| ABDULLA |
| DBMS_EXP4_OPERATORS |
| DBMS_EXP5_JOINS |
| DBMS_EXP8_CONSTRAINTS |
| EXP1 |
| EXP10 |
| information_schema |
| mysql |
| performance_schema |
| PRACTISE |
| sys |
+-----------------------+
You can turn off this feature to get a quicker startup with -A
Database changed
+-----------------+
| Tables_in_exp10 |
+-----------------+
| DEPT |
| EMP |
+-----------------+
+--------+---------+-----------+
+--------+---------+-----------+
| 1 | 123 | CSE |
| 4 | 145 | CSD |
| 1 | 421 | CSD |
| 3 | 465 | CIVIL |
| 2 | 1214 | ME |
+--------+---------+-----------+
+--------+----------+
| EMP_ID | EMP_NAME |
+--------+----------+
| 1 | asd |
| 2 | pqr |
| 3 | mno |
| 4 | xyz |
+--------+----------+
+------------------+
| USER |
+------------------+
| A1 |
| DANISH |
| TEST |
| USER1 |
| abdulla |
| mysql.infoschema |
| mysql.session |
| mysql.sys |
| root |
+------------------+
mysql> \q
Bye
Enter password:
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
+--------------------+
| Database |
+--------------------+
| EXP10 |
| information_schema |
| performance_schema |
+--------------------+
You can turn off this feature to get a quicker startup with -A
Database changed
+-----------------+
| Tables_in_exp10 |
+-----------------+
| DEPT |
| EMP |
+-----------------+
-> 5,'BILAL');
Query OK, 1 row affected (0.00 sec)
+--------+----------+
| EMP_ID | EMP_NAME |
+--------+----------+
| 2 | pqr |
| 3 | mno |
| 4 | xyz |
| 5 | BILAL |
+--------+----------+
mysql> \q
Bye
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Enter password:
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> \q
Bye
abdulladanish@Abdullas-MacBook-Air ~ % mysql -u DBMS -p
Enter password:
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
You can turn off this feature to get a quicker startup with -A
Database changed
ERROR 1142 (42000): DELETE command denied to user 'DBMS'@'localhost' for table
'emp'
mysql> \q
Bye
Enter password:
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
You can turn off this feature to get a quicker startup with -A
Database changed
mysql>
mysql>
mysql>