Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

MySQL ASP.NET MembershipProvider connection problem

Hi support,
I've setup all the mysql tables properly, configured Web.Config e copied MySQL *.dll in bin folder. This configuration perfectly works on my machine and I also tested on another server with MySQL on Linux instance. I really cannot figure out what's missing in your environment, but I always have " Unable to initialize provider. Missing or incorrect schema.", as it couldn't establish a connection to the database. I also tried to disable providers and make a plain query on your database and worked, so the connection string is OK. That's a very critical issue for me because if I cannot your MySQL MembershipProvider I cannot create any even basic app.
You can see the error at http://popapps.apphb.com/

Best Regards

Fabrizio

  1. I seem to able to create a user on your site just now, but perhaps it's not using MySQL currently?

    You should genereally not be commiting the content of your local build output folder (eg. Debug\bin etc.). AppHarbor builds your code and deploys the build output. Instead, you will want to add the dll to library folder or similar and reference the dll from your project. What will cause it be placed in the build output folder when AppHarbor builds your solution.

    Let us know if this doesn't solve your problem.
    Michael

  2. friism closed this discussion on 11 Jul, 2011 07:32 PM.

  3. popapps re-opened this discussion on 11 Jul, 2011 07:45 PM

  4. As you noticed the app now works correctly. I solved the problem simply upgrading the MySQL Connector dlls from 6.3.6 to 6.4.0 (released few days ago).
    Thanks for your quick answer, I'm really appreciating your platform, maybe we'll create great stuff together!

    Fabrizio

  5. Great, glad you got it working!

    Michael

  6. friism closed this discussion on 11 Jul, 2011 07:47 PM.

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac