(to answer your previous question - as I mentioned, if I try to put the old appsetting string into connectionString I get an error "keyword not supported" and just can't login to Umbraco admin at all. Also it does not make any difference if the old umbracoDbDSN appsetting exists under appSettings or not.
Ok made some progress hope to have a build ready today/tomorrow that should work on mysql, it would be awesome if you could give that a test, will post more details when the build is ready
Contour MySQL connection problems after upgrading to 6.0.3
Hi
I upgraded to Umbraco 6.0.3 and Contour to 3.0.9 (using the update zip). I use MySQL database.
Now when I am trying to open Forms tree node in Contour section I get error:
Comment author was deleted
In v6 it isn't using the appSetting but the con string is moved to an actual con string so you'll have to update that
Comment author was deleted
So in <connectionStrings> you'll need one with the name umbracoDbDSN (there is probably a default that is set to ms sql)
It is within ConnectionStrings section of web.config.
<connectionStrings>
<add name="umbracoDbDSN" connectionString="server=xxx;database=xxx;user id=xxx;password=xxx;" providerName="MySql.Data.MySqlClient" />
</connectionStrings>
BTW in the source code of FormStorage.cs (inspected using ReSharper) I can see here and there piece of code:
if (GlobalSettings.DbDSN.ToLower().Contains("datalayer=mysql"))
Doesn't it mean that Courier is still relying on the old connection string format??
If I try to add datalayer=mysql into the connection string, then data layer returns an error
"ERROR umbraco.DataLayer.SqlHelper`1[[MySql.Data.MySqlClient.MySqlParameter, MySql.Data, Version=6.6.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d]] - [Thread 91] Error executing query select id from umbracoUser where userLogin = @login
System.ArgumentException: Keyword not supported."
Comment author was deleted
Do you still have the original appsetting from before the upgrade, what happens if you place that in the new umbracoDbDSN constring ?
Comment author was deleted
Yeah you are right looks like Contour will need some updates to work on MySQL with umbraco v6
Comment author was deleted
Added to the issue tracker: http://issues.umbraco.org/issue/CON-332
Solution will be part of 3.0.10 (next maintenance release) that should be out before 1 May
Thank you.
(to answer your previous question - as I mentioned, if I try to put the old appsetting string into connectionString I get an error "keyword not supported" and just can't login to Umbraco admin at all. Also it does not make any difference if the old umbracoDbDSN appsetting exists under appSettings or not.
I'm trying to get contour installed and working using MySQL and Umbraco 6.0.3 - it's still looking for a SQL Server?
Is this not fixed yet?
Comment author was deleted
Hey Rob, yup issue is still open, should be part of a maintenance release coming this month
Is there any update?
The issue still occurs on 6.1.3 (!)
Comment author was deleted
Yeah still in issue, will take a look for next maintenance release, will try to do this week
This would be great - it becomes annoying as this is the only issue preventing us to migrate to v6.
Comment author was deleted
Ok will update you later this week, hopefully it isn't that hard to fix :)
Is there a bug opened on this issue so I could track its progress?
Comment author was deleted
Yeah you can find it here http://issues.umbraco.org/issue/CON-332
Any update, please?
Comment author was deleted
No luck so far but more details tomorrow hope to have something ready then
Comment author was deleted
Ok made some progress hope to have a build ready today/tomorrow that should work on mysql, it would be awesome if you could give that a test, will post more details when the build is ready
Comment author was deleted
Ok think I got it working, if any of you could test to confirm that would be great :)
You can get a WIP version here http://nightly.umbraco.org/Umbraco%20Contour/3.0.15%20WIP/ that has the fixes
Comment author was deleted
Anyone able to test this one?
Will do today,thank you.
UPD: works like a charm. Tested on 6.1.3 with MySQL.
Comment author was deleted
@Gleb thanks for confirming :)
Tested and working under v6.0.6 with MySQL 5.5
Many thanks Tim!
Comment author was deleted
@Rob great thanks for testing and confirming the fix :) will release a new Contour version that has the fix this week :)
Comment author was deleted
3.0.15 is out today (includes the mysql fixes) http://our.umbraco.org/forum/umbraco-pro/contour/44376-Contour-3015-changes
is working on a reply...