Guyren, Interesting approach. Could you provide more detail in the setup and execution of this script?
It looks like it uses some ActiveRecord database configuration. Is this run within a Rails app? For the destination database (postgresql) is there a connection thats needed or does this output as a sql script? Thanks, Ryan Felton 816.591.6257 [email protected] http://www.linkedin.com/in/ryanfelton On Fri, Feb 5, 2016 at 2:36 AM, Guyren Howe <[email protected]> wrote: > I mentioned briefly in the meeting tonight that I'd used the new IMPORT > FOREIGN SCHEMA command in Postgres to import a MySQL database with some > success. > > The new command makes interacting with another database (MySQL, Oracle, > Couch, Mongo, you name it) more or less as if it was just part of the local > database. > > Anyway, the script is here: > > <http://relevantlogic.com/2016/02/04/converting-mysql-to-postgresql.html> > > If anyone makes use of it, or wants to improve it, please let me know, or > post it here. > > -- > -- > SD Ruby mailing list > [email protected] > http://groups.google.com/group/sdruby > --- > You received this message because you are subscribed to the Google Groups > "SD Ruby" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby --- You received this message because you are subscribed to the Google Groups "SD Ruby" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
