PDO ODBC MS Access

39 views
Skip to first unread message

Ladányi Attila

unread,
Apr 8, 2015, 10:40:36 AM4/8/15
to google-a...@googlegroups.com
Hello,
 
I have an application: atladany.appspot.com. I would like to access an MS Access 2010 database, but it is not successfull. I got the following error messages:
 
Page333exception 'PDOException' with message 'could not find driver' in /base/data/home/apps/s~atladany/1.383442643508030901/page3.html:17 Stack trace: #0 /base/data/home/apps/s~atladany/1.383442643508030901/page3.html(17): PDO->__construct('odbc:DRIVER={Mi...') #1 /base/data/home/apps/s~atladany/1.383442643508030901/index.php(119): include('/base/data/home...') #2 {main}
 
What ist the problem? Could you help me? Is the PDO ODBC Connection in Google App Engine allowed, supported?
 
Thanks in Advanced

Vinny P

unread,
Apr 8, 2015, 5:02:29 PM4/8/15
to google-a...@googlegroups.com
On Wed, Apr 8, 2015 at 9:40 AM, Ladányi Attila <attila....@googlemail.com> wrote:
PDO->__construct('odbc:DRIVER={Mi...')
 
What ist the problem? Could you help me? Is the PDO ODBC Connection in Google App Engine allowed, supported?



The error message cuts off the full name of the driver, but it looks like your application is trying to specify a custom driver that's not supported on App Engine. 

If you're willing to drop Microsoft Access, you can migrate your data from Access to Cloud SQL and then your GAE app can pull information from there. Alternatively, you might want to use a Managed VM instance and install the driver within the VM, then connect as normal.

 
 
-----------------
-Vinny P
Technology & Media Consultant
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com
 

Ladányi Attila

unread,
Apr 9, 2015, 10:06:59 AM4/9/15
to google-a...@googlegroups.com
Hello Vinny,
 
thanks for you information. in the meanwhile read I, that I shall to use "Managed VM instance" instead of "Sandbox" image.
 
Thanks for your help.
Reply all
Reply to author
Forward
0 new messages