Showing posts with label how to import mysql database. Show all posts
Showing posts with label how to import mysql database. Show all posts

Saturday, August 17, 2019

What is a Relational Database | what is relational database with example

What is a Relational Databasewhat is relational database with example

What is a Relational Database  what is relational database with example
What is a Relational Database  what is a relational database with example

Introduction:

It was 1970 when E. F. Codd purposed a new term relational database. In a relational database, data is accessed in tables. It based on SQL (Standard Query Language). It was 1970 when E. F. Codd in IBM introduced an organizing relational database management system (RDBMS) in columns and rows. And this organizing table consists of relation, attributes, row, tuple, foreign key, and primary key, etc. 
This database is classified into other types. This article will explain all the above information. This article focused on the relational Database management system instead of Database management System. 
RDBMS Rational Database Management System:

Just as a database management system, relational database have own management system, We can define it as “Software, online server or the website used for the management of database is called relational database management system”. It is shown in tabular form.

Structure of RDBMS:

According to the definition, it consists of columns and rows. For example, you have an order-taking company you should be creating a relational Database. You will create four basic columns, Name of customer, Order of customer, the number of products and Address or phone number. Then in rows, you will put information.

Let’s discuss some terminologies:

  1. Database store in the table that is called “relation”.
  2. Columns are “Field”. Information stores in rows called “record”.
  3. The primary key is an identifier key which identify the record,
  4. Foreign key act as a bridge and create a link between to tables.

“Domain” is an area of information on the computer. It is used for commercial purposes.

Some most important examples of rational database management systems are given below:

  1. MySQL
  2. Oracle
  3. Microsoft Access
  4. MS SQL server
  5. IBM DB2

These software and websites provide us the opportunity to store rational database
Do you know there is a difference between DBMS and RDBMS?
DBMS and RDBMS are not the same terms but we consider these terms are the same and mix both in exams. 
     So the difference between both DBMS and RDBMS is given below:

DBMS
RDBMS
      ·         It store information in files.                            
·         It store information in tables.

Components of the relational database management system:
Each database consists of several components in which it works accurately, easily, and we can manage it. RDBMS also consists of three components:
  1. Data structure
  2. Data integrity
  3. Data Manipulation

Data Structure:

It is the first component of the relational database, and we can define it as “Structure that is designed to store and organize data is called Data Structure”. It includes:
  1. Table: It consists of rows and columns; it is the structure of the database.
  2. Record: it store information, these are rows of the table.
  3. File: it is used in data processing, and used to store all records.
  4. Array: It is used to store data; SSDs and HHDs are used to store and describe data.
  5. Algorithms: it deals with SQL, to solve problems.

Data Integrity:

It is the second component of RDBMS; it deals with the accuracy and security of data. It includes:
  1. Data Encryption
  2. Access Control
  3. Data Backup
  4. Data Validation
  5. Input Validation

Data Manipulating:

It is the third component of data, it deals with programing, Or SQL language, it includes:
  1. Inserting-Information
  2. Deleting-Data
  3. Modifying Or Updating data etc.

Advantages of RDB:

  1. It stores data in the table.
  2. It gives Accuracy feature.
  3. It is flexible and can deal with Complex SQL.

Conclusion:

After seeing Structure of RDBMS, Some features of RDBMS, Component of RDBMS and advantages of rational database we can say that it is more easy, flexible and efficient than a simple database. Rational database management system is used in many pharmaceutical and business relating companies. The most important feature of this system is the tabular form, it is easy to use and store accurate data.


Wednesday, May 29, 2019

Mysql import sql file | Mysql import database

Mysql import SQL file  | MySQL import database 

mysql import sql file | mysql import database
MySQL import SQL file | MySQL import database


Follow the steps to Mysql import SQL file 

  1. Start Xampp or wampp server 
  2. Open your browser and type in URL  localhost/phpmyadmin
  3. Hit enter button on your system 
  4. you will see PHPMyAdmin and here click on new on the left side of the bar
  5. after the click, you will see new options will appear on the PHPMyAdmin create the database and give the database a name and then click create.
  6. after the given name to database go to import on the header of PHPMyAdmin and click on import 
  7. after the click, you will see there will be option file to import here select .sql file from the system 
  8. Click on the Go in the bottom of this page 

for import SQL file or MySQL, import database see the video 




See the Screenshots to import SQL file or MySQL import database check these screenshots 


Step 1
MySQL import SQL file | MySQL import database
MySQL import SQL file | MySQL import database

Step 2
MySQL import SQL file | MySQL import database
MySQL import SQL file | MySQL import database

Step 3
MySQL import SQL file | MySQL import database
MySQL import SQL file | MySQL import database
Step 4
MySQL import SQL file | MySQL import database
MySQL import SQL file | MySQL import database


If you have any question then ask me in the comment section I will help you in import SQL file or MySQL import database feel free to ask your question Thanks...

Want to learn WordPress Click here WordPress