bulk data transfer step of mysql workbench - mysql

I am trying to migrate a database from Microsoft SQL Server 2008 to a local mysql database.Although the tool is able to migrate schema and table,it fails at the time of bulk data transfer.
my database name is university and my log show below message
13:42:11 [INF][copytable]: Connecting to MySQL server at 127.0.0.1:3306 with user root
13:42:11 [INF][copytable]: Connection to MySQL opened
13:42:11 [INF][copytable]: Re-enabling triggers for schema 'university'
13:42:11 [INF][copytable]: No triggers found for 'university'
what should i do? please help me.

Related

Amazon RDS: Automatically Changing Replication Role During Import

I created an RDS instance on AWS (Aurora MySQL with replication). When I start importing an SQL file into the database I get an error message ERROR 2013 (HY000) at line 2805: Lost connection to MySQL server during query and AWS changes the replication role from writer to reader.
Is there a way to disable changing of the replication role during import or some other way to fix it?

Cant connect to Azure MySQL through MySQL workbench

I have set up an Azure SQL server and database. In the dashboard, I am selecting the SQL Database to copy the server name (xxxxxx.database.windows.net).
I am creating a new connection in MySQL workbench and putting this servername as host.
The port I am putting is 1433.
After entering username and password, I am testing the connection. I am getting the following error, as the connection is not getting established between my database/server on Azure and workbench. The error is:
Lost connection to MySQL server at 'reading initial communication packet', system error:104
Any suggestions on making me understand why is it happening and how can the connection be made will be highly appreciated.
Your post is confusing, are you using Azure SQL Database or Azure Database for MySQL? The name format "xxxxxx.database.windows.net" is for Azure SQL Database, which you should not use MySQL workbench to connect. I'd suggest you switch to SSMS and try again.

Connecting AWS MySQL database as a linked server in SQL Server 2012

I've set up a System DSN to the MySQL database and the connection is okay when I test it. When I set up a linked server using that DSN it connects and I can see the catalog and tables but when I try to query it, I get an error that says "contains no columns that can be selected or the current user does not have permissions on that object". When I use the same settings to connect through MySQL Workbench it works and I can query the data. Any ideas?
Thanks.
Make sure that the service account has permissions.

SQlite to MySQL migration for Seafile Server

I have successfully got Seafile Server fully working with HTTPS.
However I'm trying to migrate from SQLite to MySQL and everytime I try, the seafile server stops working.
I'm not sure what information to put here that yous will need but happy to provide what ever you need.
I followed this guide Deploy Seafile Windows Server With MySQL
Its really frustrating, I dont understand why its not working. I also installed MySQL Workbench and I can see the seafile user with privileges and the databases populated with the tables.
Are there any messages in the logs?
Please look at the logs in /seafile/logs/
You will see an error message in seafile.log if you have problems with MySQL.
For example:
../common/seaf-db.c(123): Failed to get database connection:
Failed to connect to MySQL: Can't connect to MySQL server on '127.0.0.1' (107).
http-server.c(761): DB error when check repo existence.
Disconnected from daemon
I have done such migration already and it did work without problems.

Setting up Liquibase with MS-SQL Server

I am utilising Liquibase (www.liquibase.org) into our MVC3 SQL Server 2008 project to manage database migration/changes. However I'm stumbling on the first hurdle: Connecting to Microsoft SQL Server instance.
I am looking at the quick start tutorial on the liquibase site, but exchanging the mysql for sql server DB
I run this command:
liquibase --driver=sqljdbc.jar --changeLogFile="C:\Temp\ChangeLog.xml" --url="jdbc:sqlserver://localhost;databaseName=test" --username=user --password=pass migrate
And receive this error:
Liquibase Update Failed: Cannot find database driver: sqljdbc.jar
I have tried adding --classpath pointing to the sqljdbc driver with no luck.
How can I create or update an MS-SQL Server database with liquibase?
Create a properties file called liquibase.properties containing the following:
classpath=C:\\Program Files\\Microsoft SQL Server 2005 JDBC Driver\\sqljdbc_1.2\\enu\\sqljdbc.jar
driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
url=jdbc:sqlserver://localhost:1433;databaseName=test
username=myuser
password=mypass
changeLogFile=C:\\Temp\\ChangeLog.xml
liquibase will use this file when located in the same directory. Useful to simplify the command-line.
Database is updated as follows:
liquibase update
Notes:
I'm not a SQL server user, I picked up the JDBC driver and URL details from Microsoft doco
The "migrate" command has been deprecated.