Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/perl
- use Mysql;
- $DBHOST = 'localhost';
- $DBNAME = 'anl';
- $DBUSER = 'xxxxxxxxxx';
- $DBPASS = 'xxxxxxxxxx';
- $DB = Mysql->connect($DBHOST, $DBNAME, $DBUSER, $DBPASS);
- #print $DB;
- //this is the error...
- Can't locate Mysql.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at db_connect.pl line 2.
- BEGIN failed--compilation aborted at db_connect.pl line 2.
- i have installed both DBI and DBD::mysql
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement