Professional Documents
Culture Documents
PPT
PPT
• What is MySQL?
• History
• Facts
• SQL Databases
• Alternatives
• Benefits
• Drawbacks
• Setting Up Database Driven Websites
• How It Works
• PHP and MySQL
• Specific SQL Tools
• A Database Driven SBU ‘Course Guidance’ Website –
EXAMPLE OF PROJECT
• Flowchart
• Useful Sites
What is MySQL?
• MSQL / MySQL Databases
The world's most widely used open source database application.
MySQL is a relational database management system. World Class SQL
Server
• PHP
A server-side, cross-platform, HTML embedded scripting language.
MySQL is:
• Well-supported and
• Fast
History
• In 1996 T.c.X. DataKonsultAB , a
consulting firm in Sweden developed
MySQL.
• Created Alternative database from the
general idea of mSQL.
Facts
• MySQL is the largest growing relational database
out on the market.
• MySQL mainly runs on UNIX-based
environments
• MySQL acts as a DBMS
• MySQL is one of the most used open source
databases in the world.
• Can use Enhanced MySQL
• Capacity to handle 50,000,000+ records.
• Very fast command execution, perhaps the
fastest to be found on the market.
• Easy and efficient user privilege system.
SQL Databases
Alternatives
Server Side Client Side
• Administration • DHTML
• Java • Flash
• MySQL • Graphics
• PHP • JavaScript
• Perl • Style Sheets
• PostgreSQL • WML
• Python
• Roxen
• Wireless
• XML
• Zope
MySQL and PostGreSQL
Compared
• MySQL – Ease of use / long-term stability
• PostGre - Funtionality
• Postgres has an arcane limit of 8k of data per
row
• Postgres - its "serial" data type (the equivalent of
MySQL's auto_increment) creates a "sequence"
which does not get dropped when its parent
table is dropped.
• MySQL is "smart" enough to increment its
auto_increment value when you import data
• MySQL has no built in method for doing db size
limits
Benefits (1)
• Able to handle large databases that can be
accessed over the Web.
• Flexible and secure password system to protect
your data - powerful security system
• Fast, reliable, easy to use, and affordable!
• Relational database management system
• Stability
• On-line help facility - (type –help or -?,)
• MySQL meets the ANSI SQL92 regulations
Benefits (2)
• MySQL allows users to connect to a
specific database on the server and issue
requests.
• Concurrent access
• This system can run on virtually on any
platform – UNIX and Windows
• MySQL also comes with a source code
• MySQL is used at the enterprise level
because of its security.
Drawbacks
• The hard part about this is there is not a
lot of documentation available
• MySQL has no built in method for doing db
size limits
• MySQL requires that you either:
– code the data integrity into your product or
– you right some scripts to go through the logs
and check that integrity was maintained
Setting Up Database Driven
Websites
Original Database:
Implemented in Access
SRS – Student Record System
Implemented by:
South Bank University Updated version of database:
Converted to MySQL
• http://www.mysql.com/documentation/
CODING/HELP DOCUMENTATION
• http://www.mysql.com/information/presentations/presentation-
ede2000-20001010/
SYNTAX EXPLAINED
• http://hotwired.lycos.com/webmonkey/programming/php/tutorials/tutor
ial4.html
PHP AND MYSQL TUTORIAL
• http://www.devshed.com/Server_Side/MySQL
THE DEVELOPER SHED (MYSQL INFO.)
• http://www.faqts.com/knowledge_base/index.phtml/fid/94
MYSQL QUERIES AND COMMON PROBLEMS