943,907 Members | Top Members by Rank

Ad:
  • ASP Discussion Thread
  • Unsolved
  • Views: 1182
  • ASP RSS
Jan 30th, 2008
0

can i used MySQL as database server for asp?

Expand Post »
hai everyone..i'm still beginner in this ASP..
jus wanna know is it ok if i used MySQL as database? can anyone teach..
really needs ur helps and guides..thanx alot guys..

Similar Threads
Reputation Points: 8
Solved Threads: 0
Newbie Poster
bungek84 is offline Offline
17 posts
since Dec 2007
Jan 30th, 2008
0

Re: can i used MySQL as database server for asp?

yes, you can use it. You need to connect to it. Visit www.connectionstrings.com for examples.
Reputation Points: 43
Solved Threads: 68
Veteran Poster
SheSaidImaPregy is offline Offline
1,080 posts
since Sep 2007
Feb 16th, 2008
0

Re: can i used MySQL as database server for asp?

Ooooh yes you can

Here's a working connectionstring:

Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open "DRIVER={MySQL ODBC 5.1 Driver}; SERVER=localhost; DATABASE=<yourdatabasename>; UID=<yourusername>; PWD=<yourpassword>;"


Change SERVER=localhost if your database is placed somewhere else.
You can download all of the drivers from mysql.com. You may have to setup an DSN connector for the drivers.
Last edited by TobbeK; Feb 16th, 2008 at 7:38 am.
Reputation Points: 10
Solved Threads: 3
Junior Poster
TobbeK is offline Offline
190 posts
since Feb 2008
Feb 18th, 2008
0

Re: can i used MySQL as database server for asp?

hi bungek84,
You can use MySql with ASP.net easily. There are lots of article's you can learn from there.
But for your help please visit the given link.

http://www.codeproject.com/KB/webforms/MySQLsuite.aspx

http://www.15seconds.com/issue/050210.htm

Hope this will help you.
Thanks & Regards
Dilipv
Reputation Points: 10
Solved Threads: 4
Light Poster
dilipv is offline Offline
30 posts
since Feb 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP Forum Timeline: Classic ASP (ASPvb) and IIS7 ??
Next Thread in ASP Forum Timeline: Passing a Trimmed Value from a FormField





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC