The document details a session in the MariaDB database management system, showcasing commands executed by the user. It includes operations such as showing databases, selecting a database, displaying tables, inserting records, using transactions, and rolling back changes. The final commands demonstrate the deletion of records and the subsequent rollback to restore the original data state.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
9 views2 pages
DBMS06.01 64
The document details a session in the MariaDB database management system, showcasing commands executed by the user. It includes operations such as showing databases, selecting a database, displaying tables, inserting records, using transactions, and rolling back changes. The final commands demonstrate the deletion of records and the subsequent rollback to restore the original data state.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2
File: /home/lab04/DBMS06.
01_64 Page 1 of 2
(base) lab04@Comp25:~$ sudo mysql -u root
[sudo] password for lab04: Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 37 Server version: 10.6.18-MariaDB-0ubuntu0.22.04.1 Ubuntu 22.04
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> show databases;
+--------------------+ | Database | +--------------------+ | OLAP | | book | | department | function | | information_schema | | manisha | | mysql | | performance_schema | | retail_sales | | students | +--------------------+ 18 rows in set (0.000 sec)
MariaDB [(none)]> use students;
Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A