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

Migration error on script view when changing target (no replies)

$
0
0
Hello,

Thank you for the integration of "Migration".

Thank you for the integration of Migration.
In step "Manual Edditing", it is really convenient to change the target schema name.
But in the case of query views, the migration script automatically adds references to the source, which causes an error.
For example:

Source MySQL Local on schema = Toga_dev1
CREATE
ALGORITHM = UNDEFINED
DEFINER = `root`@`localhost`
SQL SECURITY DEFINER
VIEW `facture_euro` AS
select
`i`.`idimplantation` AS `idimplantation`,
`m`.`time_by_day_idtime` AS `time_by_day_idtime`,
`m`.`valeur` AS `facture_value`
from
((((((`mesures` `m`
join `implantation` `i` ON ((`m`.`implantation_idImplantation` = `i`.`idimplantation`)));


Target MySQL Server on schema = Toga_dev8
USE `Toga_dev8`;

CREATE OR REPLACE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost`
SQL SECURITY DEFINER VIEW `Toga_dev1`.`facture_euro` AS
select `i`.`idimplantation` AS `idimplantation`,
`m`.`time_by_day_idtime` AS `time_by_day_idtime`,
`m`.`valeur` AS `facture_value`
from
((((((`Toga_dev1`.`mesures` `m`
join `Toga_dev1`.`implantation` `i` on((`m`.`implantation_idImplantation` = `i`.`idimplantation`))) ;


Is there an option or a solution to address this problem ?

Thank You

mysql-workbench crashing (no replies)

$
0
0
Hello All,

I have just installed mysql-workbench on openSUSE 12.2 from standard repos. It crashes everytime at boot up. This the message:


Code:
anooshr@linux-ri7f:~> mysql-workbench --verbose
** Message: Gnome keyring daemon seems to not be available. Stored passwords will be lost once quit
** Message: Trying to load module '/usr/lib64/mysql-workbench/modules/wb.model.grt.so' (cpp)
** Message: Trying to load module '/usr/lib64/mysql-workbench/modules/db.mysql.grt.so' (cpp)
** Message: Trying to load module '/usr/lib64/mysql-workbench/modules/wb.mysql.import.grt.so' (cpp)
** Message: Trying to load module '/usr/lib64/mysql-workbench/modules/text_grt.py' (python)
** Message: Trying to load module '/usr/lib64/mysql-workbench/modules/code_utils_grt.py' (python)
** Message: Trying to load module '/usr/lib64/mysql-workbench/modules/wb_doclib_grt.py' (python)
** Message: Trying to load module '/usr/lib64/mysql-workbench/modules/db.mysql.query.grt.so' (cpp)
** Message: Trying to load module '/usr/lib64/mysql-workbench/modules/db.mysql.sqlparser.grt.so' (cpp)
** Message: Trying to load module '/usr/lib64/mysql-workbench/modules/tools.grt.lua' (lua)
** Message: Initialized Lua module /usr/lib64/mysql-workbench/modules/tools.grt.lua (WbTools)
** Message: Trying to load module '/usr/lib64/mysql-workbench/modules/table_utils_grt.py' (python)
** Message: Trying to load module '/usr/lib64/mysql-workbench/modules/sqlide_grt.py' (python)
** Message: Trying to load module '/usr/lib64/mysql-workbench/modules/wb_utils_grt.py' (python)
** Message: Trying to load module '/usr/lib64/mysql-workbench/modules/db.mysql.sqlide.grt.so' (cpp)
** Message: Trying to load module '/usr/lib64/mysql-workbench/modules/wb_admin_grt.py' (python)
Warning! Can't use connect with timeout in paramiko 1.7.7.1 (George)
/bin/sh: ifconfig: command not found
** Message: Trying to load module '/usr/lib64/mysql-workbench/modules/catalog_utils.grt.lua' (lua)
** Message: Initialized Lua module /usr/lib64/mysql-workbench/modules/catalog_utils.grt.lua (WbUtils)
** Message: Trying to load module '/usr/lib64/mysql-workbench/modules/forms.grt.so' (cpp)
** Message: Trying to load module '/usr/lib64/mysql-workbench/modules/wb_dev_utils_grt.py' (python)
** Message: Trying to load module '/usr/lib64/mysql-workbench/modules/dbutils.grt.so' (cpp)
** Message: Trying to load module '/usr/lib64/mysql-workbench/plugins/wb.printing.wbp.so' (cpp)
** Message: Trying to load module '/usr/lib64/mysql-workbench/plugins/wb.model.editors.wbp.so' (cpp)
** Message: Trying to load module '/usr/lib64/mysql-workbench/plugins/db.checks.wbp.so' (cpp)
** Message: Trying to load module '/usr/lib64/mysql-workbench/plugins/db.mysql.wbp.so' (cpp)
** Message: Trying to load module '/usr/lib64/mysql-workbench/plugins/db.mysql.editors.wbp.so' (cpp)
** Message: Trying to load module '/usr/lib64/mysql-workbench/plugins/db.mysql.diff.reporting.wbp.so' (cpp)
** Message: Trying to load module '/usr/lib64/mysql-workbench/plugins/wb.model.snippets.wbp.so' (cpp)
Ready.


*** Segmentation fault
Register dump:


RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000003071838 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R8 : 0000000003071860 R9 : 0000000000000000
R10: 00007fffc086e7b0 R11: 00007f40a60941e0 R12: 0000000000000002
R13: 00007fffc086ecb0 R14: 00007f40a9d52790 R15: 00007fffc086ec01
RSP: 00007fffc086ea08


RIP: 00007f40a60941e0 EFLAGS: 00010202


CS: 0033 FS: 0000 GS: 0000


Trap: 0000000e Error: 00000004 OldMask: 00000000 CR2: 0000000c


FPUCW: 0000037f FPUSW: 00000020 TAG: 00007f40
RIP: a9437fff RDP: c086d5d8


ST(0) 0000 0000000000000000 ST(1) 0000 0000000000000000
ST(2) 0000 0000000000000000 ST(3) 0000 0000000000000000
ST(4) 0000 0000000000000000 ST(5) 0000 0000000000000000
ST(6) ffff 8000000000000000 ST(7) 0000 0000000000000000
mxcsr: 1fa0
XMM0: 00000000000000000000000000000000 XMM1: 00000000000000000000000000000000
XMM2: 00000000000000000000000000000000 XMM3: 00000000000000000000000000000000
XMM4: 00000000000000000000000000000000 XMM5: 00000000000000000000000000000000
XMM6: 00000000000000000000000000000000 XMM7: 00000000000000000000000000000000
XMM8: 00000000000000000000000000000000 XMM9: 00000000000000000000000000000000
XMM10: 00000000000000000000000000000000 XMM11: 00000000000000000000000000000000
XMM12: 00000000000000000000000000000000 XMM13: 00000000000000000000000000000000
XMM14: 00000000000000000000000000000000 XMM15: 00000000000000000000000000000000


Backtrace:
/usr/lib64/libxcb-glx.so.0(xcb_glx_query_server_string_string_length+0x0)[0x7f40a60941e0]
/usr/lib64/libGL.so.1(+0x41204)[0x7f40ab5e0204]
/usr/lib64/libGL.so.1(+0x22e42)[0x7f40ab5c1e42]
/usr/lib64/libGL.so.1(glXQueryVersion+0x19)[0x7f40ab5bdd89]
/usr/lib64/mysql-workbench/libmdcanvasgtk.so.0(_ZN3mdc21detect_opengl_versionEv+0x21)[0x7f40b09712c1]
/usr/bin/mysql-workbench-bin(_ZN2wb9WBContext19is_opengl_availableEv+0x40)[0x9f30d0]
/usr/bin/mysql-workbench-bin(_ZN2wb9WBContext24determine_opengl_supportEPNS_9WBOptionsE+0x1a)[0x9f97da]
/usr/bin/mysql-workbench-bin(_ZN2wb9WBContext5init_EPNS_19WBFrontendCallbacksEPNS_9WBOptionsE+0x10b1)[0xa067a1]
/usr/bin/mysql-workbench-bin(_ZN2wb11WBContextUI4initEPNS_19WBFrontendCallbacksEPNS_9WBOptionsE+0x30)[0x9d52d0]
/usr/bin/mysql-workbench-bin(_ZN7ProgramC1EN2wb9WBOptionsE+0x97f)[0x80a59f]
/usr/bin/mysql-workbench-bin(main+0x60c)[0x804d0c]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f40a8e7f455]
??:0(??)[0x807811]


Memory map:


00400000-00f16000 r-xp 00000000 08:06 1712694 /usr/bin/mysql-workbench-bin
01116000-01117000 r--p 00b16000 08:06 1712694 /usr/bin/mysql-workbench-bin
01117000-0111c000 rw-p 00b17000 08:06 1712694 /usr/bin/mysql-workbench-bin
...
7f40b35ff000-7f40b3600000 r--p 00000000 08:06 1586199 /usr/lib/locale/en_US.utf8/LC_TIME
7f40b3600000-7f40b3601000 r--p 00000000 08:06 1586198 /usr/lib/locale/en_US.utf8/LC_MONETARY
7f40b3601000-7f40b3602000 r--p 00000000 08:06 1575060 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
7f40b3602000-7f40b3603000 r--p 00000000 08:06 1727822 /usr/lib/locale/en_US.utf8/LC_PAPER
7f40b3603000-7f40b3604000 r--p 00000000 08:06 1727848 /usr/lib/locale/en_US.utf8/LC_NAME
7f40b3604000-7f40b3605000 r--p 00000000 08:06 1575277 /usr/lib/locale/en_US.utf8/LC_ADDRESS
7f40b3605000-7f40b3606000 r--p 00000000 08:06 1727802 /usr/lib/locale/en_US.utf8/LC_TELEPHONE
7f40b3606000-7f40b3607000 r--p 00000000 08:06 1727823 /usr/lib/locale/en_US.utf8/LC_MEASUREMENT
7f40b3607000-7f40b3608000 r--p 00000000 08:06 1576251 /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
7f40b3608000-7f40b360f000 r--s 00000000 08:06 1575016 /usr/lib64/gconv/gconv-modules.cache
7f40b360f000-7f40b3612000 rw-p 00000000 00:00 0
7f40b3612000-7f40b3613000 r--p 00021000 08:06 794506 /lib64/ld-2.15.so
7f40b3613000-7f40b3614000 rw-p 00022000 08:06 794506 /lib64/ld-2.15.so
7f40b3614000-7f40b3615000 rw-p 00000000 00:00 0
7fffc0835000-7fffc0872000 rw-p 00000000 00:00 0 [stack]
7fffc0912000-7fffc0913000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]

Error - Migrating from Oracle to MySql (Workbench 5.2) (no replies)

$
0
0
Hi everyone,

I'm trying to migrate a very small database from oracle to MySQL, but I have got a error, something with reverseEngineer, please see log below.

Any Help? Thanks!



Starting...

Connect to source DBMS...

- Connecting...

Connecting to ...

Opening ODBC connection to DSN=Oracle_XE...

Connected

Connect to source DBMS done

Reverse engineer selected schemata....

Connection to apparently lost, reconnecting...

Connecting to ...

Opening ODBC connection to DSN=Oracle_XE...

Connected

Reverse engineering PREVISAO from None

- Reverse engineering catalog information

Traceback (most recent call last):

File "C:\Program Files (x86)\MySQL\MySQL Workbench CE 5.2.44\modules\db_generic_re_grt.py", line 683, in reverseEngineer

return GenericReverseEngineering.reverseEngineer(connection, catalog_name, schemata_list, context)

File "C:\Program Files (x86)\MySQL\MySQL Workbench CE 5.2.44\modules\db_generic_re_grt.py", line 207, in reverseEngineer

catalog = cls.reverseEngineerCatalog(connection, catalog_name)

File "C:\Program Files (x86)\MySQL\MySQL Workbench CE 5.2.44\modules\db_generic_re_grt.py", line 358, in reverseEngineerCatalog

cls.reverseEngineerUserDatatypes(connection, catalog)

File "C:\Program Files (x86)\MySQL\MySQL Workbench CE 5.2.44\modules\db_generic_re_grt.py", line 331, in reverseEngineerUserDatatypes

for type_row in cls.get_connection(connection).cursor().getTypeInfo(catalog=catalog.name): # FIXME: there are duplicated names in this resultset

pyodbc.DataError: ('22003', '[22003] [Oracle][ODBC]Numeric value out of range. (0) (SQLGetData)')



Traceback (most recent call last):

File "C:\Program Files (x86)\MySQL\MySQL Workbench CE 5.2.44\workbench\wizard_progress_page_widget.py", line 191, in thread_work

self.func()

File "C:\Program Files (x86)\MySQL\MySQL Workbench CE 5.2.44\modules\migration_schema_selection.py", line 160, in task_reveng

self.main.plan.migrationSource.reverseEngineer()

File "C:\Program Files (x86)\MySQL\MySQL Workbench CE 5.2.44\modules\migration.py", line 332, in reverseEngineer

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

SystemError: DataError("('22003', '[22003] [Oracle][ODBC]Numeric value out of range. (0) (SQLGetData)')"): error calling Python module function DbGenericRE.reverseEngineer

ERROR: Reverse engineer selected schemata: DataError("('22003', '[22003] [Oracle][ODBC]Numeric value out of range. (0) (SQLGetData)')"): error calling Python module function DbGenericRE.reverseEngineer

Failed

Problems starting workbench in Fedora 17 (no replies)

$
0
0
Hi,
I have installed mysql-workbench through yum in Fedora 17 64bit when start it I get the following error :

/bin/catchsegv: line 58: //libexec/mysql-workbench-bin: No such file or directory

The routine for line 58 in /bin/catchsegv is as under

 # Redirect stderr to avoid termination message from shell.
(exec 3>&2 2>/dev/null
LD_PRELOAD=${LD_PRELOAD:+${LD_PRELOAD}:}/\$LIB/libSegFault.so \
SEGFAULT_USE_ALTSTACK=1 \
SEGFAULT_OUTPUT_NAME=$segv_output \
"$prog" ${1+"$@"} 2>&3 3>&-)
exval=$?

The file mysql-workbench-bin is located under /usr/libexec instead of //libexec

Can someone please help me fix it, I have very important assignment to do using workbench.

Thanks for your help.
Regards
Terry

Bulk Data Migration is getting hanged out - Please help... (no replies)

$
0
0
Hello,

I have downloaded MySql Workbench 5.2.44 and installed it on Ubuntu 10.04. I am trying to perform following operations although things are getting hanged out at last step 'Bulk Data Transfer'.

1) Mysql to Mysql db transfer.

2) Postgresql to Mysql db transfer.

I have also tried performing this operation from terminal but I am not seeing any error details on console that could help me in get going.

ashish@ashish-laptop:~/odb/testing1104$ mysql-workbench
Initializing AdvancedSidebar factory method
Initializing mforms factory
Creating WBOptions
Ready.

** Message: overview.home built-in command is being overwritten

I am trying to migrate around 850 tables in both the migration but could't get success.

Well I am able to establish connection in first and second case. In second case I have established connection with the help of odbc with the postgres source database.

Just so you know that if I am migrating small database lets say in both the cases mentioned above if db contains less tables lets say 1 table then both the migrations are working fine for me.

Am I missing some additional configuration here? that is needed when we are trying to perform migration of such a huge db.

Please let us know if additional information is needed here.

--
Kind Regards
Ashish Vijaywargiya

Newbie needs help transferring data (no replies)

$
0
0
I am working on a java program for school that has a backend MySQL database. I was pro vided with a template to use for database called reqistrar.sql that I copied over to the bin folder for MySQL (C:\Program Files (x86)\MySQL\MySQL Server 5.1\bin).
My question is, once that I have added data into my program, is this template what I need to copy with my program, or is there something else that I have to do to transfer the data for my program so that the grader can see that I have performed the tests required to prove my program works?

MySQL Workbench 5.2.45: Upgrade from MySQL Administrator, MySQL Query Browser (no replies)

$
0
0
MySQL Workbench 5.2.45: Upgrade from MySQL Administrator, MySQL Query Browser
http://mysqlworkbench.org/2012/12/mysql-workbench-5-2-45-ga-released/

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


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

Error occured when "reverse engineer selected schemata" for PostgreSQL 9.2.2 (3 replies)

$
0
0
Hi,

When I tried migrating data stored on PostgreSQL with the version 9.2.2 to MySQL, I got the following error at the step of "Reverse engineer selected schemata" for both 5.2.45 and 5.2.44 on Mac OS 10.6.8:

Starting...
Connect to source DBMS...
- Connecting...
Connecting to ...
Opening ODBC connection to DSN=LocalPostgreSQLDB...
Connected
Connect to source DBMS done
Reverse engineer selected schemata....
Reverse engineering public from cssmetaselector
- Reverse engineering catalog information
- Preparing...
- Gathered stats for public
Reverse engineering tables from public
- Retrieving table public.static...
Traceback (most recent call last):
File "/Applications/MySQLWorkbench.app/Contents/PlugIns/db_postgresql_re_grt.py", line 335, in reverseEngineer
return PostgresqlReverseEngineering.reverseEngineer(connection, catalog_name, schemata_list, context)
File "/Applications/MySQLWorkbench.app/Contents/PlugIns/db_generic_re_grt.py", line 257, in reverseEngineer
cls.reverseEngineerTables(connection, schema)
File "/Applications/MySQLWorkbench.app/Contents/PlugIns/db_generic_re_grt.py", line 393, in reverseEngineerTables
cls.reverseEngineerTableIndices(connection, table)
File "/Applications/MySQLWorkbench.app/Contents/PlugIns/db_postgresql_re_grt.py", line 114, in reverseEngineerTableIndices
index_rows = cls.execute_query(connection, all_indices_query).fetchall()
File "/Applications/MySQLWorkbench.app/Contents/PlugIns/db_generic_re_grt.py", line 56, in execute_query
return cls.get_connection(connection_object).cursor().execute(query, *args, **kwargs)
pyodbc.Error: ('ODBC data type 1111 is not supported. Cannot read column indkey.', 'HY000')

Traceback (most recent call last):
File "/Applications/MySQLWorkbench.app/Contents/Resources/libraries/workbench/wizard_progress_page_widget.py", line 191, in thread_work
self.func()
File "/Applications/MySQLWorkbench.app/Contents/PlugIns/migration_schema_selection.py", line 160, in task_reveng
self.main.plan.migrationSource.reverseEngineer()
File "/Applications/MySQLWorkbench.app/Contents/PlugIns/migration.py", line 332, in reverseEngineer
self.state.sourceCatalog = self._rev_eng_module.reverseEngineer(self.connection, self.selectedCatalogName, self.selectedSchemataNames, self.state.applicationData)
SystemError: Error("('ODBC data type 1111 is not supported. Cannot read column indkey.', 'HY000')"): error calling Python module function DbPostgresqlRE.reverseEngineer
ERROR: Reverse engineer selected schemata: Error("('ODBC data type 1111 is not supported. Cannot read column indkey.', 'HY000')"): error calling Python module function DbPostgresqlRE.reverseEngineer
Failed

The error above does not give my any clue. It'll be most appreciated if someone can help me with this.

All the best

Xi

cannot select checkbox of column on a foreign key (no replies)

$
0
0
cannot select checkbox of column on a foreign key

i have two tables

one its called users the other clients

i have created a foreign key on clients and referenced table users

but on the chekbox does not let select the column uid

is this a bug ?

MySQL workbench crashing on migration (no replies)

$
0
0
I'm trying to migrate data directly into MySQL as an initial phase towards moving to a sane database. However, in setting up the migration wizard, it keeps crashing when it reaches the 'reverse engineer selected schema'.

I am connecting to the source database via ODBC. The source database is Intuit's Quickbase and I am connecting via QuNect ODBC.

Can anyone point me in the direction of a workaround or fix for this?

Log-dump is as follows:
Problem signature:
Problem Event Name: APPCRASH
Application Name: MySQLWorkbench.exe
Application Version: 5.2.46.10385
Application Timestamp: 51088952
Fault Module Name: grt.dll
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 51087ab8
Exception Code: c0000005
Exception Offset: 00003cd5
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 3081
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Oracle to Mysql migration (1 reply)

$
0
0
Hi, This problem has been reported numerous times and when asked if its a bug users have been ignored. When asked does the Migration tool support Oracle again no answer. The person who has dealt most with these problems is developer Sergio but I would like to know what the solution is to the problem below even if its a bug that will be fixed in the next release.




Starting...

Connect to source DBMS...

- Connecting...

Connecting to ...

Opening ODBC connection to DSN=C5LOCAL...

Connected

Connect to source DBMS done

Reverse engineer selected schemata....

Connection to apparently lost, reconnecting...

Connecting to ...

Opening ODBC connection to DSN=C5LOCAL...

Connected

Reverse engineering C5NW from None

- Reverse engineering catalog information

Traceback (most recent call last):

File "C:\Program Files (x86)\MySQL\MySQL Workbench CE 5.2.46\modules\db_generic_re_grt.py", line 683, in reverseEngineer

return GenericReverseEngineering.reverseEngineer(connection, catalog_name, schemata_list, context)

File "C:\Program Files (x86)\MySQL\MySQL Workbench CE 5.2.46\modules\db_generic_re_grt.py", line 207, in reverseEngineer

catalog = cls.reverseEngineerCatalog(connection, catalog_name)

File "C:\Program Files (x86)\MySQL\MySQL Workbench CE 5.2.46\modules\db_generic_re_grt.py", line 358, in reverseEngineerCatalog

cls.reverseEngineerUserDatatypes(connection, catalog)

File "C:\Program Files (x86)\MySQL\MySQL Workbench CE 5.2.46\modules\db_generic_re_grt.py", line 331, in reverseEngineerUserDatatypes

for type_row in cls.get_connection(connection).cursor().getTypeInfo(catalog=catalog.name): # FIXME: there are duplicated names in this resultset

pyodbc.DataError: ('22003', '[22003] [Oracle][ODBC]Numeric value out of range. (0) (SQLGetData)')



Traceback (most recent call last):

File "C:\Program Files (x86)\MySQL\MySQL Workbench CE 5.2.46\workbench\wizard_progress_page_widget.py", line 192, in thread_work

self.func()

File "C:\Program Files (x86)\MySQL\MySQL Workbench CE 5.2.46\modules\migration_schema_selection.py", line 160, in task_reveng

self.main.plan.migrationSource.reverseEngineer()

File "C:\Program Files (x86)\MySQL\MySQL Workbench CE 5.2.46\modules\migration.py", line 332, in reverseEngineer

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

SystemError: DataError("('22003', '[22003] [Oracle][ODBC]Numeric value out of range. (0) (SQLGetData)')"): error calling Python module function DbGenericRE.reverseEngineer

ERROR: Reverse engineer selected schemata: DataError("('22003', '[22003] [Oracle][ODBC]Numeric value out of range. (0) (SQLGetData)')"): error calling Python module function DbGenericRE.reverseEngineer

Failed

Migrating from Oracle to MySQL using WorkBench Migration Tool (no replies)

$
0
0
Hi,

I am currently migrating from oracle to mysql and i am going to use the migration tool in workbench to help me with the procedure, i have entered my source connection details as follows

Database System: Generic RDBMS
Connection Method: ODBC(Manually Entered parameters)
Driver:Oracle RDB driver
Hostname: 127.0.0.1 Port:1521
Username: user
Database:db

But i seem to be receiving the following error when testing the connection.

ERROR: Error during Connect to source DBMS: Error("('HY093', '[HY093] [Oracle][ODBC]
[Rdb]Invalid parameter number. (-2000) (SQLDriverConnect);

[HY093] [Oracle][ODBC][Rdb]Invalid parameter number. (-2000)')"):
error calling Python module function DbGenericRE.connect

I am struggling to figure out what parameter is wrong, any one have an idea what could be causing this?

Thanks.

Migrating from 5.1.44 (no replies)

$
0
0
Migrating from 5.1.44 to 5.6.10 same query returns null. Maybe some timeout expires?

MySQL Workbench Migration Invalid Column Name for some tables (no replies)

$
0
0
I've been trying to Migrate from SQL Server to MySQL.

I've only partly succeeded. While some tables were created and data copied, some were only created but the data not copied.

I checked the logs, and for those tables the error was below, this was for each column in a particular table.

2207:[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name 'OrderID'.

Am I missing something?

Please note, some of the tables hold as many as 40,000+ rows, some 6 or so.

Any help will be appreciated.

Questions about migrating from MySQL 4.1 to latest community version on Windows XP (no replies)

$
0
0
Hi

I had an old XP m/c that had Ver4.1 on it. I had to rebuild this recently and hence lost the MySQL installation. I still have the data. My questions are:

1. If I install the latest community version and point it at the old data will it automatically be able to read the data? I don't have any data dumps.

2. If it won't automatically read the data then is there anyway of upgrading the data?

Thanks in advance

Purvez

P.S. I tried this question in the Newbie forum but no takers. Hopefully get some response here. Thanks

Postgresql -> MySql: Empty Schema Selection (no replies)

$
0
0
Dear all,

Iam trying to migrate my postgresql database to my mysql database.For that Iam using MySQL Workbench. After the source and target selection he didn't fetch a schemata list. On the "Schemata Selection" Page the List is empty.

What could be the reason for that? I didnt see any option could influence that.

making a backup of my mySQL database (no replies)

$
0
0
Hi there- I have downloaded MySQl installer and it included my sql for excel. I have an excel database with about 7-10 worksheets which will be separate tables in the database. I setup a connection and used 'create database' to create a database, I have used mysql for excel and it imported the tables fine.

However now I need to create a copy of the database to send to someone. How can I do this? Is it mysqldump? Or is there a simple way to do this
thanks Craig

about MySQL migration etc (1 reply)

$
0
0
Hi all

1)
OS Ubuntu 12.04 desktop 64bit
2)
OS Fedora 18 desktop 64bit

migrating MySQL from 1) to 2) same version

I found many suggestions on Internet re migrating database and unable to ascertain the easiest way on its migration. Please advise. TIA

Besides on running following commands;

mysql> SHOW databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| performance_schema |
| test |
| aaa |
| bbb etc |
+--------------------+

mysql> USE aaa;

mysql> SHOW tables;
+-----------------------+
| Tables_in_aaa |
+-----------------------+
| 111 |
| 222 |
| 333 |
| 444 etc |
+-----------------------+

mysql> SELECT * FROM aaa;
+----+-------------+---------------------+---------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------+--------------+-------------+----------------+-------------+---------------+------------------

Whether above indicates that there is no data/entry on the database?

mysql> SHOW columns from 222;
+-----------------------+---------------------+------+-----+---------------------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------------------+---------------------+------+-----+---------------------+----------------+
| ID | bigint(20) unsigned | NO | PRI | NULL | auto_increment |
| xxx | bigint(20) unsigned | NO | MUL | 0 | |
| yyy | datetime | NO | | 0000-00-00 00:00:00 | |
| zzz etc | datetime | NO | | 0000-00-00 00:00:00 | |
+-----------------------+---------------------+------+-----+---------------------+----------------+

What command shall I run to display the columns and their content in readable form?

Thanks

SL

Migrating DUMP file of 4.2 into latest version (1 reply)

$
0
0
Hi guys
I have found some posting related to that but this is problem in my case to follow upgrade step by step. I have DUMP file from old version.
Is there any conversion rutine to prepare it for new version?
I have more then 4MB file and it will be problem to rewrite it by hand.

Thanks for any hint

Petr

MSSQL2008 -> MySQL via migration wizard - space in database name (2 replies)

$
0
0
Trying to migrate an existing MsSQL2008 to MySQL 5.5
I am able to connect to both servers.

I get to the 'Reverse Engineer Source', and get an error message.

Here is the important part of the error message:

...
Reverse engineer selected schemata....
Reverse engineering dbo from Project Connect
- Reverse engineering catalog information
- Reverse engineering User Data Types...
- Preparing...

...

pyodbc.Error: ('08004', "[08004] [Microsoft][ODBC SQL Server Driver][SQL Server]Database 'Project' does not exist. Make sure that the name is entered correctly. (911) (SQLExecDirectW)")

...

As you can see, the database has a space in the name, which the migration wizard doesn't agree with.

Is there any workaround for this issue? I would really like to work with this database in mysql workbench.

Thank you

Patrick
Viewing all 560 articles
Browse latest View live


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