Ask a Question related to ASP.NET General, Design and Development.
-
David Whitehouse #1
ASP.NET & MySQL
Ok, I have a MySQL database on my server, and i want to test my ASP.NET
pages on my localhost. How do i do a DNS-less connection to it and pull data
from the database? I've tried some stuff from asp.net but nothings working.
-David
David Whitehouse Guest
-
#40471 [NEW]: PHP 5.2.1 failed to be compiled with MySQl 5.0.33, MySQL 5.0.27, MySQL 5.1.15
From: pcdinh at gmail dot com Operating system: CentOS 4.4 PHP version: 5.2.1 PHP Bug Type: Compile Failure Bug description:... -
#40207 [NEW]: Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL ser
From: arif at peshawaronline dot com Operating system: PHP version: 4.4.4 PHP Bug Type: Compile Warning Bug description: ... -
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
When i try to start my mysql server, i get this error ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'... -
Seen this message? Can't connect to local MySQL server through socket '/tmp/mysql.sock'
Seen this message? Can't connect to local MySQL server through socket '/tmp/mysql.sock' I got this trying to install DBI and DBD for mysql from... -
Seen this message? Can't connect to local MySQL server throughsocket '/tmp/mysql.sock'
Allen Marshall wrote: I just saw it in another newsgroup. Don't multi-post! -- Gunnar Hjalmarsson Email:... -
Ken Cox [Microsoft MVP] #2
Re: ASP.NET & MySQL
My colleague Carl Prothman has a great collection of connection strings
(including MySQL.NET) here:
[url]http://www.able-consulting.com/dotnet/adonet/Data_Providers.htm#MySQLNETNativeProvider[/url]
Ken
"David Whitehouse" <david@whitehouse.liqx.net> wrote in message
news:3f1937a8@dnews.tpgi.com.au...
Ok, I have a MySQL database on my server, and i want to test my ASP.NET
pages on my localhost. How do i do a DNS-less connection to it and pull data
from the database? I've tried some stuff from asp.net but nothings working.
-David
Ken Cox [Microsoft MVP] Guest
-
Marc Hoeppner #3
Re: ASP.NET & MySQL
Hi,
here are two good links:
"David Whitehouse" <david@whitehouse.liqx.net> wrote in message
news:3f1937a8@dnews.tpgi.com.au...data> Ok, I have a MySQL database on my server, and i want to test my ASP.NET
> pages on my localhost. How do i do a DNS-less connection to it and pullworking.> from the database? I've tried some stuff from asp.net but nothings> -David
>
>
Marc Hoeppner Guest
-
Marc Hoeppner #4
Re: ASP.NET & MySQL
Hi,
here are two good links about this:
[url]http://www.mysql.com/articles/dotnet/#ODBC.NET[/url]
[url]http://www.mysql.com/products/myodbc/faq_3.html#Without_DSN[/url]
Best regards,
Marc Höppner
NeoGeo
"David Whitehouse" <david@whitehouse.liqx.net> wrote in message
news:3f1937a8@dnews.tpgi.com.au...data> Ok, I have a MySQL database on my server, and i want to test my ASP.NET
> pages on my localhost. How do i do a DNS-less connection to it and pullworking.> from the database? I've tried some stuff from asp.net but nothings> -David
>
>
Marc Hoeppner Guest
-
David Whitehouse #5
Re: ASP.NET & MySQL
Sadly I've already read them and dont understand too well. I've tried to
give them a go but still get the same errors. What i really need is a
dummies guide to set it up, step by step.
"Marc Hoeppner" <marchoeppner@hotmail.com> wrote in message
news:OBZxThgTDHA.1288@tk2msftngp13.phx.gbl...> Hi,
>
> here are two good links about this:
>
> [url]http://www.mysql.com/articles/dotnet/#ODBC.NET[/url]
>
> [url]http://www.mysql.com/products/myodbc/faq_3.html#Without_DSN[/url]
>
> Best regards,
>
> Marc Höppner
> NeoGeo
>
> "David Whitehouse" <david@whitehouse.liqx.net> wrote in message
> news:3f1937a8@dnews.tpgi.com.au...> data> > Ok, I have a MySQL database on my server, and i want to test my ASP.NET
> > pages on my localhost. How do i do a DNS-less connection to it and pull> working.> > from the database? I've tried some stuff from asp.net but nothings>> > -David
> >
> >
>
David Whitehouse Guest
-
Marc Hoeppner #6
Re: ASP.NET & MySQL
Hi,
have you tried something like:
MySqlConn.ConnectionString = "Data Source=localhost;Database=<DB>;User
ID=<user>;Password=<password>";
I assume MySQL is on the same box.
Best regards,
Marc Höppner
NeoGeo
"David Whitehouse" <david@whitehouse.liqx.net> wrote in message
news:3f197309@dnews.tpgi.com.au...ASP.NET> Sadly I've already read them and dont understand too well. I've tried to
> give them a go but still get the same errors. What i really need is a
> dummies guide to set it up, step by step.
>
> "Marc Hoeppner" <marchoeppner@hotmail.com> wrote in message
> news:OBZxThgTDHA.1288@tk2msftngp13.phx.gbl...> > Hi,
> >
> > here are two good links about this:
> >
> > [url]http://www.mysql.com/articles/dotnet/#ODBC.NET[/url]
> >
> > [url]http://www.mysql.com/products/myodbc/faq_3.html#Without_DSN[/url]
> >
> > Best regards,
> >
> > Marc Höppner
> > NeoGeo
> >
> > "David Whitehouse" <david@whitehouse.liqx.net> wrote in message
> > news:3f1937a8@dnews.tpgi.com.au...> > > Ok, I have a MySQL database on my server, and i want to test mypull> > > pages on my localhost. How do i do a DNS-less connection to it and>> > data> > working.> > > from the database? I've tried some stuff from asp.net but nothings> >> > > -David
> > >
> > >
> >
>
Marc Hoeppner Guest
-
Alvin Bruney #7
Re: ASP.NET & MySQL
are you still having problems with this?
"Marc Hoeppner" <marchoeppner@hotmail.com> wrote in message
news:eErf5uhTDHA.2480@tk2msftngp13.phx.gbl...> Hi,
>
> have you tried something like:
>
> MySqlConn.ConnectionString = "Data Source=localhost;Database=<DB>;User
> ID=<user>;Password=<password>";
>
> I assume MySQL is on the same box.
>
> Best regards,
>
> Marc Höppner
> NeoGeo
>
> "David Whitehouse" <david@whitehouse.liqx.net> wrote in message
> news:3f197309@dnews.tpgi.com.au...> ASP.NET> > Sadly I've already read them and dont understand too well. I've tried to
> > give them a go but still get the same errors. What i really need is a
> > dummies guide to set it up, step by step.
> >
> > "Marc Hoeppner" <marchoeppner@hotmail.com> wrote in message
> > news:OBZxThgTDHA.1288@tk2msftngp13.phx.gbl...> > > Hi,
> > >
> > > here are two good links about this:
> > >
> > > [url]http://www.mysql.com/articles/dotnet/#ODBC.NET[/url]
> > >
> > > [url]http://www.mysql.com/products/myodbc/faq_3.html#Without_DSN[/url]
> > >
> > > Best regards,
> > >
> > > Marc Höppner
> > > NeoGeo
> > >
> > > "David Whitehouse" <david@whitehouse.liqx.net> wrote in message
> > > news:3f1937a8@dnews.tpgi.com.au...
> > > > Ok, I have a MySQL database on my server, and i want to test my> pull> > > > pages on my localhost. How do i do a DNS-less connection to it and>> >> > > data
> > > > from the database? I've tried some stuff from asp.net but nothings
> > > working.
> > > > -David
> > > >
> > > >
> > >
> > >
> >
>
Alvin Bruney Guest



Reply With Quote

