Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2003
    Posts
    2

    Angry Unanswered: HELP DBI, DBD and mysql

    Hi all,
    I have a perl script using DBI, to get data from a sybase and send into a mysql.
    The sybase is into a aix unix system, and the mysql is into a windows system.
    I have the script into the AIX and so the DBI.
    Do I have to install DBD and mysql into AIX? why? (if so)
    what about MYODBC can I use it?
    thks you all.

  2. #2
    Join Date
    Feb 2003
    Posts
    45
    Use of most SQL Databases requires DBI as a given.

    For Sybase you probably have DBD:ybase perl module installed

    so for MySQL you'll need DBD::MySQL installed to allow access to your MySQL database(s).

    Go to the Perl CPAN site and download it onto your AIX system,
    use the README to install it and it ought to be pretty similar in theory to
    your existing Sybase stuff.

    Good Luck.

    PS: Yes you could use MyODBC but DBD::MySQL is probably better for your situation.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •