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

workbench encode migration problem. HELP (7 replies)

$
0
0
Hello guys, Argentinian Developer here. I really need help so im hopping you help me with this..

im using this post as last chance since i've spent more than 2 days trying to find a workaround with no luck.

MY GOAL:

To migrate a SQL SERVER DataBase with data to a MySQL version using Workbench


THE CONTEXT:

DB source is on a Microsoft SQL Server Developer Edition. version: 9.00.1399.06

Server Collation is set to SQL_Latin1_General_CP1_CI_AS

I've changed the DB i wanna migrate to Modern_Spanish_CI_AS

In the other hand.. i have MySQL server 5.5.24 version.

So.. i installed MySQL Workbench 5.2.47 in my Windows 7 Ultimate 64bits


THE PROBLEM:

If i go normal way with Migration Wizard it uses Utf8_general_ci to replicate the schema and do bulkcopy so all my string columns are cutted as soon as they find a "spanish" character.

Example:

Mi cabeza tiene un moño rojo -> Mi cabeza tiene un mo


WHAT I'VE TRIED WITHOUT SUCCESS:


I've managed to get the complete strings editing manually the MySQL collation from where objects are made. that's in the first step, the schema replication.

So i've simply replaced utf8_general_ci with latin1_spanish_ci so all my DB and tables are now in a different collation when the schema is made.

but after the bulkcopy now my strings are converted as follows:

Mi cabeza tiene un moño rojo -> Mi cabeza tiene un mo?o rojo

(same happens with áéíóú etc, etc.)


My guess is i gotta change the encode workbench is using to migrate data since if i read the log after proccessing it says it used utf8_general_ci to transfer data (even when i change the schema object collations from manual editing)

I read the workbench manual and it says something about that but the information is so old, those files .PDF are telling me to edit dont event exist anymore !

Im pretty sure im not the only one trying to find a quick way to solve this. So you'll be helping a bunch of people !

Thanks and regards

MySQL Workbench 6.0 is GA (no replies)

$
0
0
MySQL Workbench 6.0 is GA
- https://blogs.oracle.com/MySQL/entry/mysql_workbench_6_0_new
- http://mysqlworkbench.org/2013/08/mysql-workbench-6-0-6-ga-released/
- http://mysqlworkbench.org/2013/06/mysql-workbench-6-0-whats-new/
- http://mysqlworkbench.org/2013/06/mysql-workbench-6-0-home-screen/

WB 6.0 includes:
- Model (upgrade from DBDesigner)
- Query (upgrade from MySQL Query Browser)
- Admin (upgrade from MySQL Administrator)
- Migration (upgrade from MySQL Migration Toolkit)
- SSH-Tunnel

Resources:
- Downloads: http://dev.mysql.com/downloads/workbench/
- Forums: http://forums.mysql.com/index.php?151
- Blogs: http://mysqlworkbench.org/

workbench encode migration problem. HELP (7 replies)

$
0
0
Hello guys, Argentinian Developer here. I really need help so im hopping you help me with this..

im using this post as last chance since i've spent more than 2 days trying to find a workaround with no luck.

MY GOAL:

To migrate a SQL SERVER DataBase with data to a MySQL version using Workbench


THE CONTEXT:

DB source is on a Microsoft SQL Server Developer Edition. version: 9.00.1399.06

Server Collation is set to SQL_Latin1_General_CP1_CI_AS

I've changed the DB i wanna migrate to Modern_Spanish_CI_AS

In the other hand.. i have MySQL server 5.5.24 version.

So.. i installed MySQL Workbench 5.2.47 in my Windows 7 Ultimate 64bits


THE PROBLEM:

If i go normal way with Migration Wizard it uses Utf8_general_ci to replicate the schema and do bulkcopy so all my string columns are cutted as soon as they find a "spanish" character.

Example:

Mi cabeza tiene un moño rojo -> Mi cabeza tiene un mo


WHAT I'VE TRIED WITHOUT SUCCESS:


I've managed to get the complete strings editing manually the MySQL collation from where objects are made. that's in the first step, the schema replication.

So i've simply replaced utf8_general_ci with latin1_spanish_ci so all my DB and tables are now in a different collation when the schema is made.

but after the bulkcopy now my strings are converted as follows:

Mi cabeza tiene un moño rojo -> Mi cabeza tiene un mo?o rojo

(same happens with áéíóú etc, etc.)


My guess is i gotta change the encode workbench is using to migrate data since if i read the log after proccessing it says it used utf8_general_ci to transfer data (even when i change the schema object collations from manual editing)

I read the workbench manual and it says something about that but the information is so old, those files .PDF are telling me to edit dont event exist anymore !

Im pretty sure im not the only one trying to find a quick way to solve this. So you'll be helping a bunch of people !

Thanks and regards

MySQL Workbench 6.0 is GA (no replies)

$
0
0
MySQL Workbench 6.0 is GA
- https://blogs.oracle.com/MySQL/entry/mysql_workbench_6_0_new
- http://mysqlworkbench.org/2013/08/mysql-workbench-6-0-6-ga-released/
- http://mysqlworkbench.org/2013/06/mysql-workbench-6-0-whats-new/
- http://mysqlworkbench.org/2013/06/mysql-workbench-6-0-home-screen/

WB 6.0 includes:
- Model (upgrade from DBDesigner)
- Query (upgrade from MySQL Query Browser)
- Admin (upgrade from MySQL Administrator)
- Migration (upgrade from MySQL Migration Toolkit)
- SSH-Tunnel

Resources:
- Downloads: http://dev.mysql.com/downloads/workbench/
- Forums: http://forums.mysql.com/index.php?151
- Blogs: http://mysqlworkbench.org/

migration fails when target fields renamed: "Invalid Column Name" (1 reply)

$
0
0
Hi all,

I've been pulling out my hair on this one; it SEEMS like it should work.

I'm migrating data from an old SBS2003 box running SQL Server 2005, to a new Win7 machine running MySQL Community Server (GPL) version: 5.5.24-log - Protocol version: 10.

Original DB has several table, including one named "CD_Music_Library". It included columns called "CD/TRK" and "Track#". Which are not valid column names for MySQL. I used the "Manual Editing" step to edit the "Target Object" in the "All Objects" view. I also edited the "Target Column" in the "Column Mappings" view. In both views, I renamed the target columns "CD_TRK" and "Track_Num".

All goes well, until I get to the "Bulk Data Transfer" step. Then it fails, as below:


Copy data to target RDBMS....
Migrating data...
wbcopytables.exe --odbc-source="DRIVER={SQL Server};SERVER=corp02\SQLEXPRESS;DATABASE={};UID=" --target="root@127.0.0.1:3306" --progress --passwords-from-stdin --log-level=debug3 --thread-count=2 --table-file=c:\users\xxx\appdata\local\temp\tmphuvwga
\users\xxx\appdata\local\temp\tmphuvwga

ERROR: `MusicDB`.`CD_Music_Library`:SQLExecDirect(SELECT [ARTIST], [SONG TITLE], [STYLE], [TEMPO], [TIME], [CD_TRK], [Track_Num], [COLOR CODES], [GENDER], [REF], [REG], [AutoNum], [Date] FROM [MusicDB].[dbo].[CD_Music_Library]): 42S22:1207:[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name 'CD_TRK'.
2207:[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name 'Track_Num'.

- `MusicDB`.`CD_Music_Library` has FAILED (0 of 16865 rows copied)


Any Ideas? from reading the logs, it sounds like the actual worker thread doesn't see the mapping. However, I don't know enough about it to know what to do next.
:(

I'm hoping that the geniuses on this board can give me a tip in the right direction!

Seems similar to [url]http://bugs.mysql.com/bug.php?id=68146[/url] but I don't have 100+ columns in the tables; only 10-20. There are 9000 rows in the table, but not many columns.

Thanks!!

Different Hosts, Different Schemas, Migration Help Needed (3 replies)

$
0
0
I need to transfer the contents of a schema on one host to a different schema on a second host. I do not have the option to create or rename a schema. All migration tools I have attempted will only export schema and all and attempt to create this database on the new host.

The one utility I've located so far that will transfer tables and data from old host to new host with different schema names is mysqldbcopy, however it returns an error that the source is running an old version. The version they are running is beyond my control.

Can anyone tell me what utility I can use and how to go about it?

Nvarchar- sql server to Varchar - mysq (2 replies)

$
0
0
I have been trying to use the migration toolkit in mysql workbench V6 to generate a schema from my sql server database. I am finding that for columns defined as nvarchar in sql server the toolkit generates a varchar column of twice the length in mysql even though the corresponding mysql column is utf8.

e.g a sqlserver NVARCHAR(255) is generating a VARCHAR(510) column in mysql. As the mysql column is utf8 this should only have a length of 255 matching the sqlserver column.

Please can you clarify whether my understanding is correct and that the column lengths generated are incorrect or provide an explanation for this?

Thanks

Kevin

MySQL in SCaVis (1 reply)

$
0
0
Hallo,


I would like to conect the MySQL Databank to SCaVis directly without the use of java in order to represent data in diagrams directly from the database without use of java. Is it possible to do so? Or can I do so with having problems? Are there any constraints if I would like to do so or difficulties?

thank you in advance

Add Tables to Existing MYSQL database with Workbench (2 replies)

$
0
0
Dear All,

I migrated an MSSQL database to MYSQL using Workbench 6. I would like to be able to add more files without having to migrate the whole database again. Is there an option to add files? If I just select a single file in migration, then the MYSQL database is replaced with just that one file.

Thank you!

Lyle

Data Migration (1 reply)

$
0
0
The MySql Workbench Migration Wizard works great. Is there a was to schedule the command it generates ? Preferrably from cron (unix) but also from the Windows Task Scheduler ? (if not directly from the mysql workbench). if it can be done and you have an example, that would be very helpful ! thanks.

Which version of MySQL is Opensource? (1 reply)

$
0
0
Hi All,

I would like to install MySQL, which is open source. I don't have idea about which version. Anyone please send me link to download, which is compatable with Microsoft Visual Studio 2013.

I'm open for suggestions and thanks in advance.

Regards,
V Venkateswarlu

MySQL online database for 5 users (1 reply)

$
0
0
I created a pretty simple database that I'm planning to convert to MySQL using WorkBench. It has 1 Table and 2 Forms.

What I'm trying to do is have an online database that 5 users located in different cities can access and edit the database. All the data was to be stored in one table hosted on Microsoft 365, and the Front End (2 Forms) would be installed on each person's computer to be able to add information to the Table stored online.

I was going to use Microsoft Access database and split the database, but I don't want to pay Microsoft $10/month/user for this capability.

Is there a free or cheap (<$10/month) way to do this? I'm obviously brand new to MySQL and looking for a way to do this. I don't mind buying a harddrive to store it on at our office, but employees at our other location need to be able to work on it, which is why I was hosting it online to begin with.

Pentaho design report (3 replies)

$
0
0
I am running this error " Parameters provide for this report are not valid". View has been created using mysql workbench and is executing well from my database called "test". What is the problem here?

Migration skips all views and stored procedures (6 replies)

$
0
0
Did I miss this in the documentation? Workbench clearly knows about views and stored procedures in my MS SQL DB, but when I went to migrate the DB it created commented code for those structures and did not migrate them. The syntax looks different from MS SQL to MySQL, but I thought Workbench would take care of that. There are too many 400+ of each to even think about doing these one-by-one. How can I migrate these?

How to import ODBC datasource in MYSQL (3 replies)

$
0
0
I have created ODBC data-source to access filemaker data-source. Now I want to import this data-source into MYSQL.How to add ODBC data-source into MYSQL ?If no then whats another options are available ?

5.0.51a-3ubuntu5.4-log (1 reply)

$
0
0
Hi:

I need help with the following issue.

I need to migrate data bases from 5.0.51a-3ubuntu5.4-log to 5.5.20-log MySQL Community Server (CentOs). there is a known compatibility issue?

Tks for ur help.

How to install ODBC driver using "Open ODBC Administrator" mentu (7 replies)

$
0
0
Hi,

I am using MySQL Workbench 6.2.5 commercial with CentOS 6.6 trying to perform
tables and data migration from SQL SErver 2008 to MySQL 5.6.23.

In order to do that I need to install ODBC driver. I was able to compile the
iODBC driver according to the MySQL Workbench documentation on the page:
http://dev.mysql.com/doc/workbench/en/wb-migration-database-mssql-drivers-linux.html

Now I have to install the driver using Workbench, but I could not find documentation describing how to do that.
I tried to use Workbench's "Open ODBC Administrator" menu for that, but it has a lot of different options,
so I am not sure what commands and menues I suppose to use.

Could you help me with the installation of ODBC driver using "Open ODBC Administrator" menu?

Thank you,

Jacob Nikom

Null values in csv file with insert data (1 reply)

$
0
0
Hi,

if I want import csv file with null values into the Workbench, it is big deal for trained monkey to set all cells to null, because all null values are inserted as 'NULL'. Csv import not support null value in insert (I understand, it is string NULL in csv). But either It is not possible to select multiple cells and change it to null.

Any solution to set any string in csv or anything else which workbench accept as null and not 'NULL'?

Very thanks for reply.

Ondrej

Arabic characters converted to "???????????" (3 replies)

$
0
0
Hi,
I have a sql server database which contains Arabic characters using UTF8. However, I decided to migrate my data from SQL Server to MySQL .
MySQLWorkbench migrated my database perfectlly but the Arabic characters converted to "?????????????????".

my project might be declined because of this , so please help

Why 64 bit MySQL installer installs 32 bit workbench (4 replies)

$
0
0
Hi all, I had downloaded 64 bit mysql-installer-community-5.6.15.0.msi.

But when I install it, only the MySQL server, C++, C and ODBC connectors where installed as 64 bit version inside c:\program files\MySQL... but other components like workbench and connectors like .net, Java, MySQL for Excel, visual studio were installed as 32 bit version inside c:\program files(x86)\MySQL....

Write now I'm not bothered about others but why the workbench has installed as 64 bit? It didn't even ask for which bit of workbench has to be installed.

Thank you.
Viewing all 561 articles
Browse latest View live


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