MySQL Backup, Transfer and Restore

Slides:



Advertisements
Similar presentations
PHP SQL. Connection code:- mysql_connect("server", "username", "password"); Connect to the Database Server with the authorised user and password. Eg $connect.
Advertisements

Introduction to PHP MIS 3501, Fall 2014 Jeremy Shafer
What is it? –Large Web sites that support commercial use cannot be written by hand What you’re going to learn –How a Web server and a database can be used.
Multiple Tiers in Action
A complete web app using flex. You can use the flex builder to generate the php (server side) code for a flex-php application. As before, Php connects.
Securing LAMP: Linux, Apache, MySQL and PHP Track 2 Workshop PacNOG 7 July 1, 2010 Pago Pago, American Samoa.
10/09/2015 E.R.Edwards 10/09/2015 Staffordshire University School of Computing Easy PHP F Available from -
INFM603 Project Presentation Jenny Wu Prachi Chhokar.
Class02 Introduction to web development with PHP MIS 3501, Fall 2015 Brad N Greenwood Department of MIS Fox School of Business Temple University 8/27/2015.
Here you are at your computer, but you don’t have internet connections. Your ISP becomes your link to the internet. In order to get access you need to.
Database Concepts CPTE 212 3/19/2015 John Beckett.
Introduction to Web Programming. Introduction to PHP What is PHP? What is a PHP File? What is MySQL? Why PHP? Where to Start?
Case Study Dynamic Website - Three Tier Architecture
GOAL User Interactive Web Interface Update Pages by Club Officers Two Level of Authentication.
MySQL and GRID status Gabriele Carcassi 9 September 2002.
Windows 7 WampServer 2.1 MySQL PHP 5.3 Script Apache Server User Record or Select Media Upload to Internet Return URL Forward URL Create.
 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.
Web programming Part 1: environment 由 NordriDesign 提供
How Web Database Architectures Work CPS181s April 8, 2003.
Class03 Introduction to Web Development (Hierarchy and the IDE) MIS 3501, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University.
COSC 2328 – Web Programming.  PHP is a server scripting language  It’s widely-used and free  It’s an alternative to Microsoft’s ASP and Ruby  PHP.
Class02 More Arrays MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 1/14/2016.
Introduction to AJAX MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/4/2016.
PHP – PHP Hypertext Processor A quick overview. How is PHP used? Embedded with HTML, e.g. Not like CGI: PHP files not an executable Used with servers.
Class02 Introduction to web development concepts MIS 3501, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 1/14/2016.
PDO Database Connections MIS 3501, Fall 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 3/8/2016.
Introduction to JavaScript MIS 3502, Fall 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 9/29/2016.
PDO Database Connections
Class03 Introduction to Web Development (Hierarchy and the IDE)
Form Data (part 2) MIS 3502, Fall 2015 Jeremy Shafer Department of MIS
Introduction to web development concepts
Introduction to Web Development (Part 2)
PHP: includes MIS 3501 Jeremy Shafer Department of MIS
Sessions and cookies (part 2)
jQuery – Form Validation
Form Data (part 1) MIS 3502, Fall 2015 Jeremy Shafer Department of MIS
Class07 PHP: loops and includes
PDO Database Connections
How to get data from a form
PHP Functions, Scope MIS 3501, Fall 2015 Jeremy Shafer
PDO Database Connections: Getting data out of the database
Introduction to AJAX MIS 3502 Jeremy Shafer Department of MIS
Database Driven Websites
Introduction to JavaScript
Introduction to AJAX MIS 3502 Jeremy Shafer Department of MIS
PDO Database Connections: Getting data out of the database
Form Data (part 2) MIS 3501 Jeremy Shafer Department of MIS
A second look at JavaScript
PDO Database Connections
Organize your code with MVC
Introduction to relational databases and MySQL
PDO Database Connections
Form Data (part 2) MIS 3501 Jeremy Shafer Department of MIS
Class07 PHP: loops MIS 3501 Jeremy Shafer Department of MIS
Class05 How to get data from a form
HTML5 APIs MIS3502 Jeremy Shafer Department of MIS
PDO Revisited MIS 3502 Jeremy Shafer Department of MIS
Sending a text message (and more)
Class11 Introduction to relational databases and MySQL
Tutorial 6 PHP & MySQL Li Xu
Form Data (part 1) MIS3501 Jeremy Shafer Department of MIS
Introduction to JavaScript
ხელმძღვანელი: დიმიტრი ქარაული
Globally interconnected 6lowPAN
MVC – Model View Controller
MIS2502: Data Analytics MySQL and MySQL Workbench
生物資訊程式語言應用 Syllabus 2009 Summer
Sending a text message (and more)
XAMPP.
Presentation transcript:

MySQL Backup, Transfer and Restore Jeremy Shafer Department of MIS Fox School of Business Temple University

Objective We want to be able to move our work from our personal development systems (e.g. your laptop, or the class computers) to a server. Only when your code and data have been made available on a server environment will they be of any practical use.

A tale of two systems… Your System The MIS3501 server Apache Web Service Apache Web Service PHP Interpreter PHP Interpreter MySQL MySQL

They are not automatically “synched” They are not automatically “synched”. Direct database connectivity is not permitted. Your System The MIS3501 server Apache Web Service Apache Web Service PHP Interpreter PHP Interpreter MySQL MySQL

We need to do two things #2 Copy the files (.php, .css, .html, etc.) Your System MIS3501 Apache Web Service Apache Web Service PHP Interpreter PHP Interpreter MySQL MySQL #1 Backup, Transfer, and Restore our database tables But look out! When our database moves, our connection credentials will change

? So here is the process… #1. Get your code working locally. #5. Test. Is the code working on the server? #2. Upload your database to the server. #4. Copy your php files using SSH #3. Update your connection parameters

Time to give it a try…