PHPMyAdmin.

Slides:



Advertisements
Similar presentations
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
Advertisements

MySQL. To start go to Login details: login: labuser password:macimd15 – There.
NMED 3850 A Advanced Online Design February 25, 2010 V. Mahadevan.
Maintenance Modifying the data –Add records –Delete records –Update records Modifying the design –Add fields into tables –Remove fields from a table –Change.
A Guide to MySQL 3. 2 Objectives Start MySQL and learn how to use the MySQL Reference Manual Create a database Change (activate) a database Create tables.
Pay Through SADAD User Guide. - Use the following link to login SIS: - Type your username and password.
1 CS428 Web Engineering Lecture 23 MySQL Basics (PHP - VI)
CSCI 6962: Server-side Design and Programming
Microsoft Access Lesson 3
Session 5: Working with MySQL iNET Academy Open Source Web Development.
TIMS FOR GUEST TEACHERS Winter Logging in to TIMS Open the PDE website by typing the following URL into your browser: PA-TIMS.com Click Log In on.
1 MySQL and phpMyAdmin. 2 Navigate to and log on (username: pmadmin)
PHP meets MySQL.
MySQL. MySQL is a Relational Database Management System (RDBMS) that runs as a server providing multiuser access to a number of databases. A third party.
® Microsoft Office 2010 Access Tutorial 2 Building a Database and Defining Table Relationships.
Chapter 4 Introduction to MySQL. MySQL “the world’s most popular open-source database application” “commonly used with PHP”
Web Scripting [PHP] CIS166AE Wednesdays 6:00pm – 9:50pm Rob Loy.
The Prospectus and Common Application Process My Course My Future Greater Manchester Prospectus
M1G Introduction to Database Development 2. Creating a Database.
Intro to MySQL 1. Open a browser and enter the following address: It should lead to a log in screen. If your name is.
Microsoft Access Intro Class 6 Relationships.
CS146 References: ORACLE 9i PROGRAMMING A Primer Rajshekhar Sunderraman
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 2 BACKNEXTEND 2-1 LINKS TO OBJECTIVES Creating Related Tables Creating Related Tables Determining.
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
Introduction to Database using Microsoft Access 2013 Part 7 November 19, 2014.
1 Database Systems Introduction to Microsoft Access Part 2.
1 CSE 2337 Introduction to Data Management Access Book – Ch 1.
INFORMATION TECHNOLOGY DATABASE MANAGEMENT. Adding a new field 1Right click the table name and select design view 2Type the field information at the end.
PHP getting data from a MySQL database. Replacing XML as data source with MySQL Previously we obtained the data about the training session from an XML.
Creating a simple database This shows you how to set up a database using PHPMyAdmin (installed with WAMP)
Lesson 4.  After a table has been created, you may need to modify it. You can make many changes to a table—or other database object—using its property.
Understand Primary, Foreign, and Composite Keys Database Administration Fundamentals LESSON 4.2.
CS 111 – Nov. 8 Databases Database Management Systems (DBMS) Structured Query Language (SQL) Commitment –Please review sections 9.1 – 9.2.
Secure Authentication. SQL Injection Many web developers are unaware of how SQL queries can be tampered with SQL queries are able to circumvent access.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 1 ® Database & Table.
Exploring Microsoft Access Chapter 5 One-to-Many Relationships: Subforms and Multiple Table Queries.
Introduction to MySQL Ullman Chapter 4. Introduction MySQL most popular open-source database application Is commonly used with PHP We will learn basics.
Working with MySQL. SWC – Creating tables We know how to create a database in MySQL – an empty database Next step is to add tables to the database.
Form and Graphical User Interfaces. Lesson plan More about queries More about entering data into a table Form.
MySQL Tutorial. Databases A database is a container that groups together a series of tables within a single structure Each database can contain 1 or more.
Copyright © 2014 Pearson Canada Inc. Ext. 5b-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5b Using Microsoft Access Part 2: Using Information.
AOIT Database Design Unit 3, Lesson 9 Data Integrity Copyright © 2009–2011 National Academy Foundation. All rights reserved.
3 A Guide to MySQL.
Access Tutorial 2 Building a Database and Defining Table Relationships
New Perspectives on Microsoft Access 2016
Y.-H. Chen International College Ming-Chuan University Fall, 2004
Chapter 5 Introduction to SQL.
Creating an ERD in SQL Server
CHAPTER 7 DATABASE ACCESS THROUGH WEB
COP 4540 Database Management
Basic Database Concepts
and Defining Table Relationships
Database application MySQL Database and PhpMyAdmin
Microsoft Office Illustrated Fundamentals
Microsoft Access 2003 Illustrated Complete
MySQL and MyPHPAdmin.
MySQL and PHPMyAdmin.
ORACLE SQL Developer & SQLPLUS Statements
Intro to MySQL 1.
Data Modelling Introduction
Access Lesson 2 Creating a Database
MySQL and PHPMyAdmin 1.
PHP and MySQL.
Access Lesson 2 Creating a Database
A Guide to adding Sites and Blocks within ESTATE Manager
Chapter 4 Introduction to MySQL.
A Very Brief Introduction to Relational Databases
Guidelines for Microsoft® Office 2013
Grauer and Barber Series Microsoft Access Chapter One
Nagendra Vemulapalli Access chapters 1&2 Nagendra Vemulapalli
Presentation transcript:

PHPMyAdmin

PHPMyAdmin is a web interface to a MySQL database http://gamma.lasalle.edu/phpmyadmin/

Choose a database

Create a table

Enter field/property/attributes for Person table The password and username probably belong in another table – for security reasons

A few terms VARCHAR – a string of characters (letters, numbers, etc.) with a length up to some limit Length – maximum number of characters allowed in field “not null” – you must have an entry to have a proper record Primary key – field that uniquely identifies each record Unique – the field value cannot be repeated for any other record

Result of save SQL code for creating the table

Return to database level by clicking on database name

Start next table

Location table Questions: Should the contact person be a relationship to the Person table? If Contact Person for Location is a many-to-many relationship, we might need another table.

Subject table If you had the notion of a prerequisite, the Subject table would have a relationship with itself.

Session table

Relationships in phpmyadmin Indicating that the values in the field of one table (such as Session’s LocationID) match values from another table (such as Location) is called enforcing referential integrity. Whether one can enforce referential integrity or not in phpmyadmin depends on how it was configured.

PersonAttendsSession table Might add field for registration order -- and offer prizes to the first 10 people who register. Might add a field to designate if the person actually attended. ???

Adding a field

Adding Attended field

Bool turned into tinyint

Insert some data: select table and click Insert tab

Enter Location data

Result of inserting data – shows SQL for the insert

Enter Subject data

Entering Session data

Other way to enter date

Enter Person data

Enter PersonAttendsSession data

SQL with NULL data