Practical-1 Mysql Installation & Introduction
Practical-1 Mysql Installation & Introduction
• Installation of MySQL
• Minimum Requirements for Windows
o Microsoft .NET Framework 4.5.2
o Microsoft Visual C++ Redistributable for Visual Studio 2019
o Microsoft Windows 10 or Windows Server 2019
Available at Microsoft download center
• Download the installer for the MySQL
o The general MySQL Installer download is available
at https://dev.mysql.com/downloads/windows/installer/
o Select the Mysql-installer-community.msi, click on download
o It will install MySQL workbench
• Installation Wizard
Step 1 : select the setuptype
Step 3 : click on the execute button , It will install all required packages.
• Reasons of popularity
o MySQL is an open-source database
o MySQL supports large databases, up to 50 million rows or more in a table,
Default size limit is 4 GB and it can be extends upto 8 TB for a table.
o MySQL uses a standard form of the well-known SQL data language.
o MySQL is very friendly with PHP, the most popular language for web
development.
•
• MySQL Features
o MySQL is a relational database management system.
o Easy to use: MySQL is easy to use. You have to get only the basic
knowledge of SQL.
o It is secure: MySQL consist of a solid data security layer that protects
sensitive data from intruders. Passwords are encrypted in MySQL.
o Client/ Server Architecture: MySQL follows a client /server
architecture. There is a database server (MySQL) and arbitrarily many
clients (application programs), which communicate with the server;
that is, they query data, save changes, etc.
o Allows roll-back: MySQL allows transactions to be rolled back,
commit and crash recovery.
o High Performance: MySQL is faster, more reliable and cheaper
because of its unique storage engine architecture.
o High Flexibility: MySQL supports a large number of embedded
applications which makes MySQL very flexible.
o High Productivity: MySQL uses Triggers, Stored procedures and views
which allows the developer to give a higher productivity
Numeric Datatype of MySQL
FLOAT(m,d) You can define the display length (m) and the number of decimals
(d). This is not required and will default to 10,2, where 2 is the
number of decimals and 10 is the total number of digits (including
decimals). Decimal precision can go to 24 places for a float.
DOUBLE(m,d) (d). This is not required and will default to 16,4, where 4 is the
number of decimals. Decimal precision can go to 53 places for a
double.
Exercise :
1. Install MySQL