I'm trying to grab some data from an external MySQL database running Joomla. I was only given a read-only MySQL account and set up my migration class:
https://gist.github.com/humansky/5601022
But whenever I run "drush mi --all" I get the following error:
Migration failed with source plugin exception: SQLSTATE[42000]: Syntax error or access violation: 1142 SELECT command denied to user [error]
'extdb_user'@'mylocalhost.host.com' for table 'migrate_map_joomlaevent'
It looks like Migrate is trying to connect to my 'default' database with the 'for_migration' database credentials. Has anyone else ran into this issue? I'm running Migrate version 7.x-2.5+127-dev
Comments
Comment #1
mikeryanSee http://drupal.org/node/1014558 - you need to set the 'map_joinable' option on your source constructor.
Comment #2
humansky commentedWOW, can't believe I missed that and it was that easy.....thank you!!!!
Comment #4
kenorb commented