开发者

Suggestion about how to access mysql database easily

开发者 https://www.devze.com 2023-03-02 13:47 出处:网络
I want to know what is the easy and simple way to access mysql database. I\'m using Windows. Also I should be able开发者_StackOverflow社区 to easily install using Active Perl\'s perl package manager.I

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


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/


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消