in reply to connecting to Mysql from Win32

Scratches head.....

I don't see a database driver there use DBD::mysql; for example.

jdtoronto

Replies are listed 'Best First'.
Re^2: connecting to Mysql from Win32
by ikegami (Patriarch) on Oct 22, 2004 at 17:56 UTC
    No need. DBI loads it for you.
      Your code works for me. I know this is the obvious but DBD::mysql is installed right? As well your password is empty, do you really have an empty password?

      Update:
      MySQL 4.1.1
      Activestate Perl, v5.8.4
      Win 2000
      DBD-mysql 2.9003

        Yes, DBD::mysql is installed as you can see:
        C:\Data\Scripts\Exchange>ppm query dbd::mysql DBD-mysql [2.9002] A MySQL driver for the Perl5 Database Interface (DB +I) C:\Data\Scripts\Exchange>ppm verify dbd::mysql Package 'dbd-mysql' is up to date.

        And, yes, I normally use a blank password when connecting to the database. But, normally, I only connect from localhost on the linux box. I did a grant just now to add the user with a password with host of the win32 boxes ip address.

        Still, the same problem. No connect and no errors. Just the exit with no explanation ..."