Open ArturFormella opened 7 years ago
This seems to be connected: https://laracasts.com/discuss/channels/laravel/general-error-1615-prepared-statement-needs-to-be-re-prepared-selecting-mysql-view?page=1 https://laracasts.com/discuss/channels/general-discussion/mysql-general-error-1615-prepared-statement-needs-to-be-re-prepared?page=1
so, how to disable prepared statements in mysql fdw?
@ArturFormella did you ever find a solution to this issue? It is also occurring for me using MariaDB. Interestingly it wasn't occurring with MariaDB 5.5, but it is with MariaDB 10.3.
Yes, I had to change default settings to fix it:
table_definition_cache 16384 table_open_cache 16384
Hello! I have the following problem with mysql fdw and views.
MariaDB server:
Postgresql:
IMPORT FOREIGN SCHEMA main LIMIT TO (admin_alerts,test_fdw_view) FROM SERVER mysql_db4_server INTO mysql_realtime;
And then: SELECT * FROM
test_fdw_view
returns:but SELECT * FROM
admin_alerts
works as expected.The message comes from here (mysqlBeginForeignScan):
This issue is also complicated by the fact that it sometimes works as expected. I don't know how to fix it. Could someone help?