<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>MySQL</title><link>http://forums.asp.net/56.aspx</link><description>Discuss using MySQL as a data store for ASP.NET.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: HELP Please!! MySQL 5.0 Connection with ASP.NET 2003</title><link>http://forums.asp.net/thread/2527008.aspx</link><pubDate>Thu, 31 Jul 2008 06:28:45 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2527008</guid><dc:creator>Sajith G.S.</dc:creator><author>Sajith G.S.</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2527008.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=56&amp;PostID=2527008</wfw:commentRss><description>&lt;p&gt;&lt;/p&gt;
Use port=3306</description></item><item><title>Re: HELP Please!! MySQL 5.0 Connection with ASP.NET 2003</title><link>http://forums.asp.net/thread/2396702.aspx</link><pubDate>Tue, 03 Jun 2008 06:32:08 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2396702</guid><dc:creator>NWeb</dc:creator><author>NWeb</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2396702.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=56&amp;PostID=2396702</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;can u plz send me link the link to download that mysql.dll.since i also faced the same problem.&lt;/p&gt;&lt;p&gt;Thanks in advanced.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: HELP Please!! MySQL 5.0 Connection with ASP.NET 2003</title><link>http://forums.asp.net/thread/1545734.aspx</link><pubDate>Wed, 24 Jan 2007 05:15:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1545734</guid><dc:creator>pald</dc:creator><author>pald</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1545734.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=56&amp;PostID=1545734</wfw:commentRss><description>&lt;p&gt;ok solved it!!!&lt;/p&gt;
&lt;p&gt;i&amp;nbsp;didn't&amp;nbsp;use&amp;nbsp;the new mysql.data.dll (that allows partial trust callers), the one I downloaded from one of the links from a member assisting me in this.....&lt;/p&gt;
&lt;p&gt;you use the one that came with connector.net and put it in your bin folder of your project.....&lt;/p&gt;
&lt;p&gt;&amp;nbsp;since i did not used the default port: 3306, i have to mention the port i'm using in my code! &lt;/p&gt;
&lt;p&gt;&amp;nbsp;heres my syntax:&lt;/p&gt;
&lt;p&gt;everything else leave it the same and specify your&amp;nbsp;port!&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;myConnection = New MySqlConnection("server=localhost; port=3309; user id=user01; password=user01; database=mydatabase; pooling=false;")&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;** without the correct port it gives you this ERROR:&lt;/p&gt;
&lt;h2&gt;&lt;i&gt;A request to send or receive data was disallowed because the &lt;u&gt;socket is not connected &lt;/u&gt;and (when sending on a datagram socket using a sendto call) no address was supplied&lt;/i&gt;&lt;/h2&gt;
&lt;p&gt;Thanks for the help!! &lt;br /&gt;&lt;br /&gt;CONNECTION WORK!!&lt;/p&gt;</description></item><item><title>Re: HELP Please!! MySQL 5.0 Connection with ASP.NET 2003</title><link>http://forums.asp.net/thread/1533626.aspx</link><pubDate>Tue, 16 Jan 2007 01:09:50 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1533626</guid><dc:creator>pald</dc:creator><author>pald</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1533626.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=56&amp;PostID=1533626</wfw:commentRss><description>&lt;p&gt;if i put my old MySql.Data.dll, back in it shows the other error above....&lt;/p&gt;
&lt;p&gt;about socket connection disallowed.....&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://forums.asp.net/emoticons/emotion-42.gif" alt="Confused" /&gt;&lt;/p&gt;</description></item><item><title>Re: HELP Please!! MySQL 5.0 Connection with ASP.NET 2003</title><link>http://forums.asp.net/thread/1533625.aspx</link><pubDate>Tue, 16 Jan 2007 01:09:45 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1533625</guid><dc:creator>pald</dc:creator><author>pald</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1533625.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=56&amp;PostID=1533625</wfw:commentRss><description>&lt;p&gt;if i put my old MySql.Data.dll, back in it shows the other error above....&lt;/p&gt;
&lt;p&gt;about socket connection disallowed.....&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://forums.asp.net/emoticons/emotion-42.gif" alt="Confused" /&gt;&lt;/p&gt;</description></item><item><title>Re: HELP Please!! MySQL 5.0 Connection with ASP.NET 2003</title><link>http://forums.asp.net/thread/1533621.aspx</link><pubDate>Tue, 16 Jan 2007 01:06:33 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1533621</guid><dc:creator>pald</dc:creator><author>pald</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1533621.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=56&amp;PostID=1533621</wfw:commentRss><description>&lt;p&gt;ok, i downloaded the mysql.data.dll (that allows partial trust callers) from the link above. then i put it in my bin folder...&lt;/p&gt;
&lt;p&gt;now, i'm getting my old error again:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Compiler Error Message: &lt;/strong&gt;BC30002: Type 'MySqlConnection' is not defined.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Source Error:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;
&lt;table class="" bgColor=#ffffcc&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=""&gt;&lt;code&gt;&lt;pre&gt;Line 6:  Sub Page_Load(sender As Object, e As EventArgs)
Line 7:   
&lt;font color=red&gt;Line 8:  	Dim myConnection&amp;nbsp;&amp;nbsp;As MySqlConnection
&lt;/font&gt;Line 9:  	Dim myDataAdapter&amp;nbsp;As MySqlDataAdapter
Line 10: 	Dim myDataSet&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;As DataSet&lt;/pre&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;any other reference to related forums would be great! i really appreciate your help.&amp;nbsp; thanks and i'm still reading more forums and searchin....&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: HELP Please!! MySQL 5.0 Connection with ASP.NET 2003</title><link>http://forums.asp.net/thread/1532349.aspx</link><pubDate>Mon, 15 Jan 2007 05:43:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1532349</guid><dc:creator>Young Fang - MSFT</dc:creator><author>Young Fang - MSFT</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1532349.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=56&amp;PostID=1532349</wfw:commentRss><description>&lt;p&gt;Make sure not firewall blocks the connection.&lt;/p&gt;
&lt;p&gt;Also you could take a look at: &lt;a href="http://forums.asp.net/3/1482362/ShowThread.aspx"&gt;http://forums.asp.net/3/1482362/ShowThread.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: HELP Please!! MySQL 5.0 Connection with ASP.NET 2003</title><link>http://forums.asp.net/thread/1531254.aspx</link><pubDate>Sat, 13 Jan 2007 22:26:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1531254</guid><dc:creator>pald</dc:creator><author>pald</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1531254.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=56&amp;PostID=1531254</wfw:commentRss><description>&lt;p&gt;ok got past the above situation....&lt;/p&gt;
&lt;p&gt;now its saying.....&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h1&gt;Server Error in '/test_connection' Application. 
&lt;hr /&gt;
&lt;/h1&gt;
&lt;h2&gt;&lt;i&gt;A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied&lt;/i&gt; &lt;/h2&gt;
&lt;p&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;b&gt;Description: &lt;/b&gt;An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Exception Details: &lt;/b&gt;System.Net.Sockets.SocketException: A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Source Error:&lt;/b&gt; &lt;br /&gt;&lt;br /&gt;
&lt;table class="" bgColor=#ffffcc&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;code&gt;&lt;pre&gt;Line 19: 	myDataAdapter = New MySqlDataAdapter(strSQL, myConnection)
Line 20: 	myDataSet = New DataSet()
&lt;font color=red&gt;Line 21: 	myDataAdapter.Fill(myDataSet, "mytable")
&lt;/font&gt;Line 22: 	
Line 23: 	MySQLDataGrid.DataSource = myDataSet&lt;/pre&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;&lt;b&gt;&lt;font face=Verdana&gt;Source File: &lt;/font&gt;&lt;/b&gt;c:\inetpub\wwwroot\test_connection\WebForm1.aspx&lt;b&gt;&lt;font face=Verdana&gt; &amp;nbsp;&amp;nbsp; Line: &lt;/font&gt;&lt;/b&gt;21 &lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;font face=Verdana&gt;Stack Trace:&lt;/font&gt;&lt;/b&gt; &lt;br /&gt;&lt;br /&gt;
&lt;table class="" bgColor=#ffffcc&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;code&gt;&lt;pre&gt;[SocketException (0x2749): A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied]
   System.Net.Sockets.Socket.Shutdown(SocketShutdown how) +188
   MySql.Data.Common.SocketStream.Read(Byte[] buffer, Int32 offset, Int32 count) +72
   System.IO.BufferedStream.ReadByte() +113
   MySql.Data.MySqlClient.PacketReader.ReadHeader() +16
   MySql.Data.MySqlClient.PacketReader.OpenPacket() +107
   MySql.Data.MySqlClient.NativeDriver.Open() +729
   MySql.Data.MySqlClient.MySqlConnection.Open() +144
   System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState&amp;amp; originalState) +44
   System.Data.Common.DbDataAdapter.FillFromCommand(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +304
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +77
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +36
   ASP.WebForm1_aspx.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\test_connection\WebForm1.aspx:21
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Page.ProcessRequestMain() +750
&lt;/pre&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;
&lt;hr /&gt;

&lt;p&gt;&lt;b&gt;&lt;font face=Verdana&gt;Version Information:&lt;/font&gt;&lt;/b&gt;&amp;nbsp;Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032 &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;what do I do next?&amp;nbsp; hopefully someone got here before and got help me out from here.... think i'm almost there!!! :)&lt;/p&gt;</description></item><item><title>Re: HELP Please!! MySQL 5.0 Connection with ASP.NET 2003</title><link>http://forums.asp.net/thread/1531226.aspx</link><pubDate>Sat, 13 Jan 2007 21:57:38 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1531226</guid><dc:creator>pald</dc:creator><author>pald</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1531226.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=56&amp;PostID=1531226</wfw:commentRss><description>&lt;p&gt;okay.... i'm almost there please show me how to fix the error...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;i have already made a copy of the C:\Program Files\MySQL\MySQL Connector Net 1.0.4\bin\.NET 1.1\) to&amp;nbsp;my application's /bin folder (ie. C:\Inetpub\wwwroot\bin\)&lt;/p&gt;
&lt;p&gt;and it still does not work please look over my mistakes or so.....&lt;/p&gt;
&lt;p&gt;&amp;nbsp;my apsx page in html view(this is where i put the coding right?)&lt;/p&gt;
&lt;p&gt;or do i double click on design view and put the code there?&lt;/p&gt;
&lt;p&gt;&lt;a href="http://i29.photobucket.com/albums/c296/LB3DR/connect_test_pagecopy.jpg"&gt;http://i29.photobucket.com/albums/c296/LB3DR/connect_test_pagecopy.jpg&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://i29.photobucket.com/albums/c296/LB3DR/connect_test_pagecopy_2.jpg"&gt;http://i29.photobucket.com/albums/c296/LB3DR/connect_test_pagecopy_2.jpg&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://i29.photobucket.com/albums/c296/LB3DR/connect_test_pagecopy.jpg" border="0" /&gt;&lt;img /&gt;&lt;/p&gt;
&lt;p&gt;http://i29.photobucket.com/albums/c296/LB3DR/connect_test_pagecopy_2.jpg" border="0" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;this is what the error says:&lt;/p&gt;
&lt;h2&gt;&lt;i&gt;Compilation Error&lt;/i&gt; &lt;/h2&gt;
&lt;p&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;b&gt;Description: &lt;/b&gt;An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Compiler Error Message: &lt;/b&gt;BC30002: Type 'MySqlConnection' is not defined.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Source Error:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;
&lt;table class="" bgColor=#ffffcc&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=""&gt;&lt;code&gt;&lt;pre&gt;Line 6:  Sub Page_Load(sender As Object, e As EventArgs)
Line 7:  
&lt;font color=red&gt;Line 8:  	Dim myConnection As MySqlConnection
&lt;/font&gt;Line 9:  	Dim myDataAdapter As MySqlDataAdapter
Line 10: 	Dim myDataSet As DataSet&lt;/pre&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;&lt;b&gt;&lt;font face=Verdana&gt;Source File:&lt;/font&gt;&lt;/b&gt; c:\inetpub\wwwroot\test_connection\WebForm1.aspx &amp;nbsp;&amp;nbsp; &lt;b&gt;&lt;font face=Verdana&gt;Line:&lt;/font&gt;&lt;/b&gt; 8 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;
&lt;div class=expandable&gt;Show Detailed Compiler Output:&lt;/div&gt;
&lt;div id=compilerOutputDiv&gt;&lt;br /&gt;
&lt;table class="" bgColor=#ffffcc&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;code&gt;&lt;pre&gt;C:\WINDOWS\system32&amp;gt; "c:\windows\microsoft.net\framework\v1.1.4322\vbc.exe" /t:library /utf8output /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\test_connection\14f5f8d2\257c3447\bdlkobzm.dll" /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll" /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll" /R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\test_connection\14f5f8d2\257c3447\assembly\dl2\5962a2b6\20a5db5c_5937c701\test_connection.dll" /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll" /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\test_connection\14f5f8d2\257c3447\hldbrti4.dll" /D:DEBUG=1 /debug+  "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\test_connection\14f5f8d2\257c3447\hldbrti4.0.vb"


Microsoft (R) Visual Basic .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322.2032
Copyright (C) Microsoft Corporation 1987-2002. All rights reserved.

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\test_connection\14f5f8d2\257c3447\hldbrti4.0.vb(16) : error BC30466: Namespace or type 'MySqlClient' for the Imports 'MySql.Data.MySqlClient' cannot be found.

Imports MySql.Data.MySqlClient
        ~~~~~~~~~~~~~~~~~~~~~~
c:\inetpub\wwwroot\test_connection\WebForm1.aspx(8) : error BC30002: Type 'MySqlConnection' is not defined.

    Dim myConnection As MySqlConnection
                        ~~~~~~~~~~~~~~~
c:\inetpub\wwwroot\test_connection\WebForm1.aspx(9) : error BC30002: Type 'MySqlDataAdapter' is not defined.

    Dim myDataAdapter As MySqlDataAdapter
                         ~~~~~~~~~~~~~~~~
c:\inetpub\wwwroot\test_connection\WebForm1.aspx(15) : error BC30002: Type 'MySqlConnection' is not defined.

    myConnection = New MySqlConnection("server=localhost; user id=test1; password=test1; database=mysales; pooling=false;")
                       ~~~~~~~~~~~~~~~                                                                                     
c:\inetpub\wwwroot\test_connection\WebForm1.aspx(19) : error BC30002: Type 'MySqlDataAdapter' is not defined.

    myDataAdapter = New MySqlDataAdapter(strSQL, myConnection)
                        ~~~~~~~~~~~~~~~~                      
&lt;/pre&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;</description></item><item><title>Re: HELP Please!! MySQL 5.0 Connection with ASP.NET 2003</title><link>http://forums.asp.net/thread/1529478.aspx</link><pubDate>Fri, 12 Jan 2007 10:36:54 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1529478</guid><dc:creator>pald</dc:creator><author>pald</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1529478.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=56&amp;PostID=1529478</wfw:commentRss><description>&lt;blockquote&gt;&lt;div&gt;&lt;img src="http://forums.asp.net/Themes/default/images/icon-quote.gif" /&gt; &lt;strong&gt;Young Fang - MSFT:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;Hey&lt;/p&gt;
&lt;p&gt;You could create a web form and paste the above code.&lt;/p&gt;
&lt;p&gt;Make sure MySql.Data.dll&amp;nbsp; is referenced.&lt;/p&gt;
&lt;p&gt;If you have problems ,pls post here.&lt;/p&gt;
&lt;p&gt;As for Tomcat you 'd better serach on internet you can find loads of tutorials.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i have copied the above in a webf form , but how do i referenced MySql.Data.dll?&lt;/p&gt;
&lt;p&gt;i will also look into how to reference it, but if i can't solve it. anyone who knows, please let me know.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;as for tomcat, i've found some tutorials, but if i need help is there a tomcat forum too or of some sort?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;thank you in advance!! :)&lt;/p&gt;</description></item><item><title>Re: HELP Please!! MySQL 5.0 Connection with ASP.NET 2003</title><link>http://forums.asp.net/thread/1529133.aspx</link><pubDate>Fri, 12 Jan 2007 05:15:35 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1529133</guid><dc:creator>Young Fang - MSFT</dc:creator><author>Young Fang - MSFT</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1529133.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=56&amp;PostID=1529133</wfw:commentRss><description>&lt;p&gt;Hey&lt;/p&gt;
&lt;p&gt;You could create a web form and paste the above code.&lt;/p&gt;
&lt;p&gt;Make sure MySql.Data.dll&amp;nbsp; is referenced.&lt;/p&gt;
&lt;p&gt;If you have problems ,pls post here.&lt;/p&gt;
&lt;p&gt;As for Tomcat you 'd better serach on internet you can find loads of tutorials.&lt;/p&gt;</description></item><item><title>HELP Please!! MySQL 5.0 Connection with ASP.NET 2003</title><link>http://forums.asp.net/thread/1528921.aspx</link><pubDate>Fri, 12 Jan 2007 02:02:23 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1528921</guid><dc:creator>pald</dc:creator><author>pald</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1528921.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=56&amp;PostID=1528921</wfw:commentRss><description>&lt;p&gt;Ok, I'm pretty new to this.... I'm trying to connect mySql 5.0 with asp.net 2003...&lt;/p&gt;
&lt;p&gt;i have looked at sites, on how to get this done correctly, but now having trouble.... this site is the one i followed, because it seems&lt;/p&gt;
&lt;p&gt;simple...&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.15seconds.com/issue/050210.htm"&gt;http://www.15seconds.com/issue/050210.htm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I downloaded and did what all the instruction tells me to... but now when it comes to the apsx page,&lt;/p&gt;
&lt;p&gt;I'm not sure where they all go, look for my remarks here with ***&lt;/p&gt;
&lt;p&gt;&lt;font face="Courier New"&gt;***&amp;nbsp;I'm not sure with to put this... do i put&amp;nbsp;it under my &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Courier New"&gt;web form designer code&amp;nbsp;following be everything else?&lt;/font&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;look at the original code on the above site.&lt;/p&gt;
&lt;p&gt;&lt;font face="Courier New"&gt;&amp;lt;%@ Page Language="VB" debug="true" %&amp;gt;&lt;br /&gt;&amp;lt;%@ Import Namespace = "System.Data" %&amp;gt;&lt;br /&gt;&lt;strong&gt;&amp;lt;%@ Import Namespace = "MySql.Data.MySqlClient" %&amp;gt;&lt;/strong&gt;&lt;br /&gt;&amp;lt;script language="VB" runat="server"&amp;gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Courier New"&gt;*** all % gets an blue underline and script language&lt;br /&gt;*** ----------------------------------- ***&lt;/font&gt;&lt;/p&gt;&lt;font face="Courier New"&gt;
&lt;p&gt;&lt;br /&gt;Sub Page_Load(sender As Object, e As EventArgs)&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Dim myConnection&amp;nbsp;&amp;nbsp;As &lt;strong&gt;MySqlConnection&amp;nbsp;&amp;nbsp; ***&amp;nbsp;i get an blue underline&lt;/strong&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Dim myDataAdapter&amp;nbsp;As &lt;strong&gt;MySqlDataAdapter&amp;nbsp; *** i get an blue underline &lt;/strong&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Dim myDataSet&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;As DataSet&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Dim strSQL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;As String&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Dim iRecordCount&amp;nbsp;&amp;nbsp;As Integer&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;myConnection = New &lt;strong&gt;MySqlConnection&lt;/strong&gt;("server=localhost; user id=15secs; password=password; database=mydatabase; pooling=false;")&amp;nbsp; *** mySQLConnection gets an blue&amp;nbsp;underline&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;strSQL = "SELECT * FROM mytable;"&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;myDataAdapter = New &lt;strong&gt;MySqlDataAdapter&lt;/strong&gt;(strSQL, myConnection)&amp;nbsp;&amp;nbsp;***&amp;nbsp;MySqlDataAdapter gets&amp;nbsp;an blue underline&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;myDataSet = New Dataset()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;myDataAdapter.Fill(myDataSet, "mytable")&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MySQLDataGrid.DataSource = myDataSet&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MySQLDataGrid.DataBind()&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;lt;title&amp;gt;Simple MySQL Database Query&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;form runat="server"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;asp:DataGrid id="MySQLDataGrid" runat="server" /&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/form&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If anyone don't mind, can you create one and copy it on and post it up&amp;nbsp; and tell me how to do it please!&lt;/p&gt;
&lt;p&gt;I've been trying to fix it for the past couple of days....&lt;/p&gt;
&lt;p&gt;One more question does anyone know how to use tom cat?&lt;/p&gt;&lt;/font&gt;</description></item></channel></rss>