my $dsn = "dbi:$driver:database=$database;host=$host;port=$port";
my $dbh = DBI->connect(
$dsn,
$cfg->{username},
$cfg->{password},
{
AutoCommit => 1,
RaiseError => 0,
PrintError => 0,
PrintWarn => 0,
},
);
####
SELECT * FROM group
####
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group' at line 2