سؤال

عندما أحاول تشغيل مجموعة أدوات الترحيل MySQL واجهة المستخدم الرسومية في Windows، أحصل على خطأ لا يتم تثبيت java.تم تثبيت Java، لكن مجموعة أدوات الترحيل لا تتعرف عليها.هل يعرف أي شخص كيفية حل هذه المشكلة؟

هل كانت مفيدة؟

المحلول

يجب عليك حقا تجربة معالج الترحيل الجديد الذي يأتي مع إصدارات Workbench MySQL الأخيرة.تم التخلص التدريجي من مجموعة أدوات الترحيل MySQL قبل عدة سنوات وليس تحت التطوير النشط.

للحصول على برنامج تعليمي حول معالج الترحيل إلقاء نظرة على re="nofollow"> كيفية إلى: دليل ترحيل قاعدة البيانات من Microsoft SQL Serverباستخدام MySQL Workbench .

نصائح أخرى

حسنا، من أجل العمل للعمل هو سهل حقا. انتقل إلى المجلد الذي قمت بتثبيت مجموعة أدوات الترحيل MySQL. اصنع اختصار E.G.إلى سطح المكتب الخاص بك من الملف القابل للتنفيذ mysqlmigrationtool.exe
ثم انقر بزر الماوس الأيمن فوق الاختصار الذي قمت بإنشائه فقط وعلى الهدف تعديله مثل هذا giveacodicetagpre.

E.G لتثبيتي مع jre1.8.0_45 كان giveacodicetagpre.

Anyway, if there's still somebody struggling with the MySQL Migration Toolkit and jre 1.8 I would suggest to stop bothering because after fixing the boot by setting the jvm.dll it fails performing the Reverse Engeneering step with this message:

    The schema could not be reverse engineered (error: 0).
ReverseEngineeringAccess.reverseEngineer :sun.jdbc.odbc.JdbcOdbcDriver
Details: 
java.net.URLClassLoader.findClass(Unknown Source)
java.lang.ClassLoader.loadClass(Unknown Source)
sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
java.lang.ClassLoader.loadClass(Unknown Source)
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Unknown Source)
com.mysql.grt.modules.ReverseEngineeringGeneric.establishConnection(ReverseEngineeringGeneric.java:84)
com.mysql.grt.modules.ReverseEngineeringAccess.reverseEngineer(ReverseEngineeringAccess.java:92)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
com.mysql.grt.Grt.callModuleFunction(Unknown Source)

I got the tool running and migrated most of the tables but is not happy with the result because many table creation failed. Still it is useful since I got the script so that I can edit it later. I used these versions

Migration Toolkit 1.0.25

IBM JRE 5.0 (I had this in system) - Had to set the JVM as mentioned by John.

Use Oracle JDBC driver for your database(12c ojdbc8) but it must be renamed to ojdbc14.jar and use.

Delete mysql-connector-java-3.1... files(3 files) from MySQL Migration Toolkit 1.0\java\lib and place mysql-connector-java-5.1.44.jar

Run the tool.

I used mysql_native_password for the MySQL user :- ALTER USER 'mysqluser'@'%' IDENTIFIED WITH mysql_native_password BY 'pass';

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top