mysql数据库在cgi网页端显示?解决

#修改cgi程序中的sql语句,添加{    }内容

my $dbh = DBI->connect("dbi:mysql:tomatopan","tomatopan","tomatopan", {mysql_enable_utf8 => 1,}) or die "DB connect failed\n";