Quantcast
Channel: MySQL Forums - MySQL Workbench - Database Migration
Viewing all 561 articles
Browse latest View live

Special character Problem (2 replies)

$
0
0
Hi,
I am trying to migrate my database from sql server 2008 to Mysql using MySQL Migration Toolkit but data of some tables are not migrating due to having Special Characters in some of my columns in sql server 2008

Navicat Essentials is launched (no replies)

$
0
0
FOR IMMEDIATE RELEASE 24 November 2011

PremiumSoft today announces the availability of the Navicat Essentials family, including:

• Navicat Premium Essentials
• Navicat Essentials for MySQL
• Navicat Essentials for SQL Server
• Navicat Essentials for PostgreSQL
• Navicat Essentials for Oracle
• Navicat Essentials for SQLite

Navicat Essentials is a compact version of Navicat which provides basic and necessary features to perform simple administration on a database. It supports the latest features including Trigger, Function, View, and it also comes with an Import/Export tool which allow user to import and export data from plain text file formats including TXT, CSV and XML.

Currently, Navicat Essentials is available for MySQL, SQL Server, PostgreSQL, Oracle and SQLite databases. There is also Navicat Premium Essentials which allows users to connect to all the five databases within one single application.
Navicat Essentials is under commercial licensing and is available for purchase at the Navicat Essentials Online Store ranging from US$19.90 to US$49.90.

30 day free trial of Navicat Essentials are available for download at: http://www.navicat.com/en/download/download.html

For more details on the features available in Navicat Essentials, please visit the Feature Matrix at: http://www.navicat.com/en/products/navicat_essentials/essentials_feature.html.

About PremiumSoft
PremiumSoft was founded in 1999 and is a team of talented software engineers who develop various applications for Windows and Mac OS X. We're known for producing best of the breeds software and excellent customer support.

Pin Your Income Review (no replies)

$
0
0
Hey guys, so I created this site about a month ago for Pin Your Income, a new system that show you how to make crazy money from Pinterest. It was supposed to be released over a month ago, on June 18th, but apparently all of the bugs haven’t been worked out yet. That is not the case any more though. It is now going to be released tomorrow, August 4th, and I am really excited to finally get my hands on it.

>> Click Here For Pin Your Income Official Site <<

I have been reading other methods on how to make money from pinterest, and will be interested to see how these guys do it. Something else that I have learned is that appealing pictures can be very helpful, so I will be also providing links to sources of pictures that I have found on forums. These pictures will be very helpful to use on any site that is based off of pictures, so you may even try using them on sites like tumblr. You can read more about these pictures on my updated pin your income bonus page.

So I guess we will see if this will turn out to be a Pin Your Income Review scam, or a legit money making program. I for one am very positive that it will work, as I have seen a sneak peak into the members area. There are a lot of videos and pdfs showing everything from how to rank your pins in Google to when the best time to pin is. Pin Your Income really is going to be a massive system that will show you everything you need to make money off of pinterest.

>> UPDATE <<

Hey guys, just got access to Pin Your Income Reviews, and it is looking pretty awesome. Here is the first thing you will see after purchasing Pin Your Income: Something to be ready for are all the up sells you will see. They have two different offers, one for their ready made websites from five different niches. If you go with that option, you will have access to this: And here is a view of the members area for Pin Your Income. There are 6 modules that explain everything about pinterest, and how to make the most from pins: The other cool thing about Pin Your Income is their unannounced bonus, where there have several different videos explaining things like when its best to pin, and what kind of niches convert best. This is what it will look like:

Auto Click Profits Reviews (no replies)

$
0
0
Auto Click Profits by Daniel Owen has attracted a great buzz online. Many marketers are busy in promoting this product to their respective lists. To get a clear understanding on this product, it is essential to have a detailed Auto Click Profits Review.

The product is basically software based. The main use of the software is drive visitors to any website without paying for it. This concept of free traffic is based on the software. The important thing to note here is that it is not related to search engine optimisation. Hence, one does not need to pay for get the site listed in search engine for this method.

The software combined with a powerful and less used source for visitors will fetch the visitors to the desired website and this can be used to make sales of the affiliated product. There are also some unannounced bonuses in the members area of the product itself.

The handling of the software is explained in a step by step format inside the members area. There are other videos which further explain how to utilize the entire system to get free traffic. The method in the product is not concerned about any social networking site nor dependent on search engine visitors or any paid source of traffic.

It can be applied to many categories of websites and in various dimensions. However, one thing to note is that the amount of visitors will also depend on the category of product chosen to promote. Choosing a very niche specific product may not give such amount of visitors as compared to a popular niche.

The entire product has been laid out in a very easy to follow and systematic way. The product can drive hordes of visitors and thereby getting sales. Overall, Auto Click Profits Review is a recommended program for anyone who wants to get free visitors to any website thereby getting sales.

Special character Problem (2 replies)

$
0
0
Hi,
I am trying to migrate my database from sql server 2008 to Mysql using MySQL Migration Toolkit but data of some tables are not migrating due to having Special Characters in some of my columns in sql server 2008

Mysterious duplicate entry error for key from MySQL Backup (no replies)

$
0
0
Hello everyone,
I hava a mayor issue with an import of a MySQL backup. It from a large shop system with about 5000-6000 Products and 1500 Categories.
I created the backup via mysqldump some weeks ago it was on an older, very buggy server, so we decided to resetup the server completely.

The Problem is that I get several duplicate entry for key XX errors when I want to import the backup sql file. For example:
ERROR 1062 (23000) at line 26: Duplicate entry '4-4243' for key 'UNQ_CAT_PRD_LNK_ATTR_INT_PRD_LNK_ATTR_ID_LNK_ID'

I managed to break it down to 4 tables that don't work.
Here is one pasted: http://justpaste.it/177n

I would really appreciate your help. I tried a lot and this haunts me in the night for almost two weeks now...


Thanks,
Mathis

How can i export only shemas(structure) and only date of db? (1 reply)

$
0
0
How can i export only shemas(structure) and only date of db?

thanks!!!

Partition (no replies)

$
0
0
I need to create the table in the below format. But, It is returning Error Code: 1486. Constant, random or timezone-dependent expressions in (sub)partitioning function are not allowed. How can I recover from this and create the table ?

CREATE TABLE `tbl_emp_confirmation` (`fld_id` int(11) NOT NULL AUTO_INCREMENT,
`fldemp_id` varchar(100) DEFAULT NULL,
`fldempname` varchar(100) DEFAULT NULL,
`fldjoindate` varchar(100) DEFAULT NULL,
`fldconfirmdate` varchar(100) DEFAULT NULL,
`fldresigndate` varchar(100) DEFAULT NULL,
`fldstatus` varchar(50) DEFAULT NULL,
`fldcon_status` varchar(100) DEFAULT NULL,
UNIQUE KEY `fld_id` (`fld_id`), KEY `in_empconfirmation`
(`fldemp_id`,`fldempname`,`fldjoindate`,`fldconfirmdate`))

PARTITION BY RANGE ( Month(fldconfirmdate))
(
PARTITION p_JAN VALUES LESS THAN (2012-02-01),
PARTITION p_FEB VALUES LESS THAN (2012-03-01),
PARTITION p_MAR VALUES LESS THAN (2012-04-01),
PARTITION p_MAX VALUES LESS THAN MAXVALUE
);

move tables from local drive to www server (no replies)

$
0
0
Hello. I am a web design student working on a project, I have developed a small php/mysql program on localhost that works fine. I would like to move it to the web server which is located on a remote server. Rather than recreate all the tables field by field, I would like to learn how to do it a little more efficiently. I know I could write code to "create table..." but I wonder if I can't import the table into the database. My local phpadmin has an import feature to import tables, but there is no import tab on the remote server phpadmin program. I know how to "load data infile" into a pre-existing table. I'm looking for a way to create the the table definition and import the data the most efficient way possible into the database all at one time. My localhost is wampserver 2.1 on Windows in the U.S. and the remote server is shared hosting in the U.K. running Linux infong 2.4. Is "mysqldump -p - -user=username dbname tableName > tableName.sql" + "mysql -u username -p -D dbname < tableName.sql" a decent option? TIA - Steve

Migration failed at Bulk Data Transfer (no replies)

$
0
0
I am trying to migrate a schema within the same MySQL server (i.e. like copying tables within the same MySQL server), but I always failed at Bulk Data Transfer.
This error also occurs while I tried to migrate data from MS SQL server to MySQL server. I already tried to change max_allowed_packet=0.3G and only allow 1 worker taskes. I hope anyone can help me out because I will get many MS SQL data and migrate them to MySQL server (on Ubuntu).

MySQL server version is 5.0.67-community-nt;
MySQL workbench version is 5.2.41 CE;
My OS is Windows XP Professional Version 2002 with SP3.
My Available RAM for MySQL<1G.
Here is the log:


Starting...
Prepare information for data copy...
Prepare information for data copy done
Determine number of rows to copy....
Counting number of rows in tables...

wbcopytables.exe --count-only --passwords-from-stdin --mysql-source=yzhang@localhost:3306 --table `hhp3_raw` `members` --table `hhp3_raw` `dihy3` --table `hhp3_raw` `dihy2` --table `hhp3_raw` `lcount` --table `hhp3_raw` `claims` --table `hhp3_raw` `target` --table `hhp3_raw` `dcount` --table `hhp3_raw` `pg` --table `hhp3_raw` `newdata` --table `hhp3_raw` `pcong`

18:01:34 [INF][ copytable]: Connecting to MySQL server at localhost:3306 with user yzhang
18:01:34 [INF][ copytable]: Connection to MySQL opened

8467517 total rows in 10 tables need to be copied:
- `hhp3_raw`.`members`: 113000
- `hhp3_raw`.`dihy3`: 71435
- `hhp3_raw`.`dihy2`: 76038
- `hhp3_raw`.`lcount`: 361484
- `hhp3_raw`.`claims`: 2668990
- `hhp3_raw`.`target`: 70942
- `hhp3_raw`.`dcount`: 818241
- `hhp3_raw`.`pg`: 17
- `hhp3_raw`.`newdata`: 4287325
- `hhp3_raw`.`pcong`: 45

Determine number of rows to copy finished
Copy data to target RDBMS....

Migrating data...

wbcopytables.exe --mysql-source=yzhang@localhost:3306 --target=yzhang@localhost:3306 --progress --passwords-from-stdin --truncate-target --thread-count=1 --table `hhp3_raw` `members` `tt` `members` --table `hhp3_raw` `dihy3` `tt` `dihy3` --table `hhp3_raw` `dihy2` `tt` `dihy2` --table `hhp3_raw` `lcount` `tt` `lcount` --table `hhp3_raw` `claims` `tt` `claims` --table `hhp3_raw` `target` `tt` `target` --table `hhp3_raw` `dcount` `tt` `dcount` --table `hhp3_raw` `pg` `tt` `pg` --table `hhp3_raw` `newdata` `tt` `newdata` --table `hhp3_raw` `pcong` `tt` `pcong`

`tt`.`members`:Copying 4 columns of 113000 rows from table `hhp3_raw`.`members`
*** ERROR: `tt`.`members`:Not enough memory to allocate insert buffer of size 1073741824
`tt`.`members`:Finished copying 0 rows in 0m01s
`tt`.`dihy3`:Copying 4 columns of 71435 rows from table `hhp3_raw`.`dihy3`
*** ERROR: `tt`.`dihy3`:Not enough memory to allocate insert buffer of size 1073741824
`tt`.`dihy3`:Finished copying 0 rows in 0m00s
`tt`.`dihy2`:Copying 4 columns of 76038 rows from table `hhp3_raw`.`dihy2`
*** ERROR: `tt`.`dihy2`:Not enough memory to allocate insert buffer of size 1073741824
`tt`.`dihy2`:Finished copying 0 rows in 0m00s
`tt`.`lcount`:Copying 5 columns of 361484 rows from table `hhp3_raw`.`lcount`
*** ERROR: `tt`.`lcount`:Not enough memory to allocate insert buffer of size 1073741824
`tt`.`lcount`:Finished copying 0 rows in 0m02s
`tt`.`claims`:Copying 15 columns of 2668990 rows from table `hhp3_raw`.`claims`
*** ERROR: `tt`.`claims`:Not enough memory to allocate insert buffer of size 1073741824
`tt`.`claims`:Finished copying 0 rows in 0m33s
`tt`.`target`:Copying 4 columns of 70942 rows from table `hhp3_raw`.`target`
*** ERROR: `tt`.`target`:Not enough memory to allocate insert buffer of size 1073741824
`tt`.`target`:Finished copying 0 rows in 0m00s
`tt`.`dcount`:Copying 5 columns of 818241 rows from table `hhp3_raw`.`dcount`
*** ERROR: `tt`.`dcount`:Not enough memory to allocate insert buffer of size 1073741824
`tt`.`dcount`:Finished copying 0 rows in 0m04s
`tt`.`pg`:Copying 3 columns of 17 rows from table `hhp3_raw`.`pg`
*** ERROR: `tt`.`pg`:Not enough memory to allocate insert buffer of size 1073741824
`tt`.`pg`:Finished copying 0 rows in 0m00s
`tt`.`newdata`:Copying 26 columns of 4287325 rows from table `hhp3_raw`.`newdata`
*** ERROR: `tt`.`newdata`:Not enough memory to allocate insert buffer of size 1073741824
`tt`.`newdata`:Finished copying 0 rows in 3m10s
`tt`.`pcong`:Copying 3 columns of 45 rows from table `hhp3_raw`.`pcong`
*** ERROR: `tt`.`pcong`:Not enough memory to allocate insert buffer of size 1073741824
`tt`.`pcong`:Finished copying 0 rows in 0m00s
Copy helper has finished

Data copy results:
- `tt`.`members` has FAILED (0 of 113000 rows copied)
- `tt`.`dihy3` has FAILED (0 of 71435 rows copied)
- `tt`.`dihy2` has FAILED (0 of 76038 rows copied)
- `tt`.`lcount` has FAILED (0 of 361484 rows copied)
- `tt`.`claims` has FAILED (0 of 2668990 rows copied)
- `tt`.`target` has FAILED (0 of 70942 rows copied)
- `tt`.`dcount` has FAILED (0 of 818241 rows copied)
- `tt`.`pg` has FAILED (0 of 17 rows copied)
- `tt`.`newdata` has FAILED (0 of 4287325 rows copied)
- `tt`.`pcong` has FAILED (0 of 45 rows copied)
0 tables of 10 were fully copied
Copy data to target RDBMS finished

Tasks finished with warnings and/or errors, view the logs for details

Finished performing tasks.

Migrate IBM DB2 (9.7) to MSQL (no replies)

$
0
0
Is there a Bug in our ODBC-SOurce Setup or in MySQL Workbench - How may I do a simple 1:1 (no views, triggers, stored procedures) DB2 to MySQL:

Workbench (5.2.42 CE) just tells Me the fllwing while trying to reverse engineer the DB:

Opening ODBC connection to DSN=gruppeodb;PWD=XXXX...

Connected

Reverse engineering GRUPPE from None

- Reverse engineering catalog information

- Preparing...

- Gathered stats for GRUPPE

*** WARNING: The schema GRUPPE was not found in the catalog None. Skipping it.

Traceback (most recent call last):

File "C:\Users\aba\Downloads\MySQL Workbench 5.2.42 CE\modules\db_generic_re_grt.py", line 281, in reverseEngineer

total_tables = sum(table_count_per_schema[schema.name] for schema in catalog.schemata)

File "C:\Users\aba\Downloads\MySQL Workbench 5.2.42 CE\modules\db_generic_re_grt.py", line 281, in <genexpr>

total_tables = sum(table_count_per_schema[schema.name] for schema in catalog.schemata)

KeyError: ''



Traceback (most recent call last):

File "C:\Users\aba\Downloads\MySQL Workbench 5.2.42 CE\modules\workbench\wizard_progress_page_widget.py", line 191, in thread_work

self.func()

File "C:\Users\aba\Downloads\MySQL Workbench 5.2.42 CE\modules\migration_schema_selection.py", line 160, in task_reveng

self.main.plan.migrationSource.reverseEngineer()

File "C:\Users\aba\Downloads\MySQL Workbench 5.2.42 CE\modules\migration.py", line 329, in reverseEngineer

self.state.sourceCatalog = self._rev_eng_module.reverseEngineer(self.connection, self.selectedCatalogName, self.selectedSchemataNames, self.state.applicationData)

SystemError: KeyError("('',)"): error calling Python module function DbGenericRE.reverseEngineer

*** ERROR: Reverse engineer selected schemata: KeyError("('',)"): error calling Python module function DbGenericRE.reverseEngineer

Failed

Bulk Data Transfer Fail (2 replies)

$
0
0
I am trying to migrate a SQL Server 2008 R2 to MySQL Server 5.5 using the new Migration feature of Workbench (Version 5.2.42 CE).

Even though the schema migration succeded, the bulk data transfer stops with no data coppied.

Using the wbcopytables program from command line, windows 7 reports an unexpected error.

Any ideas how to futher investigate that ?

Workbench 5.2. doesn't start (1 reply)

$
0
0
Hey Guys,
i installed Windows 7 64 Bit on my new Computer and installed Workbench 5.2 on it.
Now when I starts Workbench nothing will happend...
can every one help me?

Workbench > Mysqldbcopy --Need CREATE permission on Destination remote server (2 replies)

$
0
0
Hi Mysql Guru,

I have tried to copy one database from my local server to a remote server using Workbench > mysqldbcopy utility.
Command used :

mysqldbcopy databasetocopy:C--source=user1:pw1@localserver:3306 --destination=user2:pw2@remoteserver

I have an error message saying that the user user2 on the destination server does not have permissions to create all objects in copyofdatabasetocopy. User need CREATE privilege on copyofdatabasetocopy.

I checked that user2 have these permissions. It seems to have as I tested to log with it via phpAdmin and create a table in the copyofdatabasetocopy database... It worked fine !

Any idea Guru ?

Many thanks

Alban

Migrate a MS SQL server database to MySQL (1 reply)

$
0
0
I would like to know any mothod can migrate a MS SQL server database to MySQL.
Should I just run the SQL scripts from MS SQL server database?

Your information and help is great appreciated,

MySQL Workbench und Referenzen (no replies)

$
0
0
Hallo *,
bin ein Newbie im Bereich der Datenbanken. Ich möchte mit Hilfe von MySQL eine Datenbank erstellen die mir bei der Hausverwaltung behilflich ist. Hatte zunächst die verschiedenen Tabellen direkt auf der PHPmyAdmin Oberfläche editiert. Die Sache wurde mir schnell zu unübersichtlich und habe probiert die ganze Sache mit der Workbench aufzuziehen was im Prinzip auch recht gut funktioniert. Aktuell habe ich allerdings ein Verständnisproblem bei dem ich auf eure Hilfe hoffe.


Ich habe 2 Tabellen:

tbl_A:
Index A
attribute 1
attribute 2


tbl_B:
Index B
attribute 1
attribute 2
tbl_A.Index A <- Referenz!

#############################
Wenn ich die dritte Tabelle hinzufüge:

tbl_C:
Index C
attribute 1
tbl_B.Index B <- Referenz!

Wird beim Referenzieren von tbl_B automatisch die Referenz tbl_B_tbl_A.Index A

hinzugefügt!

Wenn das nun in meine Datanbank migriere dann muss ich diese automatische Referenz "von Hand" füllen obwohl sich der Zusammenhang eigentlich aus der Struktur ergibt. Was mache ich da falsch?

Ich hoffe mich einigermaßen verständlich ausgedrückt zu haben und freue mich auf Eure Aufklärung! ;-)

Butze










:?: [/img][/code]

DB migration scripts generated by synchronise model - big probs (no replies)

$
0
0
Hi people,

Hoping for some easy win here....

I work in a team so every now and then I have to do the house keeping on models an generate migration files for any schema changes.

I currently have a migration to run that has a significant number of instances where I change the data type of a field from INT(11) to INT(10) which references a field which I have also amended the data type accordingly.

When I run the migration however I get

------------------------
LATEST FOREIGN KEY ERROR
------------------------
120917 10:13:31 Error in foreign key constraint of table apollo/#sql-6fc_582:

FOREIGN KEY (`scheme_id` )
REFERENCES `apollo`.`tbl_limit_schemes` (`scheme_id` ),
ADD CONSTRAINT `fk_tbl_users_details_tbl_users1`
FOREIGN KEY (`user_id` )
REFERENCES `apollo`.`tbl_users` (`user_id` ):
Cannot find an index in the referenced table where the
referenced columns appear as the first columns, or column types
in the table and the referenced table do not match for constraint.
Note that the internal storage type of ENUM and SET changed in
tables created with >= InnoDB-4.1.12, and such columns in old tables
cannot be referenced by such columns in new tables.
See http://dev.mysql.com/doc/refman/5.5/en/innodb-foreign-key-constraints.html
for correct foreign key definition.

------------------------

If I place the tbl_limit_schemes alter statement before the alter statement of the table that references it then the error shifts on to the next instance (identical issue just different tables where I'm updating the referencing table first and the referenced table after) but as there are a large number of updates in this migration this is not really a practical solution.

I foreign key checks off prior to running migration and back on afterwards which I would love to think will ignore any structural differences until alter statements are complete.

ANY help or guidance would be very much appreciated.

If you need further info I will try and supply.

Thank you kindly.

Can MySQL Workbench work with MySQL 5.0.xx (no replies)

$
0
0
Hi, I'm still running MySQL 5.0.xx and would like to use MySQL Workbench.

Wondering if Workbench works with 5.0.xx

Thanks, Roupen N.

Migration from MySQL to MySQL (1 reply)

$
0
0
Hi,
I am a newbie to MySQL DB Administration. I've been given a task to migrate data from one MySQL DB to other. I don't have to migrate the schema as it's already in the other database.

Issue
1. Table schema in both the databases are different. I only need to migrate the data.

Please suggest me some good steps to accomplish this task.

Can MySQL Workbench accoplish this task??

Suren

Migrating Data from Windows server 2003 to 2008 (2 replies)

$
0
0
I am trying to migrate a large database we had stored on windows server 2003 to our new Windows server 2008. The syntax creates problems but doesn't spceifically say what needs changed when I try to restore. I can enter the INSERT commands into MySQL Query Browser one at a time and it works, but more than one command as it is in the restore file won't work and doing it one at a time would take months. How can I migrate the data ont the newer version used in WS2008 in a quick efficent way?
Viewing all 561 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>