silverstripe / sspak

Tool for managing bundles of db/assets from Silverstripe environments
http://silverstripe.github.io/sspak/
BSD 3-Clause "New" or "Revised" License
47 stars 34 forks source link

Error - Can't process database type 'MySQLPDODatabase' #33

Closed robbyahn closed 8 years ago

robbyahn commented 8 years ago

When I run the following command

$> sspak save --db /var/www/html/mysite local-test2.sspak

then return the following Can't process database type 'MySQLPDODatabase'

tractorcow commented 8 years ago

Need to add a new method to support PDO databases.

It can probably just call putdb_MySQLDatabase

camfindlay commented 8 years ago

+1

camfindlay commented 8 years ago

+1 again

dhensby commented 8 years ago

Created PR for it

tractorcow commented 8 years ago

Thanks @dhensby

tractorcow commented 8 years ago

Fixed with https://github.com/silverstripe/sspak/pull/34

madmatt commented 8 years ago

That fixes it in the code, but the installer still pulls the wrong version down, because the builder hasn't been run. I'll try and sort that now.

tractorcow commented 8 years ago

Thanks.

madmatt commented 8 years ago

PR raised here: https://github.com/silverstripe/sspak/pull/35

@tractorcow: Works on my local, but it might be worth checking somewhere else too if you wouldn't mind?