Database Project: MySQL

Slides:



Advertisements
Similar presentations
IS 6116 Introduction – 10 Jan Lecturer Details Aonghus Sugrue Website: aonghussugrue.wordpress.com
Advertisements

Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Creating WordPress Websites. Creating a site on your computer Local server Local WordPress installation Setting Up Dreamweaver.
Multiple Tiers in Action
CS34311 CS3431 – Database Systems I Project Overview Murali Mani.
PHP Scripting Language. Introduction “PHP” is an acronym for “PHP: Hypertext Preprocessor.” It is an interpreted, server-side scripting language. Originally.
1 CS428 Web Engineering Lecture 18 Introduction (PHP - I)
WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.
PHP By Dr. Syed Noman Hasany. PHP PHP was originally created by Rasmus Lerdorf in PHP stands for PHP: Hypertext Preprocessor (a recursive acronym).
8/17/2015CS346 PHP1 Module 1 Introduction to PHP.
Web Page A page displayed by the browser. Website Collection of multiple web pages Web Browser: A software that displays web pages on client computer.
Linux Operations and Administration
SJSU CS157B Dr. Lee1  2004 Jenny Mitchell Two Useful Tools You Can’t Live Without by Jenny Mitchell SJSU CS157B Section PHP and MySQL.
PHP HYPERTEXT: PREPROCESSOR By: Justin T. Pleva. WHAT IS PHP?  General purpose  Server-side web development  Console application.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
Powerpoint Templates Page 1 Powerpoint Templates Web Programming PHP MySql Ikbal Jamaludin.
Server- Side technologies Client-side vs. Server-side scripts PHP basic ASP.NET basic ColdFusion.
SQL HW1 Turn in as a hardcopy at the start of next class period. You may work this assignment in groups.
True or False? Programming languages can be used to update databases and communicate with other systems. True.
E-COMMERCE JOBS This project (Project number: HU/01/B/F/PP ) is carried out with the financial support of the Commssion of the European Communities.
IDK0040 Võrgurakendused I harjutus 06: PHP: Introduction Deniss Kumlander.
Modern Software Technologies Java™, J2EE™, JSP™, JDBC™ by Radoslav Tr. Ivanov
PHP TUTORIAL. HISTORY OF PHP  PHP as it's known today is actually the successor to a product named PHP/FI.  Created in 1994 by Rasmus Lerdorf, the very.
PHP With Oracle 11g XE By Shyam Gurram Eastern Illinois University.
10/5/2015CS346 PHP1 Module 1 Introduction to PHP.
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
Mini Group Presentations: php by Veronica Black + Jia Xu.
Putting it all together Dynamic Data Base Access Norman White Stern School of Business.
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
Introduction to CS520/CS596_026 Lecture Two Gordon Tian Fall 2015.
Introduction to PHP Advanced Database System Lab no.1.
CS 4720 Dynamic Web Applications CS 4720 – Web & Mobile Systems.
DATABASE TOOLS CS 260 Database Systems. Overview  Database accounts  Oracle SQL Developer  MySQL Workbench.
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
CITA 310 Section 7 Installing and Testing a Programming Environment (Textbook Chapter 7)
JSP Server Integrated with Oracle8i Project2, CMSC691X Summer02 Ching-li Peng Ying Zhang.
PHP Introduction PHP is a server-side scripting language.
An Investigation into using a Document Management System Presented by: Bijal RanaSupervisor: John Ebden.
 To start using PHP, you can:  Find a web host with PHP and MySQL support  Install a web server on your own PC, and then install PHP and MySQL.
8 th Semester, Batch 2009 Department Of Computer Science SSUET.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 13 A & B Programming Languages and the.
Web Page Designing With Dreamweaver MX\Session 1\1 of 9 Session 1 Introduction to PHP Hypertext Preprocessor - PHP.
A Presentation Presentation On JSP On JSP & Online Shopping Cart Online Shopping Cart.
PHP stands for …….. “PHP Hypertext Pre-processor” and is a server-side scripting language like ASP. PHP scripts are executed on the server PHP supports.
PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages. PHP is a widely-used, free, and efficient alternative.
Presented By Sushil K. Chaturvedi Assistant Professor SRCEM,Banmore 1.
PHP Basics and Syntax Lesson 3 ITBS2203 E-Commerce for IT.
PHP Assignment Help BookMyEssay. What is PHP PHP is a scripting language generally used on web servers. It is an open source language and embedded code.
PHP using MySQL Database for Web Development (part II)
Fundamental of Databases
Introduction to Dynamic Web Programming
Development of Web Applications - Introduction
Web Technologies IT230 Dr Mohamed Habib.
CHAPTER 5 SERVER SIDE SCRIPTING
Introduction and Principles
4166 Review.
PHP (PHP: Hypertext Preprocessor)
Introduction to Programming the WWW I
Oracle Accounts on Campus
PHP / MySQL Introduction
PHP Introduction.
Module 1 Introduction to PHP 11/30/2018 CS346 PHP.
Content of Presentation
MSIS 655 Advanced Business Applications Programming
IntroductionToPHP Static vs. Dynamic websites
Intro to PHP.
Tutorial 6 PHP & MySQL Li Xu
Introduction to PHP.
Web Application Development Using PHP
Presentation transcript:

Database Project: MySQL TA: Jansen Cohoon Office: 208 Butler Email: jec9@msstate.edu

XWin 8.0 XWin allows a user to run commands remotely on a Unix, Solaris or Linux server. A fancier telnet. It is available for free from the ITS website. It is a great tool to have and I recommend it to everyone.

set password=password("newpassword"); MySQL Accounts Everyone has a MySQL account available from Pluto. To login use mysql –u <userid> -p You will then be prompted for a password. Your default password is ab1234. To change password use: set password=password("newpassword");

MySQL Account Everyone starts with their own database named for their <userid>. This should be sufficient for the class and project. You will create numerous tables though. To start working in your database use: USE <userid>;

MySQL Account Some useful commands: SHOW DATABASES; SHOW TABLES; DESCRIBE <table>; CREATE TABLE <table>; DROP TABLE <table>; QUIT;

Database Project: PHP

PHP PHP – Hypertext Preprocessor No need to run a server. Already installed. C and Perl “ish” language syntax PHP has built in MySQL support just like Java. It is a little tricky with Oracle.

PHP PHP is a scripting language. To incorporate PHP into a website you use the tags <?php and ?>. With these tags you can mix PHP with HTML and get dynamic web content.

PHP Example <html>  <head>   <title>PHP Test</title>  </head>  <body>  <?php echo '<p>Hello World</p>'; ?>  </body> </html> This would be the contents of test.php

PHP MySQL Example Go to dbSlide.php Shows basic PHP/MySQL command structure.

Database Project: Java

Setting Up Tomcat Detailed instructions are on my website. They show you how to setup Tomcat on Pluto.

Using JDBC Seven Basic Steps: Load the JDBC Driver. Define the connection. Establish the connection. Create the statement object. Execute the statement object. Process the results. Close the connection.

Servlets or Server Pages You may use either ot the two. Many people feel that Java Server Pages are easier.

JDBC Driver and URL Driver: URL Connection: com.mysql.jdbc.Driver jdbc:mysql://localhost/<userid>

Java Server Page Show add.jsp