SlideShare ist ein Scribd-Unternehmen logo
1 von 32
Mohd Yasin Abd Karim
Teras Solution Sdn Bhd
   phpMyAdmin is a handy, graphical
    administration tool written in php for
    creating and managing MySQL databases ,
    using a web user interface. The interface is
    straight-forward and easy to learn and it
    allows users to execute SQL queries manually.
    It is also open source, so you can download
    and use it for free.
 Create, drop, browse and modify databases.
 Perform maintenance on databases.
 Run query operations, drop, create, update,
  check, repair tables and more.
 Manage MySQL users and privileges.
 Administering multiple servers.
The full list of features can be found on official
  Document on phpMyAdmin website.
 You can access phpMyAdmin directly visting
  the following URL;
 http://localhost/phpMyAdmin
Or ur server ip address
http://192.168.13.2/phpmyadmin
   The left-hand side of the screen contains the
    following icons; home, log out, query window
    (for executing SQL queries), phpMyAdmin
    documentation and the link to the MySQL
    Reference Manual. Below the icons is a
    Databases drop-down menu, that allows you
    to jump to the database of your choice. The
    tables will be displayed below the database
    you selected.
   The root account has all privileges and should be
    used for administration purposes only. For
    security reasons, we are going to create a
    different user account with restricted access. On
    the home page click Privileges and then click Add
    a new User.
   The password field is optional. You can chose a
    password yourself or have one generated for you.
    We are giving the user basic access, therefore
    we're only ticking the checkboxes that will give
    them basic rights. For instance, they will not be
    able to delete a database. Click Go to set the
    privileges. You can apply privileges to databases
    and tables and columns within a database.
Here are some basic operations you
can perform on your databases and
tables in phpMyAdmin:

1. Select the database you want to
use from the list on the left.
   Let's now create a database and call it
    book_shop. Type in the name into the Create
    New database field and click Create.
   You should then be prompted to create a
    table in the database. We're going to create a
    table called books and enter 4 in the number
    of fields. Enter the following fields:
    ISBN, Author, Title and Price.
   Next, set the data types and length/values as
    show below. The ISBN will serve as the
    primary key.
   To set the primary key, choose the database
    and then the table and click on the primary
    icon as shown below.
   To insert data into the table, select
    book_shop from the drop-down on the left-
    hand side and then the books table below it.
    Click on the Insert tab and continue to fill in
    the different fields with values, as shown
    below.
To view and manage your database, select it in the drop-down on
    the left-hand side. You will get an overview of your database and
    nine tabs for carrying out certain actions. Below is a description
    of the different tabs.
    Structure: displays the different tables in the database and
     allows you to create a new table. A small drop-down menu, lets
     you perform the following on table/s you have selected;
     empty, drop, print view, check, optimise, repair and analyse.
     The Action section provides the following options:
     browse, search, display the structure, insert a record, empty or
     drop a table.
    SQL: lets you execute SQL queries on the database.
    Search: lets you search for words and phrases in the database.
    Query: allows queries to be executed using the interface
     components and manual SQL queries to be run.
   Export: allows you to save your database into
    a file format of your choice.
    CSV, Excel, Word, LaTex, PDF, SQL and XML
    are some of the formats available.
   Import: import an SQL file.
   Operation allows you to create a new
    table, rename and copy the database.
   Privileges: shows what users have access to
    the current database and their rights. You also
    have an edit option next to each user.
    Drop: lets you delete the database if you need
    to.
2. Select the tables you want to use. When
 optimizing or repairing, you should select
 Check All.
3. In the "With selected" dropdown
 menu, select one of the following:
   Empty - This will empty all data from the selected
    tables.
   Drop - This will drop (delete) the selected tables.
   Check Table - This will check the tables for errors.
   Optimize Table - This will perform some basic table
    optimizations.
   Repair Table - This will attempt to repair your tables.
   Analyze Table - This will analyze your tables.
   Export – Backup database
   Import – restore database
1. Select your database from the list on the
 left.
2. Click on "Export" from the top set of tabs.
3. Select the tables from
 the list that you would
 like to back up. If you
 want to back up the
 entire database, click
 "Select All."
4. Make sure both the "Structure" and "Data"
 boxes are selected on the right. They should
 be, by default. In the Structure section, check
 the "Add DROP TABLE / DROP VIEW" box if
 you want this export to be able to replace
 existing tables of the same name. If you want
 to merge this backup with another database,
 do not select this.
5. Check the "Save as file" box. Also select a
 compression option (such as "gzipped") if you
 want to compress the backup before
 downloading it from the server.




6. Click the "Go" button, and, at the prompt,
 save the file to your local computer.
1. Make sure the database you need has
 already been created. If it has not, please first
 create the database:
2. In phpMyAdmin, select your database from
 the list on the left.
3. Click on "Import" from the top set of tabs.
4. Click on the "Browse" button next to
 "Location of the text file."
5. Browse to your local SQL file and click
 "Open." If it is a zipped file, please unzip the
 file first.
6. Click the "Go" button at the bottom. Wait
 while your database imports. Depending on
 the size, this can take a few minutes.

7. you should get a message like this:
Import has been successfully finished, X
 queries executed.
Phpmyadmin administer mysql

Weitere ähnliche Inhalte

Was ist angesagt? (20)

Hyperlinks in HTML
Hyperlinks in HTMLHyperlinks in HTML
Hyperlinks in HTML
 
Ms access
Ms accessMs access
Ms access
 
Basic Computer Training
Basic Computer TrainingBasic Computer Training
Basic Computer Training
 
Spreadsheet
SpreadsheetSpreadsheet
Spreadsheet
 
PHP Presentation
PHP PresentationPHP Presentation
PHP Presentation
 
Learn Excel Macro
Learn Excel Macro  Learn Excel Macro
Learn Excel Macro
 
Introduction to php
Introduction to phpIntroduction to php
Introduction to php
 
Websites
WebsitesWebsites
Websites
 
Tutorial for using SQL in Microsoft Access
Tutorial for using SQL in Microsoft AccessTutorial for using SQL in Microsoft Access
Tutorial for using SQL in Microsoft Access
 
E learning excel vba programming lesson 1
E learning excel vba programming  lesson 1E learning excel vba programming  lesson 1
E learning excel vba programming lesson 1
 
Basics of JavaScript
Basics of JavaScriptBasics of JavaScript
Basics of JavaScript
 
Creating a database
Creating a databaseCreating a database
Creating a database
 
Database fundamentals
Database fundamentalsDatabase fundamentals
Database fundamentals
 
Excel Basics
Excel  BasicsExcel  Basics
Excel Basics
 
Php mysql ppt
Php mysql pptPhp mysql ppt
Php mysql ppt
 
How to prepare a portable bootable devices
How to prepare a portable bootable devicesHow to prepare a portable bootable devices
How to prepare a portable bootable devices
 
ms excel presentation...
ms excel presentation...ms excel presentation...
ms excel presentation...
 
Wordpress ppt
Wordpress pptWordpress ppt
Wordpress ppt
 
WORDPRESS
WORDPRESSWORDPRESS
WORDPRESS
 
Files and Folders in Windows 7
Files and Folders in Windows 7Files and Folders in Windows 7
Files and Folders in Windows 7
 

Andere mochten auch

Operator overloading
Operator overloadingOperator overloading
Operator overloadingabhay singh
 
phpMyAdmin
phpMyAdminphpMyAdmin
phpMyAdminWarawut
 
Database design
Database designDatabase design
Database designWarawut
 
JSP Standart Tag Lİbrary - JSTL
JSP Standart Tag Lİbrary - JSTLJSP Standart Tag Lİbrary - JSTL
JSP Standart Tag Lİbrary - JSTLseleciii44
 
Presentation on overloading
Presentation on overloading Presentation on overloading
Presentation on overloading Charndeep Sekhon
 

Andere mochten auch (6)

Operator overloading
Operator overloadingOperator overloading
Operator overloading
 
phpMyAdmin
phpMyAdminphpMyAdmin
phpMyAdmin
 
P2P Networks
P2P NetworksP2P Networks
P2P Networks
 
Database design
Database designDatabase design
Database design
 
JSP Standart Tag Lİbrary - JSTL
JSP Standart Tag Lİbrary - JSTLJSP Standart Tag Lİbrary - JSTL
JSP Standart Tag Lİbrary - JSTL
 
Presentation on overloading
Presentation on overloading Presentation on overloading
Presentation on overloading
 

Ähnlich wie Phpmyadmin administer mysql

Microsoft access 2007 tutorial
Microsoft access 2007 tutorialMicrosoft access 2007 tutorial
Microsoft access 2007 tutorialGhazali_MFP
 
Microsoft Access 2007
Microsoft Access 2007Microsoft Access 2007
Microsoft Access 2007Reshma Arun
 
INTRODUCTION TO ACCESSOBJECTIVESDefine th.docx
INTRODUCTION TO ACCESSOBJECTIVESDefine th.docxINTRODUCTION TO ACCESSOBJECTIVESDefine th.docx
INTRODUCTION TO ACCESSOBJECTIVESDefine th.docxmariuse18nolet
 
Pks ms access unit 4_bcomcs
Pks ms access unit 4_bcomcsPks ms access unit 4_bcomcs
Pks ms access unit 4_bcomcsKALAISELVI P
 
Microsoft Office Access 2003 Tutorial for Beginners
Microsoft Office Access 2003 Tutorial for BeginnersMicrosoft Office Access 2003 Tutorial for Beginners
Microsoft Office Access 2003 Tutorial for BeginnersAimina Salsabila
 
Mic office access tutorial for beginners
Mic office access tutorial for beginnersMic office access tutorial for beginners
Mic office access tutorial for beginnersAimina Salsabila
 
Create a basic performance point dashboard epc
Create a basic performance point dashboard   epcCreate a basic performance point dashboard   epc
Create a basic performance point dashboard epcEPC Group
 
Access Assignments Complete List1. Acc 2 Bank Database2. Acc.docx
Access Assignments Complete List1. Acc 2 Bank Database2. Acc.docxAccess Assignments Complete List1. Acc 2 Bank Database2. Acc.docx
Access Assignments Complete List1. Acc 2 Bank Database2. Acc.docxannetnash8266
 
Access PPT Lesson 01-REVISED.ppt
Access PPT Lesson 01-REVISED.pptAccess PPT Lesson 01-REVISED.ppt
Access PPT Lesson 01-REVISED.pptMagdalaRodriguez1
 
Database as information system
Database as information systemDatabase as information system
Database as information systemKAZEMBETVOnline
 
Access_lab_manual06.pdf
Access_lab_manual06.pdfAccess_lab_manual06.pdf
Access_lab_manual06.pdfAditya Kumar
 
Microsoft office access 2003
Microsoft office access 2003Microsoft office access 2003
Microsoft office access 2003ipengzzz
 
Microsoft office access 2003
Microsoft office access 2003Microsoft office access 2003
Microsoft office access 2003ipengzzz
 
Access2003
Access2003Access2003
Access2003mrh1222
 
Access2003
Access2003Access2003
Access2003tanik363
 
Tableau Basic Questions
Tableau Basic QuestionsTableau Basic Questions
Tableau Basic QuestionsSooraj Vinodan
 

Ähnlich wie Phpmyadmin administer mysql (20)

Microsoft access 2007 tutorial
Microsoft access 2007 tutorialMicrosoft access 2007 tutorial
Microsoft access 2007 tutorial
 
Microsoft Access 2007
Microsoft Access 2007Microsoft Access 2007
Microsoft Access 2007
 
Ms Access
Ms AccessMs Access
Ms Access
 
001.general
001.general001.general
001.general
 
INTRODUCTION TO ACCESSOBJECTIVESDefine th.docx
INTRODUCTION TO ACCESSOBJECTIVESDefine th.docxINTRODUCTION TO ACCESSOBJECTIVESDefine th.docx
INTRODUCTION TO ACCESSOBJECTIVESDefine th.docx
 
Pks ms access unit 4_bcomcs
Pks ms access unit 4_bcomcsPks ms access unit 4_bcomcs
Pks ms access unit 4_bcomcs
 
Microsoft Office Access 2003 Tutorial for Beginners
Microsoft Office Access 2003 Tutorial for BeginnersMicrosoft Office Access 2003 Tutorial for Beginners
Microsoft Office Access 2003 Tutorial for Beginners
 
Mic office access tutorial for beginners
Mic office access tutorial for beginnersMic office access tutorial for beginners
Mic office access tutorial for beginners
 
Create a basic performance point dashboard epc
Create a basic performance point dashboard   epcCreate a basic performance point dashboard   epc
Create a basic performance point dashboard epc
 
Access Assignments Complete List1. Acc 2 Bank Database2. Acc.docx
Access Assignments Complete List1. Acc 2 Bank Database2. Acc.docxAccess Assignments Complete List1. Acc 2 Bank Database2. Acc.docx
Access Assignments Complete List1. Acc 2 Bank Database2. Acc.docx
 
Access PPT Lesson 01-REVISED.ppt
Access PPT Lesson 01-REVISED.pptAccess PPT Lesson 01-REVISED.ppt
Access PPT Lesson 01-REVISED.ppt
 
Understanding Microsoft Access
Understanding Microsoft AccessUnderstanding Microsoft Access
Understanding Microsoft Access
 
Database as information system
Database as information systemDatabase as information system
Database as information system
 
Access_lab_manual06.pdf
Access_lab_manual06.pdfAccess_lab_manual06.pdf
Access_lab_manual06.pdf
 
Microsoft office access 2003
Microsoft office access 2003Microsoft office access 2003
Microsoft office access 2003
 
Microsoft office access 2003
Microsoft office access 2003Microsoft office access 2003
Microsoft office access 2003
 
MS Access Training
MS Access TrainingMS Access Training
MS Access Training
 
Access2003
Access2003Access2003
Access2003
 
Access2003
Access2003Access2003
Access2003
 
Tableau Basic Questions
Tableau Basic QuestionsTableau Basic Questions
Tableau Basic Questions
 

Mehr von Mohd yasin Karim

Mehr von Mohd yasin Karim (10)

1. centos tutorial
1. centos tutorial1. centos tutorial
1. centos tutorial
 
3. introduction of centos
3. introduction of centos3. introduction of centos
3. introduction of centos
 
5. centos security
5. centos security5. centos security
5. centos security
 
4. Centos Administration
4. Centos Administration4. Centos Administration
4. Centos Administration
 
6. centos networking
6. centos networking6. centos networking
6. centos networking
 
2. introduction to linux
2. introduction to linux2. introduction to linux
2. introduction to linux
 
Microsoft<sup>®</sup> office training
Microsoft<sup>®</sup> office trainingMicrosoft<sup>®</sup> office training
Microsoft<sup>®</sup> office training
 
Mysql workbench 5
Mysql workbench 5Mysql workbench 5
Mysql workbench 5
 
My sql administration
My sql administrationMy sql administration
My sql administration
 
Mysql an introduction
Mysql an introductionMysql an introduction
Mysql an introduction
 

Kürzlich hochgeladen

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 

Kürzlich hochgeladen (20)

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

Phpmyadmin administer mysql

  • 1. Mohd Yasin Abd Karim Teras Solution Sdn Bhd
  • 2. phpMyAdmin is a handy, graphical administration tool written in php for creating and managing MySQL databases , using a web user interface. The interface is straight-forward and easy to learn and it allows users to execute SQL queries manually. It is also open source, so you can download and use it for free.
  • 3.  Create, drop, browse and modify databases.  Perform maintenance on databases.  Run query operations, drop, create, update, check, repair tables and more.  Manage MySQL users and privileges.  Administering multiple servers. The full list of features can be found on official Document on phpMyAdmin website.
  • 4.  You can access phpMyAdmin directly visting the following URL;  http://localhost/phpMyAdmin Or ur server ip address http://192.168.13.2/phpmyadmin
  • 5.
  • 6. The left-hand side of the screen contains the following icons; home, log out, query window (for executing SQL queries), phpMyAdmin documentation and the link to the MySQL Reference Manual. Below the icons is a Databases drop-down menu, that allows you to jump to the database of your choice. The tables will be displayed below the database you selected.
  • 7. The root account has all privileges and should be used for administration purposes only. For security reasons, we are going to create a different user account with restricted access. On the home page click Privileges and then click Add a new User.  The password field is optional. You can chose a password yourself or have one generated for you. We are giving the user basic access, therefore we're only ticking the checkboxes that will give them basic rights. For instance, they will not be able to delete a database. Click Go to set the privileges. You can apply privileges to databases and tables and columns within a database.
  • 8.
  • 9. Here are some basic operations you can perform on your databases and tables in phpMyAdmin: 1. Select the database you want to use from the list on the left.
  • 10. Let's now create a database and call it book_shop. Type in the name into the Create New database field and click Create.
  • 11. You should then be prompted to create a table in the database. We're going to create a table called books and enter 4 in the number of fields. Enter the following fields: ISBN, Author, Title and Price.  Next, set the data types and length/values as show below. The ISBN will serve as the primary key.
  • 12.
  • 13. To set the primary key, choose the database and then the table and click on the primary icon as shown below.
  • 14. To insert data into the table, select book_shop from the drop-down on the left- hand side and then the books table below it. Click on the Insert tab and continue to fill in the different fields with values, as shown below.
  • 15. To view and manage your database, select it in the drop-down on the left-hand side. You will get an overview of your database and nine tabs for carrying out certain actions. Below is a description of the different tabs.  Structure: displays the different tables in the database and allows you to create a new table. A small drop-down menu, lets you perform the following on table/s you have selected; empty, drop, print view, check, optimise, repair and analyse. The Action section provides the following options: browse, search, display the structure, insert a record, empty or drop a table.  SQL: lets you execute SQL queries on the database.  Search: lets you search for words and phrases in the database.  Query: allows queries to be executed using the interface components and manual SQL queries to be run.
  • 16. Export: allows you to save your database into a file format of your choice. CSV, Excel, Word, LaTex, PDF, SQL and XML are some of the formats available.  Import: import an SQL file.  Operation allows you to create a new table, rename and copy the database.  Privileges: shows what users have access to the current database and their rights. You also have an edit option next to each user. Drop: lets you delete the database if you need to.
  • 17. 2. Select the tables you want to use. When optimizing or repairing, you should select Check All.
  • 18. 3. In the "With selected" dropdown menu, select one of the following:
  • 19. Empty - This will empty all data from the selected tables.  Drop - This will drop (delete) the selected tables.  Check Table - This will check the tables for errors.  Optimize Table - This will perform some basic table optimizations.  Repair Table - This will attempt to repair your tables.  Analyze Table - This will analyze your tables.
  • 20. Export – Backup database  Import – restore database
  • 21. 1. Select your database from the list on the left.
  • 22. 2. Click on "Export" from the top set of tabs.
  • 23. 3. Select the tables from the list that you would like to back up. If you want to back up the entire database, click "Select All."
  • 24. 4. Make sure both the "Structure" and "Data" boxes are selected on the right. They should be, by default. In the Structure section, check the "Add DROP TABLE / DROP VIEW" box if you want this export to be able to replace existing tables of the same name. If you want to merge this backup with another database, do not select this.
  • 25.
  • 26. 5. Check the "Save as file" box. Also select a compression option (such as "gzipped") if you want to compress the backup before downloading it from the server. 6. Click the "Go" button, and, at the prompt, save the file to your local computer.
  • 27. 1. Make sure the database you need has already been created. If it has not, please first create the database:
  • 28. 2. In phpMyAdmin, select your database from the list on the left.
  • 29. 3. Click on "Import" from the top set of tabs.
  • 30. 4. Click on the "Browse" button next to "Location of the text file."
  • 31. 5. Browse to your local SQL file and click "Open." If it is a zipped file, please unzip the file first. 6. Click the "Go" button at the bottom. Wait while your database imports. Depending on the size, this can take a few minutes. 7. you should get a message like this: Import has been successfully finished, X queries executed.