Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact

New telephone system - working a day early.
01225 708225 (phone) and 01225 899360 (fax) again ;-)
Upcoming U.K. Perl courses ...
Perl Programming
Perl for larger projects
using Perl on the Web

Related technical and longer articles
Interfacing applications to a MySQL database engine
Tips and short articles on this subject
The future of MySQL
Checking the database connection manually
Ruby, Perl, Linux, MySQL - some training notes
Hiding a MySQL database behind a web page
Object Relation Mapping (ORM)
Answering ALL the delegate's Perl questions
Using a MySQL database from Perl
MySQL - an FAQ
Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business hotel accommodation. You are welcome to browse and use our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
Perl module P308
Using SQL Databases from Perl
Exercises, examples and other material relating to training module P308. This topic is presented on public courses MySQL, Perl Programming, Perl for Larger Projects

The MySQL Relational database - Structure, Installation, Administration, Database Design and Programming through SQL This course introduces you to the ...
http://www.wellho.net/course/mqfull.html  [course]
Learning to program in Perl / Perl Programming - Programming Perl - for newcomers to the language This course introduces you to the Perl programming language. ...
http://www.wellho.net/course/ppfull.html  [course]
Learning to Program in Perl / Perl Programming - Learning Perl - whether you're new to programming or 'converting'. This course covers programming in the ...
http://www.wellho.net/course/lpfull.html  [course]
Perl for Larger Projects - Objects, huge data, SQL databases, XML, efficiency and other topics. This advanced course takes the Perl programmer through ...
http://www.wellho.net/course/plfull.html  [course]
Custom course - Custom course Custom course This is a custom course that will be tailored to your trainee's needs and based on their current knowledge ...
http://www.wellho.net/course/ccfull.html  [course]
We're becoming a serious MySQL resource, with many technical articles, examples, forum posts and blog entries answering those difficult-to-resolve issues ...
http://www.wellho.net/mouth/515_MySQL-an-FAQ.html  [short article]
MySQL has grown from a very neat little open source database 10 years ago into a very powerful and widespread database that's not always fully open source ...
http://www.wellho.net/mouth/2561_The ... MySQL.html  [short article]

Perl accesses information held in relational databases through the DBI module, with additional modules (known as DBD modules) used to provide the specific code for individual database products such as MySQL. This module covers the sourcing and downloading of the DBI and DBD modules, and the use of DBI from within Perl. You don't use DBD directly, which ensures that your Perl code is very portable.

This topic is presented on public courses MySQL, Perl Programming, Perl for Larger Projects

Examples from our training material
aclog2table   Set up database for web access log records
aggy   Connecting Perl to a MySQL database
dbdhash.pm   Tie a Perl hash to a MySQL table through DBI
edbi   Example using many database access methods from DBI
fifthdbi   Perl DBI - display contents of MySQL table
firstdbi   Simple Perl DBI Query
hellosql   Accessing and SQL database with DBI and DBD modules
orange.pl   DBI used in a CGI script as a GUI to a table
sqlping   Using DBI and DBD to establish a connection and list available tables
tie_main   Exercise - main program to die hash to database
trains.sql   Data to create and populate train table for other examples
traintimes   Connect to an SQL database of train times
Background information
Some modules are available for download as a sample of our material or under an Open Training Notes License for free download from http://www.training-notes.co.uk.
Topics covered in this module
Review - flat databases.
Relational databases through SQL.
Setting up the DBI and DBD modules.
Connecting to an SQL server.
Issuing an enquiry and reading back the results.
Amending information in a database via SQL.
Creating new tables.
Database support including mySQL, Oracle, Sybase, Infomix.
Interfacing Perl to the Access database.
Using Tie to access a table as if it was a Perl Hash.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule page.

Well House Consultants specialise in training courses in Python, Perl, PHP, and MySQL. We run Private Courses throughout the UK (and beyond for longer courses), and Public Courses at our training centre in Melksham, Wiltshire, England. It's surprisingly cost effective to come on our public courses - even if you live in a different country or continent to us.

We have a technical library of over 700 books on the subjects on which we teach. These books are available for reference at our training centre. Also available is the Opentalk Forum for discussion of technical questions.


You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2010: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 0800 043 8225 or 01225 708225 • FAX: 01225 899360 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho