![]() |
|

Improve database development with a bundle of 12 SQL developer tools from Red Gate. The SQL Developer Bundle will help you:
|
|
By: Daniel Calbimonte | Read Comments (6) | Related Tips: > Reporting Services Data Sources |
SQL Server Reporting Services is a great tool to create reports from a SQL Server database, but you can also use SSRS to create reports from a mySQL database. In this example I will show you how to create a report using SQL Server Reporting Services from a mySQL table.
In this example, the database used to import data is the test database in MySQL (this database is installed by default).
To follow the steps it is necessary to have the following requirements already installed.
Let's create a table myTable in the mysql database with a column myColumn and after that, insert some data in the table:
use mysql;
create table myTable(myColumn varchar(20));
insert into myTable(myColumn) values("John");
insert into myTable(myColumn) values("Jane");
insert into myTable(myColumn) values("Arnold");
insert into myTable(myColumn) values("Jessica");
Now, let's start creating the ODBC connection.










select mycolumn from mytable








| Wednesday, April 18, 2012 - 9:23:30 AM - Karuppan | Read The Tip |
|
This is very straight forward and very easy to understand. thanks for giving to us. |
|
| Wednesday, April 18, 2012 - 9:10:19 PM - Faheem Ahmad | Read The Tip |
|
Excellent. This is exactly what i am looking for. Thank you very much. |
|
| Sunday, November 25, 2012 - 8:33:48 PM - Marcwolf | Read The Tip |
|
Great Article. I have had some issues though. Can you tell me what version of MySQL, ODBC (32/64) that you are using to connect. I am using MySQL (64) 5.5.20 and have tried both ODBC 5.02.02w and 3.51.21
With the 3.5 ODBC I can import the tables into the query wizard however I cannot see any columns, with the 5.01 ODBC I cannot import the tables into the Query Wizard at all (I click and nothing happens)
Do you have any advice? Many thanks Dave |
|
| Friday, April 26, 2013 - 2:58:04 AM - siya ram | Read The Tip |
|
How to pass Parameter at run time in my sql query....for SSRS report for example: select * from T where c1=@c1 plz give me answer by email siya.ram@hanusoftware.com |
|
| Friday, April 26, 2013 - 12:51:09 PM - Patricia Neilan | Read The Tip |
|
I am also looking how to use parameters with SSRS and mysql, could you please give me some hints if you have them. pgamezg@gmail.com
Thanks!!
|
|
| Wednesday, May 15, 2013 - 11:01:24 AM - Daniel Calbimonte | Read The Tip |
|
Hello, have you read this forum to solve the parameter problem? |
|
|
privacy | disclaimer | copyright | advertise | about authors | contribute | feedback | giveaways | user groups Some names and products listed are the registered trademarks of their respective owners. Edgewood Solutions LLC | MSSharePointTips.com | MSSQLTips.com |