AgA
AgA

Reputation: 2126

Suggestion about how to access mysql database easily

I want to know what is the easy and simple way to access mysql database. I'm using Windows. Also I should be able to easily install using Active Perl's perl package manager.

Upvotes: 0

Views: 70

Answers (2)

Toto
Toto

Reputation: 91385

Install DBI and DBD::mysql

For DBD::mysql for ActiveState, have a look at :

http://dev.mysql.com/doc/refman/5.0/en/activestate-perl.html

and

http://code.activestate.com/ppm/DBD-mysql/

Upvotes: 4

Dave Cross
Dave Cross

Reputation: 69244

As M42 has said, DBI and DBD::mysql should be the basis of any work that needs to talk to a MySQL database.

But I'd go further than that and recommend that you look at DBIx::Class as an easy way to get data from (and into) a database.

Upvotes: 3

Related Questions