Comments - Get error "needs to be re-prepared" (#1615) when retrieving data from a view on windows via odbc

1 year, 7 months ago Michael Schramm

Correction:

I just tried one of the workarounds mentioned in the first tip. This one works.

I created a pass-through query on the client side with the view SQL from the server side. Now, I can access and read this client side view.

But of course the actual error is still there. Server side views can't be read on client side via ODBC. Strange.

 
1 year, 7 months ago Michael Schramm

Unfortunately no, but thank you very much.

With phpMyAdmin on the web server for example, all views work fine.

When accessing from a Windows machine, via Microsoft Access, ODBC driver and linked tables and views, the tables work, but none of the views can be accessed.

Select * from view_xy generates the described error.

For testing I had uninstalled the previously installed MariaDB ODBC driver (unfortunately I don't know the version anymore) and installed the latest driver. Without effect, same error.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.