|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
how to connect to mySQL?
Hi
Does anyone know any good tutorials on how to connect a perl script to a mySQL database or does anyone know any good code. Thanks for any help! |
|
#2
|
|||
|
|||
|
I would suggest reading DBI.pm, this is the perl module that will allow you to connect to mySQL and a number of other database types (such as ODBC etc). In this file should be examples and commands to do what you want
![]() Hope this helps. |
|
#3
|
|||
|
|||
|
Code:
[bash me@here] $ perldoc DBI ![]()
__________________
- dsb - ![]() Perl Guy |
|
#4
|
|||
|
|||
|
Hi
I think i've found a good tutorial. Its got an example on how to search, add, delete and modify which is what i wanted to do. Thanks. |
|
#5
|
|||
|
|||
|
Hi,
would you post a link to this tutorial? |
|
#6
|
|||
|
|||
|
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > how to connect to mySQL? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|