Visual Studio setup with MYSQL

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
5/19/2014 12:45:46 PM
Gravatar
Total Posts 5

Visual Studio setup with MYSQL

Hi all.

Noob here but hopefully not for long.

Trying to get the source up and running in Visual Studio 2012 using MYSql database.

The help I have found seems to be tailored to the live environment and I am getting nowhere fast ;-)
Have tried searching but not found anything that helps tbh.

It still attempts to connect to MS SQL instead of MY SQL so there must be some setting I have missed or some other school boy error.

Thanks in advance for any help...

Looking to move over to Mojo Portal from Umbraco.

 

5/19/2014 12:57:31 PM
Gravatar
Total Posts 18439

Re: Visual Studio setup with MYSQL

Hi,

You just need to select the correct build profile for either Debug - MySql or Release - MySql, as shown in this article, then just rebuild the solution and set your mysql connection string.

Hope that helps,

Joe

5/19/2014 1:14:10 PM
Gravatar
Total Posts 5

Re: Visual Studio setup with MYSQL

I said I was a noob lol

That was indeed the problem however that has led me onto another error:

Could not load file or assembly 'MySql.Data, Version=6.2.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.

The .dll's appear to be there unless the are in the wrong directory.

Sorry for such basic questions. Have been baked in the sun today so that is my excuse ;-(

 

 

5/19/2014 1:22:47 PM
Gravatar
Total Posts 5

Re: Visual Studio setup with MYSQL

Sorted.... a restart of Visual Studio was needed (not sure why)

Thanks for your help

You must sign in to post in the forums. This thread is closed to new posts.