Hi, I have simple script , trying to get connection to DB.
#!/usr/bin/perl use DBI; my $database="billing"; my $data_source = "DBI:mysql:$database;host=165.21.101.47"; my $dbh = DBI->connect( $data_source,"root","G08hhABC", {RaiseError => 1, PrintError => 1,AutoCommit => 1} ) or die "Unable to connect: " . $DBI::errstr . "\n"; I get this error from DB connection. install_driver(mysql) failed: Can't load '/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/auto/DBD/mysql/mysql.so' for module DBD::mysql: libmysqlclient.so.15: cannot open shared object file: No such file or directory at /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/DynaLoader.pm line 230. at (eval 3) line 3 Compilation failed in require at (eval 3) line 3. Perhaps a required shared library or dll isn't installed where expected at ./m_Relay.pl line 38 Anyone can help me how to solve it. Thanks Rgds Keng Hee