0

Possible Duplicate:
How do I setup ASP.NET MVC 2 with MySQL?

Hey guys I created and configured a mySQL database, and am using ASP.NET MVC framework. What is the connection string that I should use to connect with my database?

Can anyone suggest a tutorial or a book resource I could use?

1

3 Answers 3

1
<connectionStrings>    
    <add name="LocalMySqlServer" connectionString="Data Source=localhost;Database=xxxxx;User Id=xxxxx;Password=xxxxxxxx;" providerName="MySQL.Data.MySqlClient"/>
</connectionStrings>

Hope this helps!

Sign up to request clarification or add additional context in comments.

Comments

0

http://www.connectionstrings.com contains a list of most of the connectionstrings from different databases.

The MySQL section can be found here: http://www.connectionstrings.com/mysql

Comments

0

You can try it:

http://www.codeguru.com/csharp/.net/net_data/article.php/c19407/A-StepbyStep-Guide-To-Using-MySQL-with-ASPNET--Part-1.htm

http://www.codeguru.com/csharp/.net/net_data/article.php/c19493/A-StepbyStep-Guide-To-Using-MySQL-with-ASPNET--Part-2.htm

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.