Professional Documents
Culture Documents
Dbms Lab1
Dbms Lab1
Dbms Lab1
Lab Assignment-I
Title: Introduction to different databases software and Installation of Various Databases, and
Oracle Database (11g XE).
A database is a shared collection of related data used to support the activities of a particular
organization. It can be viewed as a repository of data that is defined and accessed by various
users.
1. MySQL
Description: MySQL is a relational database management system (RDBMS) that uses
structured query language (SQL). It is a client/server system that includes a multithreaded SQL
server, client programs and libraries, administrative tools, and application-programming
interfaces (APIs).
Installation Of MySQL
Step 1: After downloading the setup, unzip it anywhere and double click the
MSI installer .exe file.
Step 2: In the next wizard, choose the Setup Type. There are several types available, and
you need to choose the appropriate option to install MySQL product and features. Here, we
are going to select the Full option and click on the Next button.
· This option will install the following things: MySQL Server, MySQL Shell, MySQL
Router, MySQL Workbench, MySQL Connectors, documentation, samples and examples,
and many more.
Step 3: Once we click on the Next button, it may give information about some features that
may fail to install on your system due to a lack of requirements. We can resolve them by
clicking on the Execute button that will install all requirements automatically or can skip them.
Now, click on the Next button.
Step 4: Here, we have to click on the Yes button.
· After clicking on the Yes button, we will see the list of the products which are going to be
installed. So, if we need all products, click on the Execute button.
Step 7: Here, we have to configure the MySQL Server. Now, choose the Standalone MySQL
Server/Classic MySQL Replication option and click on Next.
Step 8: Here, we are going to select the Config Type as 'Development Machine' and
Connectivity as TCP/IP, and Port Number is 3306, then click on Next.
Step 9: Now, select the Authentication Method and click on Next. Here, I am going to select the
first option.
Step 10: The next screen will ask you to mention the MySQL Root Password. After filling the
password details, click on the Next button.
Step 11: Keep the default setup and click on the Next
button.
Step 12: In the next wizard, the system will ask you to
apply the Server Configuration. If you agree with this
configuration, click on the Execute button.
Step 14: In the next screen, you can see that the Product Configuration is completed. Keep the
default setting and click on the Next-> Finish button to complete the MySQL package
installation.
Step 15: Click on Next->Finish and then click the Next button.
Step 16: In the next wizard, we will see the Connect to Server option. Here, we have to mention
the root password, which we had set in the previous steps.
SQL ServerMicrosoft
Microsoft SQL Server is an RDBMS database that supports a wide variety of analytic
applications in corporate IT, transaction processing, and business intelligence.
Step 2. Run the downloaded file and you will see the below screen. Now select the third option
– Download Media.
Step 3. Now you will see the below screen. Please select the language you prefer and select
the ISO radio button to download the ISO file. In addition, select the download location of your
choice. I will go with the default location. Now press the Download button.
Step 4. Now it will start downloading SQL Server installation media. It will take some time
based on your internet connection speed.
Step 5. After successful download of installation media, you will see the below screen. Click
the Close button.
Step-4. Just select the checkbox and click on the Next button.
Step 6. Now it will check for updates and install them if any.
PostgreSQL
Download
Step 1:
Download Postgres Installer here. Postgres Installer is available for PostgreSQL 9.5, 9.6, 10, 11,
and 12(beta).
Step 2:
Click on the executable file to run the installer.
Step 3:
Select your preferred language.
Step 4:
Specify directory where you want to install PostgreSQL.
Step 5:
Specify PostgreSQL server port. You can leave this as default if you’re unsure what to enter.
Step 6:
Specify data directory to initialize PostgreSQL database.
Step 7:
Create a PostgreSQL user password.
Step 8:
Create password for database Superuser.
Step 9:
Click next to begin PostgreSQL installation.
To Install PostgreSQL via Unattended Mode
Navigate to the directory that contains Postgres Installer and enter:
Windows:
PostgreSQL-10.9-1-windows-installer.exe – mode unattended – unattendedmodeui none –
data_dir C:\ProgramData\postgresql\10\data – pg_port 5432 – pg_password –
superuser_password
OSX:
PostgreSQL-10.4-1-osx-installer.app/Contents/MacOS/installbuilder.s – mode unattended –
superuser_password database_superuser_password
Linux:
PostgreSQL-10.4-1-osx-installer-2.app/Contents/MacOS/installbuilder.s – mode unattended –
superuser_password database_superuser_password