Recommended tool to convert PostgreSQL database to MySQL [closed] - mysql

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have a postgresql dump file and wants to convert it to MySQL. I google it and found pg2mysql which it converted successfully. However, I get errors when importing it to mysql. Looks like the formats are not compatible or wrong.
Any one can recommend?
Thanks.
James

The best solution for a migration would be a conversion tool like ESF data migration toolkit or openDBcopy that is open source.

According to your pastebin, the problem is with bigserial, as this is not a MySQL datatype. Some Googling came across this site which describes what bigserial is in Postgres context and other RDBMS datatype equivalents.
Looks like there are 3rd party libraries which will convert the data from Postgres to whichever RDMBS you choose, an example is easyfrom.net, if this doesn't fit your needs, just google around, as you are not the first person to need this functionality.

Related

Perl or MySQL for accessing and retrieving information [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm trying to retrieve a couple of webpages so that I can manipulate their information. I am looking for what are the best tools and packages for doing this. Preferably, I would appreciate to use Perl for parsing the tables, but I would be fine with using MySQL too, though I would have to learn it.
(I believe they are HTML tables, despite the page being coded in Java?).
I am not asking for any code, but for your opinion, tips and suggestions on how I can accomplish this. My intentions are, for now, to just parse the tables, merge them, and build a single table that has the information from both sites in different columns. This general table would only need to be updated once a day at most.
The tables can be found in here, please scroll down and in here, the full table.
Thank you in advance for all the help!
For web page retrieve, you can use the Web::Scraper, HTML::DOM, and also the LWP related modules.
And for SQL, the DBI module is very powerful. You can search these using the cpan.
Your question seems to be how to do webscraping. I don't see how MySQL would come into play with this. For webscrapint I suggest that you look at the CPAN modules WWW::Mechanize and HTML::TableExtractor

Data validation after migrating from msql to mongodb [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I was hoping someone could point me in the right direction. I have moved from a mysql db to mongodb. Is there any tools available to run against the two databases to ensure that the data is consistent.
Ive asked Google but ive been coming up empty. The other option i was considering was to write a script and take random samples from the db's and compare the results.
I doubt there is anything for this. The only way that I can see would be to write some script that compares the two data sources. But I do have to point out that if you just merely moved tables to collections, you will run into problems. The data schema that MongoDB likes for optimal performance is in no means going to be similar to what you'd use in a relational database such as MySQL.

How can I automatically convert MySQL DDL to Oracle DDL? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I know my question sounds a little bit like a shopping request, but I honestly believe that many people could find it useful.
I've been looking for an automatic tool that converts Data Definition Language from MySQL dialect to Oracle dialect - the other way round would also be fine. I found “SQL Fairy” but I was unable to run it; probably because I'm not familiar with PERL.
Is there any free tool for Windows that converts MySQL DDL to Oracle DDL?
This site really worked for me and it can convert a bunch of different DDL commands from Oracle, MySql, M$ Sql Server, Sybase and others. http://www.sqlines.com/online.
Please note the disclaimer below the tool:
Note. SQLines Online is a unrestricted version for EVALUATION USE ONLY. For use in projects, please obtain a license.
Oracle has web pages filled with information on this: Database Migration Technology which gives detailed instrctions and help for several different databases including MySql.
The main tool referenced: Oracle SQL Developer is free.

Convert multiple mysql scripts to sql server [duplicate]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have a large MySQL set of commands in a file (script) and I need to execute it on a Microsoft SQL Server 2008. I know there are few differences in both languages, despite the fact the base SQL is the same.
Is there any way how to convert a MySQL script to one that is executable on SQL Server? Or is there any migration app that can easily take the whole MySQL server and replicate everything on SQL Server 2008?
Thanks for any advice.
I tried Full Convert Enterprise with quite big success. Fast, easy and it did my job. Give it a try it may help you

Convert MySQL script to SQL Server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have a large MySQL set of commands in a file (script) and I need to execute it on a Microsoft SQL Server 2008. I know there are few differences in both languages, despite the fact the base SQL is the same.
Is there any way how to convert a MySQL script to one that is executable on SQL Server? Or is there any migration app that can easily take the whole MySQL server and replicate everything on SQL Server 2008?
Thanks for any advice.
I tried Full Convert Enterprise with quite big success. Fast, easy and it did my job. Give it a try it may help you