MySQL GUI Tools MySQL & PHP Jeff Kopmanis, Mathematics kopmanis@umich.edu
Command Line Utility
Command Line Utility
Command Line Utility Crowded
Command Line Utility Crowded Not suited well for wide results
Command Line Utility Crowded Not suited well for wide results Can’t see results & structure at the same time
GUI Tools Multi-platform
GUI Tools Multi-platform Microsoft Windows
GUI Tools Multi-platform Microsoft Windows Linux (RedHat, SuSE, Debian, Others)
GUI Tools Multi-platform Microsoft Windows Linux (RedHat, SuSE, Debian, Others) MacOSX
GUI Tools Multi-platform Microsoft Windows Linux (RedHat, SuSE, Debian, Others) MacOSX A “Workbench” for SQL tasks
GUI Tools Multi-platform Microsoft Windows Linux (RedHat, SuSE, Debian, Others) MacOSX A “Workbench” for SQL tasks STANDARD!
GUI Tools Multi-platform Microsoft Windows Linux (RedHat, SuSE, Debian, Others) MacOSX A “Workbench” for SQL tasks STANDARD! Open Source - FREE!
MySQL Administrator
MySQL Administrator GUI Administrative Tool
MySQL Administrator GUI Administrative Tool Open Source - Freely available
MySQL Administrator GUI Administrative Tool Open Source - Freely available Maintained by MySQL AB
MySQL Administrator GUI Administrative Tool Open Source - Freely available Maintained by MySQL AB Available on major OS’s
MySQL Administrator GUI Administrative Tool Open Source - Freely available Maintained by MySQL AB Available on major OS’s Windows
MySQL Administrator GUI Administrative Tool Open Source - Freely available Maintained by MySQL AB Available on major OS’s Windows Linux
MySQL Administrator GUI Administrative Tool Open Source - Freely available Maintained by MySQL AB Available on major OS’s Windows Linux MacOSX
MySQL Administrator Demo
MySQL Query Browser
MySQL Query Browser
MySQL Query Browser
MySQL Query Browser
MySQL Query Browser
CocoaMySQL Demo
Dynamic Web Pages MySQL & PHP
“Why would I want to use a Dynamic page!?”
“Why would I want to use a Dynamic page!?” When content has to be updated frequently
“Why would I want to use a Dynamic page!?” When content has to be updated frequently When content is interdependent
“Why would I want to use a Dynamic page!?” When content has to be updated frequently When content is interdependent When you want a page to be configurable
“Why would I want to use a Dynamic page!?” When content has to be updated frequently When content is interdependent When you want a page to be configurable When other software has to get at the data
“Why would I want to use a Dynamic page!?” When content has to be updated frequently When content is interdependent When you want a page to be configurable When other software has to get at the data What’s your idea for a dynamic page?
Anatomy of a Dynamic Web Page 1. Submit a URL to your browser http://www.umich.edu/somepage.php Safari Browser
Anatomy of a Dynamic Web Page 2. Browser sends request to web server http://www.umich.edu/somepage.php Safari Browser Web Server
Anatomy of a Dynamic Web Page 3. Web server runs a script Safari Browser Web Server somepage.php Script Language
Anatomy of a Dynamic Web Page 4. Script makes SQL Queries for data SELECT * FROM dtable Safari Browser Web Server Script Language SQL Database
Anatomy of a Dynamic Web Page 5. Database returns data to script for processing Safari Browser Web Server Script Language 123, Jeff 456, Mary 789, Dave SQL Database
Anatomy of a Dynamic Web Page 6. Script prepares HTML and sends it to the Web Server Safari Browser Web Server Script Language . td 123 /td td Jeff / td /tr tr td 456. SQL Database
Anatomy of a Dynamic Web Page 7. Web server finishes processing and sends stream to your browser Safari Browser . td 123 /td td Jeff / td /tr tr td 456. Web Server Script Language SQL Database
Anatomy of a Dynamic Web Page 8.Your browser renders the HTML and displays the formatted results Safari Browser
Some PHP Examples
hello.php ? print "Hello, World!"; ?
hello.php T S E L P ? M I S print "Hello, World!"; S M ’ A ? LD R G R O O R W P
hello vars.php center ? hello “Hello”; world “World”; print hello.”, “. world.” br ”; ? /center hr
hello vars.php D N center O C M ? E A S R hello “Hello”; S G ’ O world “World”; D L R print R hello.”, “. world.” br ”; P O T ? S W E /center L P hr M I S
db.php ? ####################### # Make Database connection db mysql connect("localhost","root",""); mysql select db("inventory", db); sql "SELECT ipaddr,hostname FROM machines”; result mysql query( sql); while( datarow mysql fetch array( result) ) { # 2 print statements for prettiness! print “ip ”. datarow[‘ipaddr’]; print ” hostname ”. datarow[‘host’].” br \n”; } mysql close( db); ?
db.php
db form.php ? ####################### # Make Database connection db mysql connect("localhost","root",""); mysql select db("inventory", db); # shows how concatenation can be used to build strings sql "SELECT ipaddr,hostname FROM machines“; sql . “ WHERE hostname '". GET['fhost']."'"; result mysql query( sql); while( datarow mysql fetch array( result) ) { print "ip ". datarow['ipaddr']; print " hostname ". datarow['hostname']." br \n"; } mysql close( db); ?
db form.php
all in one.php html head title All-in-One PHP File /title /head form method post action "all in one.php" input type text name "fhost" value ' ? POST[fhost]? ' size 25 maxlength 25 input type submit value ' LOOK IT UP! ' /form hr table width 100% ? ####################### # Make Database connection db mysql connect("localhost","root",""); mysql select db("inventory", db); sql "SELECT hostname,ipaddr FROM machines WHERE hostname '". POST[fhost].”’”; result mysql query( sql); while( datarow mysql fetch array( result) ) { print " tr td width 50% datarow[‘hostname’] /td td width 50% "; print datarow[‘ipaddr’]; print " /td /tr \n"; } print " tr td colspan 2 hr /td /tr \n"; ? /table /html
all in one.php
PHP-enabled Sites Demo
Online Resources http://www.mysql.com MySQL Home http://serverlogistics.com/mysql.php Complete MySQL http://www.php.net/ PHP Home page http://versiontracker.com Where to find CocoaMySQL
Books PHP and MySQL Web Development (3rd Edition) Luke Welling, Laura Thompson ISBN: 0672326728 PHP Cookbook David Sklar, Adam Trachtenberg ISBN: 1565926811
Q &A Thanks for coming!
MySQL GUI Tools MySQL & PHP Jeff Kopmanis, Mathematics kopmanis@umich.edu. Command Line Utility. Command Line Utility. Command Line Utility Crowded. Command Line Utility Crowded Not suited well for wide results. Command Line Utility Not suited well for wide results Can't see results & structure
PSI AP Physics 1 Name_ Multiple Choice 1. Two&sound&sources&S 1∧&S p;Hz&and250&Hz.&Whenwe& esult&is:& (A) great&&&&&(C)&The&same&&&&&
MySQL for Excel is a 32-bit add-in for Microsoft Excel, which you can install and run on Microsoft Windows. MySQL for Excel is not compatible with Linux or macOS. MySQL for Excel can interact with MySQL Workbench to simplify the management of MySQL connections when both MySQL client tools are installed.
Lifetime Support Oracle Premier Support Oracle Product Certifications MySQL Enterprise High Availability MySQL Enterprise Security MySQL Enterprise Scalability MySQL Enterprise Backup MySQL Enterprise Monitor/Query Analyzer MySQL Workbench MySQL Enterprise Edition. 11 MySQL Database
Argilla Almond&David Arrivederci&ragazzi Malle&L. Artemis&Fowl ColferD. Ascoltail&mio&cuore Pitzorno&B. ASSASSINATION Sgardoli&G. Auschwitzero&il&numero&220545 AveyD. di&mare Salgari&E. Avventurain&Egitto Pederiali&G. Avventure&di&storie AA.&VV. Baby&sitter&blues Murail&Marie]Aude Bambini&di&farina FineAnna
The program, which was designed to push sales of Goodyear Aquatred tires, was targeted at sales associates and managers at 900 company-owned stores and service centers, which were divided into two equal groups of nearly identical performance. For every 12 tires they sold, one group received cash rewards and the other received
Configure MySQL Download the latest version of MySQL www.dev.mysql.com The default Apple install has errors Supposed to be fixed in 10.4.4 update Install Package, Startup Item, and Preference Pane Reboot server MySQL Administrator GUI application to edit MySQL users and settings Cocoa MySQL GUI application to edit .
layout and the components of the GUI Changes to this file are made in the Layout Editor - .m file - contains the code that controls the GUI You can program the callbacks in this file using the M-file Editor 28 Creating a GUI Typical stages of creating a GUI are: 1. Designing the GUI 2. Laying out the GUI - Using the Layout Editor 3.
MOLECULAR CELL BIOLOGY: ESSAY OUTLINE What are peroxisomes? What do they do? And, how are proteins targeted to them? Are they related to the ER/Golgi? Are they more like mitochondria? Or, are they completely different again? Include a discussion of what happens to cells and organisms if peroxisomes are defective. I. INTRODUCTION Briefly introduce what a peroxisome is and its situation in .