classes:general:dbsamples:perl_mysql
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
classes:general:dbsamples:perl_mysql [2020/10/23 18:10] – localadmin | classes:general:dbsamples:perl_mysql [2021/09/17 17:27] (current) – localadmin | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Perl example for MySQL database connection ====== | ||
+ | |||
< | < | ||
use strict; | use strict; | ||
Line 17: | Line 19: | ||
$db_conn_string = " | $db_conn_string = " | ||
- | # Connect to db on Hrothgar | + | # Connect to db |
if ($conn = DBI-> | if ($conn = DBI-> | ||
{ | { |
classes/general/dbsamples/perl_mysql.1603494624.txt.gz · Last modified: 2020/10/23 18:10 by localadmin