Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: How can I connect/access an MS access database from solaris?

by samurai (Monk)
on Sep 10, 2002 at 18:16 UTC ( [id://196773]=note: print w/replies, xml ) Need Help??


in reply to Re: How can I connect/access an MS access database from solaris?
in thread How can I connect/access an MS access database from solaris?

Creating insert and update statements for sending CSV data to mySQL is slow and unnecessary. Mysql lets you directly import delimited files via the LOAD DATA function. Just export to CSV and do that instead (you must create your table def first tho).

--
perl: code of the samurai

  • Comment on Re: Re: How can I connect/access an MS access database from solaris?

Replies are listed 'Best First'.
Re: Re: Re: How can I connect/access an MS access database from solaris?
by jerrygarciuh (Curate) on Sep 10, 2002 at 18:20 UTC
    I had thought LOAD was only available from the command line. I see that I was incorrect.
    Thank you for the tip.
    jg
    _____________________________________________________
    "The man who grasps principles can successfully select his own methods.
    The man who tries methods, ignoring principles, is sure to have trouble.
    ~Ralph Waldo Emerson

      Actually ... the only "web" part of this, is that the MS Access database lives on a web server at a remote server farm. And I'm trying to insert a record from another IP through PERL CGI code.

      I was hoping to use something like:
      dbi:DriverName:database=database_name;host=hostname;port=port adapted as such:
      dbi:ODBC:database=DSN_name;host=ip_address_of_IIS_box;port=dsn_port

      I've loaded DBI and DBD::ODBC onto my Solaris box through CPAN. But DBD:ODBC wants an ODBC driver to point to. And I'm having a heck of a time finding a free ODBC driver for Solaris.

Re: Re: Re: How can I connect/access an MS access database from solaris?
by physgreg (Scribe) on Sep 11, 2002 at 08:43 UTC
    However, doing this will break replication if you are using this. In that case, you have to create the insert commands before pushing them in to MySQL.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://196773]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (8)
As of 2024-04-19 13:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found