Closed Naktibalda closed 7 years ago
I thought that DB autodiscover feature is broken because it returned an empty list of tables for non-empty database:
No tables found Autodiscovery could not find any existing tables, you can insert the table name here:
No tables found
Autodiscovery could not find any existing tables, you can insert the table name here:
I did some debugging, and when I printed $e->getMessage() here, I got this output:
$e->getMessage()
Connect Error: SQLSTATE[HY000] [2019] Unknown character set
I fixed my issue by changing utf-8 to utf8, but it would be nice if Apigility told me that character set is incorrect without debugging.
utf-8
utf8
Related PR #305
I thought that DB autodiscover feature is broken because it returned an empty list of tables for non-empty database:
I did some debugging, and when I printed
$e->getMessage()
here, I got this output:I fixed my issue by changing
utf-8
toutf8
, but it would be nice if Apigility told me that character set is incorrect without debugging.Related PR #305