ASP.NET & MySQL

  • Thread starter Thread starter David Whitehouse
  • Start date Start date
D

David Whitehouse

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
 
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.
 
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
 
are you still having problems with this?

Marc Hoeppner said:
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
 
Back
Top