Windows9download.net

  • Home
  • Windows
  • Mac
  • Linux
  • Mobile
  • Drivers
  • Tools
Search☰

Home > Linux

DBD::mysql 4.009

Download  (116.6K)

 

Publisher's description

DBI DBD:: MySQL is a Perl module with MySQL driver for the Perl5 Interface (DBI). DBD:: MySQL is a Perl module with MySQL driver for the Perl5 Interface (DBI). SYNOPSIS use DBI; $ dsn = "DBI: mysql: database = $ database; host = $ hostname, port = $ port" $ dbh = DBI-> connect (HRD database $ dsn, $ user, $ password); $ = DBI-> install_driver ( "mysql"); @ databases = DBI-> data_sources ( "mysql") or @ = DBI-> data_sources ( "mysql", ( "host" => $ host, "port "=> $ port)); $ sth = $ dbh-> prepare (" SELECT * FROM foo WHERE bla ") or $ sth = $ dbh-> prepare (" ListFields $ table ") or $ sth = $ dbh -> prepare ( "ListIndex $ table $ index"); $ sth-> execute; $ numRows = $ sth-> rows; numFields $ = $ sth-> ( 'NUM_OF_FIELDS'); $ sth-> finish; drh $ rc = $ -> func ( 'createdb', $ base, $ host, $ user, $ password, 'admin'); drh $ rc = $ -> func ( 'dropdb', $ base, $ host, $ user, $ password, 'admin'); drh $ rc = $ -> func ( 'shutdown', $ host, $ user, $ password, 'admin'); rc = $ drh $> func ( 'reload', $ host, $ user, $ password, 'admin') $ dbh = $ rc -> func ( 'createdb', $ database, 'admin') $ dbh = $ rc -> func ( 'dropdb', $ database, 'admin' ) $ dbh = $ rc -> func ( 'shutdown', 'admin') $ dbh = $ rc -> func ( 'reload', 'admin'); EXAMPLE #! / Usr / bin / perl use strict; use DBI () # Connect to the database. my $ dbh = DBI-> connect ( "DBI: mysql: database = test; host = localhost", "Joe," password "Joe" ( 'RaiseError' => 1)) drop table # foo '. This may fail if "foo" does not exist. # So, we put an eval around it. eval ($ dbh-> do ( "DROP TABLE foo")) print "Dropping foo failed: $ @ n" if $ @; foo # Create a new table '. This must not fail, so we do not # catch errors. $ Dbh-> do ( "CREATE TABLE foo (id INTEGER, name VARCHAR (20 ))"); # insert data into 'foo'. We use $ dbh-> quote () to quote the name. $ Dbh-> do ( "INSERT INTO foo VALUES (1,". $ Dbh-> quote ( "Tim"). ")"); # Same thing, but using placeholders $ dbh-> do ( "INSERT INTO (?,?) foo ", undef, 2," Jochen ") # Now retrieve data on the table. my $ sth = $ dbh-> prepare ( "SELECT * FROM foo"); $ sth-> execute () while (my $ sth = $ ref-> fetchrow_hashref ()) (print "Found a row: id = $ ref-> ( 'id') name = $ ref-> ( 'name') n ";) $ sth-> finish () # Disconnect from the database. $ Dbh-> disconnect (); DBD:: MySQL is the Perl5 Database Interface driver for the MySQL database. In other words: DBD:: MySQL is an interface between the Perl programming language and the MySQL programming API that comes with the relational database management system MySQL. Most functions provided by this programming API are supported. Some rarely used functions are missing, mainly because nobody has ever requested.

 
Tags: Dbd::mysql Dbd::mysql 4.009 Dbd::mysql Free Download Dbd::mysql Reviews Download Dbd::mysql

  • NextLoudmouth 1.4.3
  • Prevgnome-build 2.24.1

Related Downloads

  • MP3-Database 0.8

Top 10 Download

  • PhpMyAdmin 4.8.0.19.1M
  • Adobe Reader 9.257.8M
  • Android NDK for Linux Version Revision 5b40.3M
  • Netscape Navigator 9.0.0.68.6M
  • Smilehouse OpenSyncro 2.215.2M
  • SHIPPU GSS 1.0.04.3M
  • pyOBD 0.9.2683.9K
  • QuickOrder POS Restaurant 1.0 Professional11.3M
  • CashHaven for Linux 6.012.3M
  • QtDSO 0.3.1109.4K
  • Download Now !
  • Share on Facebook
  • Tweet
  • Share on Google+
  • Post to Tumblr
  • Share on LinkedIn
  • Send email

Software Info ID:782994

  • Last Updated August 15, 2011
  •    File Size116.6K
  •  OS Support
  •    LicensePerl Artistic Li
  •   PublisherJochen Wiedmann

A B C D E F G H I J K L M N O P Q R S S T U V W Y Z


Random

  • 1 U.S.Robotics 3598A Driver for Windows NT
  • 2 Dell Inspiron Laptop 6400 Ricoh R5C832 1.0.1, A00
  • 3 Compaq Presario 4402 Desktop PC -- Presario Windows 95 MediaMatics MPEG

Downloads for Others

  • 1 Canon PIXMA IP4200 Setup Utility
  • 2 ESS Sound Card ES1788 Driver NT20011
  • 3 Gateway GT4016 NVIDIA Motherboard Driver For XP X32
  • 4 HP Deskjet 5740 5743 5745 5748 Driver For Ma
  • 5 HP Pavilion Dv7t-2000 CTO IDT HD Audio CODEC Driv
  • 6 HP Photosmart C5500 All-in-One Printer Series Driver
  • 7 Lexmark C935dn Printer PS Driver Vista64 1.1
  • 8 Lexmark E250d Printer PCL Emulation Driver NT 1.0.
 
Copyright 2009 - 2018 Windows9download.net All rights reserved. Sitemap | Xml | Contact Us | Privacy policy | Windows9download.net