Section 6 - PHP and MySQL

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

Info icon This 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.
Image of page 1

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

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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern