How to create MySQL data connection in Pentaho Server - mysql

I have installed the enterprise edition of Pentaho BA server and I need to create a MySQL Data source. For that, I have to create a new database connection. But under the Database types, it doesn't show MySQL as a database type. How to add MySQL database type for that. Can someone help here?

Please note that this is a community forum. It seems the fundamentals remain the same for community and enterprise editions, though.
In Pentaho community edition you will get a link below database name for adding any new databases that are not in the list of available types. You have to add the jdbc database driver jar file under "biserver-ce\tomcat\lib" and restart the server. The new database type should appear in the list.

Related

Creating custom MySQL servers in VB.NET at runtime

I was wondering if it is possible to create custom MySQL servers in VB.NET while working in visual studio at runtime so that if the server already exists it connects and if it isn't there, the code creates the server. I have searched for this everywhere but couldn't find anything. I would appreciate it a lot if someone guides me to the right path.
You could certainly write some .net code to start a MySQL server on your Windows box when an attempt to connect fails. You simply get a cmd.exe console with administrator privileges and give the command net start mysql.
But MySQL must already be installed on the box for that to work.
You might investigate Sqlite. It provides SQL locally to a .net program, storing your tables in a file called whatever.db. It has very similar .net API access to MySQL's Connector/Net and SQL Server's connector. It's in a NuGet package.
I don't completely understand your "custom MySQL servers" requirement. Sqlite gives you a way to use SQL in your application without connecting to a shared server. That may do what you need.
MySQL does have a CREATE SERVER statement in its SQL dialect. The purpose of this statement is to create a connection to another, remote, MySQL server. With that connection you can use the FEDERATED storage engine to access tables in the remote server. Of course, there is no way to run this CREATE SERVER statement unless your program is already connected to a MySQL server.
With respect, your "task which states to create a server at runtime" doesn't make much sense. Is there more to this requirement? What workflow needs this step? Is it part of the installation of some application software on a new box?

Querying Hornbill Supportworks database with MySQL Workbench

We have Hornbill Supportworks Enterprise Support Platform 7.6.2 Professional Edition (Helpdesk application) with the database files in MySQL format (.myd .myi .frm) but do not have MySQL Server installed on the same machine.
I want to be able to query the Supportworks database like you can with a MSSQL database and SQL Management Studio to return information that the application seems incapable of providing. I presume there is more to it than just installing MySQL Server and importing the database files somehow.
I have no experience with MySQL or Supportworks so any help/advice would be greatly appreciated!
It is possible to access the Supportworks database from a variety of other tools; however you need to have some knowledge and configuration details and which are specific to the Hornbill product. I’d suggest you visit the Hornbill Forums to get some helpful information and suggestions.
A Standard Hornbill installation includes a custom mySQL server build (known as swSQL) and a commandline query tool (Interactive SQL).
The default install location is C:\Program Files (x86)\Hornbill\Core Services\SwSqlServer\

How to load data from MySql to MS SQL Server database?

I have similar schema in both MySQL and MSSQL Server databases. How can I migrate just the data from MySql to an empty (no data) MSSqlServer database? MSSqlServer DB is empty with just the schema. I could not configure the MySql DB as a linked server (through ODBC) since I don't have DB Admin rights on MSSqlServer. I just have previleges to add data. I explored Sql Server Migration Assistant for MySQL, but I just want to migrate data without touching the schema at the target.
I also noticed that there is a SqlBulkCopy class which helps to programatically migrate data in .NET.
But I need to write code for each table (there are more than 100 tables and 20 GB of data).
What is the most elegant way to do it?
SSMA might be the easiest. Since you don't wanna use that, you can try using mysqldump. You can use it to essentially dump a MySQL db to SQL Server.
Link to the SSMA blog, they update these tools regularly, so check for a later version. SQL Server Migration Assistant (SSMA) Team's Blog

Migration from SQL Server2008r2 to MySQL

we are converting MSSQL to MySQL using exp/imp wizard in MSSQL server 2008R2.
I have followed this link
http://social.msdn.microsoft.com/Forums/en/sqlintegrationservices/thread/826cd1e8-cce3-4c08-839d-f6931ac75ef5
I have downloaded MySQL Connector/ODBC 3.51 and created DSN named "TestTAP"
And then i have used SQLServer --> TestDB --> Tasks --> Export Data, i have got Imp and Exp wizard
Please visit this link.....
http://www.flickr.com/photos/83606059#N04/show/
My ODBC driver is not appearing in the IMP and Exp wizard destination list
where am doing wrong?
Please help me folks
Regards
MySQL just added a migration tool to migrate into their Workbench tool. Details can be found here. I fail to see how it's going to migrate anything more than the most noddy database, but it might work.
The new Migration Wizard that comes with MySQl Workbench 5.2.41 will help you to migrate both the tables and their data. You can have an overview of its capabilities here:
How-To: Guide to Database Migration from Microsoft SQL Server using MySQL Workbench
Best thing to achive data migration is to use so ETL tools.This helps:
Fast data migration
Accurate data migration
Reusable jobs in future
Scheduling etc
For MySql I prefer using Talend Open Studio ETL tool which is open source and you can download it free.
Or you can also use SQL server SSIS.

Migrate some data from MySQL to MSSQL

I have a MySQL database.
I need to migrate some (not all) table's data (data records) from MySQL to MSSQL database, herewith convert structure of MySQL tables to new structure in MSSQL.
In future, I need to do automatic periodical synchronization between these databases.
Is there any tools? or I have to use some SQL proc's or queries? How can I do these things?
For reference: I'm using MSSQL Server 2008 R2 with ODBC driver for MySQL and SQL Migration Assistant for MySQL (with these tools, I have been fully converted MySQL to MSSQL database only).
Since you already have full SQL 2008, open the Visual Studio Intelligence BI installed with your SQL installation.
Then create a new project "Integration Services Project".
Therefor you create a new connection to your ODBC (should be wizards available).
Then add your tables, there you can modify, convert, tranasform the data.
The complete project you can save and add as sheduled task to your sql server agent.
Here is a tutorial which explains more: http://msdn.microsoft.com/en-us/library/ms169917.aspx