Subject: | Bug report, table_info failed at Ver 8.0.21-0ubuntu0.20.04.3 for Linux on x86_64 |
Date: | Fri, 31 Jul 2020 09:12:18 +0100 |
To: | bug-DBD-mysql [...] rt.cpan.org |
From: | Мира Просовецкая <mira.prosovetskaya [...] gmail.com> |
Dear team,
At the new ubuntu 20.04 and mysql 8.0.21 I am facing a bug - as soon as I use table_info - it fail with
DBD::mysql::db table_info failed: fetch() without execute()
Even all other DBI functions for db works fine.
Here is example code where it fails:
use strict;
use warnings;
use DBI;
# Connect to the database.
my $dbh = DBI->connect("DBI:mysql:database=test;host=localhost",
"root", "root",
{'RaiseError' => 1});
my $info = $dbh->table_info('', '%', '');
$dbh->do("INSERT INTO foo VALUES (1, " . $dbh->quote("Tim") . ")");
$dbh->do("INSERT INTO foo VALUES (?, ?)", undef, 2, "Jochen");
Hope it helps,
Thank you very much for what you do
Mira.