CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2001
    Location
    Tampa Florida
    Posts
    233

    perl connect MySQL

    Hello
    I cant get my PHP to work on Apache MySQL on XP and have changed to perl CGI.
    Does anyone know the Db connect string since I dont have a book or DBI and DBI looks like a real pain.
    Regards
    "trampling out the vintage"

  2. #2
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,234

    Re: perl connect MySQL

    Does this link help you?
    Ovidiu
    "When in Rome, do as Romans do."
    My latest articles: https://codexpertro.wordpress.com/

  3. #3
    Join Date
    Apr 2001
    Location
    Tampa Florida
    Posts
    233

    Re: perl connect MySQL

    Thanks
    Will try the ODBC although that seems to be an indirect but
    is certainly a helpful link!
    Regards
    "trampling out the vintage"

  4. #4
    Join Date
    Apr 2001
    Location
    Tampa Florida
    Posts
    233

    Re: perl connect MySQL

    Hello

    Actually, I just ended up making a C++ console apps with afxdb.h and used my argv command line to import the arguments.
    They can be called easily with perl system and are already connected ODBC


    My MS IDE makes the query easy to formulate.
    The returns are easy to format from recordset to CString array
    returned with cout and the perl autoarray picks it up just fine!

    Later
    "trampling out the vintage"

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured