Is there a way to make a database project in visual studio for MySQL? Would I just create a normal database project and point it to a mysql database when I deploy? Is there a project template out there for this?
As of today (6/12/14) there is no way to create a MySQL Data Project in Visual Studio. This feature is however on the roadmap for MySQL, according to this enhancement request on the MySQL Website:
http://bugs.mysql.com/bug.php?id=59600
I suggest that you subscribe to that ticket so that you get notified when this feature becomes available.
Some support is now available via MySQL for Visual Studio, albeit nowhere near as advanced as the SQL server support.
Related
I need to setup a report server using SQL Server Reporting Services with MySQL datasource. I am using a ODBC connection to connect MySQL. Using this connection I am able to add a dataset in my reporting project in Visual Studio 2015.
Using this dataset I can create a reports in Visual Studio and it show me preview as well using my table from MySQL, So far so good only problem arise when I try to deploy my reports to my local machine it show following error :
An attempt has been made to use a data extension 'ODBC' that is either not registered for this report server or is not supported in this edition of Reporting Services.
I am using SQL Server 2012 Express Edition and I follow this tutorial to connect report with MySql.
https://www.mssqltips.com/sqlservertip/2615/creating-a-ssrs-report-using-a-mysql-data-source/
Can you please help me to know what I am doing wrong here? Any help will be highly appreciated. Please let me know if any other information needed.
Thank you
I do not think this is supported in express dev version.
http://www.c-sharpcorner.com/UploadFile/ff2f08/feature-supported-and-unsupported-by-ssrs-with-express-advan/
If you have the full version, it can be easily done, via the instructions you linked above.
Does the Visual Studio 2012 Tiered Interaction Profiler (TIP) work with the MySQL connector?
I'm trying to profile a C# applications use of a MySQL Database. Unfortunately attempts to use the built in Tier Interaction Profiler haven't worked. The "Tier Interaction" isn't included in the analysis report drop down.
My understanding of the profiler is that the connection uses an ADO.NET connector. Currently, I've tried:
Using the MySQL connector v6.8.0 as a direct download.
Using community installed which adds the Visual Studio components missing since v6.7
To ensure it wasn't an issue with Visual Studio I've tried it with an another application that uses an SQL Server database and it works correctly.
If it's of any relevance I'm using Windows 8.1.
Am using Joomla 1.3 for one of my client website. and now I want to move it to custom asp.net application with SQL Server 2008.
What's the best opensource to handle this migration ?
In other context this answer is answered here: Migrate some data from MySQL to MSSQL
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
If I create a database using 2012 and work and add that info to it, if I were to script the database after, would I be able to run the script in 2008 and have everything work A.O.K?
If you are using SQL Management Studio, you can right-click on the database name, then select Tasks → Generate Scripts.
Here you will be able to create scripts to script out the Schema, Data, or both Schema and Data, and if you click the Advanced button, you can specify which version of SQL Server you'd like to target.
So, simply choose SQL 2008 as the destination server and you should be good to go!
A script? Yes. Well, let me rephrase: it depends. As long as your objects don't use any 2012-specific features, you will be able to script out the schema using Management Studio or a variety of 3rd party tools (I blogged about some options here). Many of the tools also offer options (or companion tools) to also script the data.
The problem is there isn't a very easy way in SQL Server 2012 to identify all of the places where you might be using 2012-specific features. For example, I don't know of a tool that will inspect your database and point out that you are using the FORMAT() function, which is not available in SQL Server 2008 or 2008 R2.
Other means of copying the database over - backup/restore, attach/detach, mirroring/log shipping etc. will not work. You can go up (from 2005, 2008 or 2008 R2) to 2012, but you can't go backwards.
So in general I agree with John. Much safer to develop on a version <= deployment version. Why would you want to develop on 2012 to deploy to 2008? Seems quite risky to me.
If you have very large amounts of data to move (gigabytes) then the TSQL scripts that the SQL Management Studio will generate for you could give you problems because of the sheer size. A better alternative would be to use BCP (Bulk Copy Program). The downside is that this is a command line utility and requires more work than just using the wizard.
As luck would have it somebody has written something which looks remarkably like the wizard only using BCP. It is the SQL Database Migration Wizard and is freely available on Codeplex - http://sqlazuremw.codeplex.com/releases/view/32334. Originally intended as a database migration tool between SQL Server and Azure you can just as easily use it between SQL Server and SQL Server. The key is to go into the advanced options (similar to the Management Studio wizard) and pick SQL Server. Later when you are prompted for the target system choose your 2008 installation.
I had no 2012 specific artefacts in my database and it worked very smoothly for me.
I'm using the WebDeploy tool from Visual Studio 2010 since a few weeks and really like it. I was now trying to deploy my database as well using the 'Package/Publish SQL' tab. However, my current project uses a MySQL database and it seems that web deploy from VS is only compatible using MSSQL (sigh).
So my question is: can I get it to deploy my MySQL database? I know there is a custom 'dbFullMySql' provider, but not sure if this can integrate into VS2010. Thanks.
could this be of help to you http://blogs.iis.net/msdeploy/archive/2009/04/29/changes-to-the-custom-provider-for-mysql-dbfullmysql.aspx