Section 6 - PHP and MySQL - Section 6: Using MySQL and PHP...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Section 6: Using MySQL and PHP (2/29/08) phpMyAdmin: An Overview phpMyAdmin is a GUI front-end for administering MySQL databases via a web browser. We have phpMyAdmin installed on the 230 server; check it out at http://info230.cs.cornell.edu/phpMyAdmin . Your login information is the same as it is for the 230 site. All the common commands you might wish to run on a MySQL server can be run via phpMyAdmin. You can select databases with the pulldown at left, and then (when you've got >= 1 table in your database) select which table to work with by clicking on a link below the pulldown. Let's take a look at the top level navigation of phpMyAdmin: Structure: Lets you create and update tables in your database. Browse: Basically, a SELECT * on your table. SQL: A textarea where you can enter SQL commands, as in homework 1. Search: Run SELECT queries using a form interface for setting WHERE or LIKE clauses. Insert: Enter data into your table. Import: Upload a file full of SQL commands and run them all on the database. Export: Create backups of your database tables and their content as SQL statements. Empty: Remove all data from a given table. Drop: Delete the table (obviously also removes all its data). Operations: Ignore this for now.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/01/2008 for the course INFO 2300 taught by Professor Williamson during the Spring '08 term at Cornell University (Engineering School).

Page1 / 3

Section 6 - PHP and MySQL - Section 6: Using MySQL and PHP...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online