473,472 Members | 1,760 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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
Nov 17 '05 #1
6 2998
My colleague Carl Prothman has a great collection of connection strings
(including MySQL.NET) here:

http://www.able-consulting.com/dotne...NativeProvider

Ken

"David Whitehouse" <da***@whitehouse.liqx.net> wrote in message
news:3f******@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

Nov 17 '05 #2
Hi,

here are two good links:

"David Whitehouse" <da***@whitehouse.liqx.net> wrote in message
news:3f******@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

Nov 17 '05 #3
Hi,

here are two good links about this:

http://www.mysql.com/articles/dotnet/#ODBC.NET

http://www.mysql.com/products/myodbc...ml#Without_DSN

Best regards,

Marc Höppner
NeoGeo

"David Whitehouse" <da***@whitehouse.liqx.net> wrote in message
news:3f******@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

Nov 17 '05 #4
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" <ma**********@hotmail.com> wrote in message
news:OB**************@tk2msftngp13.phx.gbl...
Hi,

here are two good links about this:

http://www.mysql.com/articles/dotnet/#ODBC.NET

http://www.mysql.com/products/myodbc...ml#Without_DSN

Best regards,

Marc Höppner
NeoGeo

"David Whitehouse" <da***@whitehouse.liqx.net> wrote in message
news:3f******@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


Nov 17 '05 #5
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" <da***@whitehouse.liqx.net> wrote in message
news:3f******@dnews.tpgi.com.au...
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" <ma**********@hotmail.com> wrote in message
news:OB**************@tk2msftngp13.phx.gbl...
Hi,

here are two good links about this:

http://www.mysql.com/articles/dotnet/#ODBC.NET

http://www.mysql.com/products/myodbc...ml#Without_DSN

Best regards,

Marc Höppner
NeoGeo

"David Whitehouse" <da***@whitehouse.liqx.net> wrote in message
news:3f******@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



Nov 17 '05 #6
are you still having problems with this?

"Marc Hoeppner" <ma**********@hotmail.com> wrote in message
news:eE**************@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" <da***@whitehouse.liqx.net> wrote in message
news:3f******@dnews.tpgi.com.au...
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" <ma**********@hotmail.com> wrote in message
news:OB**************@tk2msftngp13.phx.gbl...
Hi,

here are two good links about this:

http://www.mysql.com/articles/dotnet/#ODBC.NET

http://www.mysql.com/products/myodbc...ml#Without_DSN

Best regards,

Marc Höppner
NeoGeo

"David Whitehouse" <da***@whitehouse.liqx.net> wrote in message
news:3f******@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
>
>



Nov 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: AF | last post by:
I am a real novice to php and MySQL, with about a week's worth of reading and self tutoring. I have an urgent need to publish a database of information and need some guidance on how to do this. ...
12
by: Sarah Tanembaum | last post by:
Though I installed MySQL5 and PHP5, how come my phpinfo() shows as follow: MySQL Support enabled Active Persistent Links 0 Active Links 0 Client API version 3.23.57 <<<<<<<<<<<<<<< ...
5
by: Raju V.K | last post by:
I am developing a web site which requires a set og unique values be transferred between pages and server many times. There fore i decided to put the values in an array so that only one reference to...
0
by: Jeremy Booker | last post by:
I installed the current stable release of MySQL from RPMs. I used the client and server packages. After installing the server package, the RPM printed a note saying I should run two commands. I...
0
by: Jamie Krasnoo | last post by:
Will placing Apache::RequestRec & Apache::RequestIO & APR::Table in startup.pl to load them up for multiple handlers have any bad side effects? I noticed that when I load them via startup.pl the...
4
by: MLH | last post by:
A programmer developed an AMP (Apache/MySQL/PHP) application for me. When he was done, he sent me the PHP files and the MySQL dump file. Now, when I connect to the application on my LAN using...
3
by: 21novembre | last post by:
Hi all, I made a question several days before to describe my strange trouble of mysqldump. But I still can't figour it out. Well, I just want to ask another question whether I could just backup...
2
by: zhengfish | last post by:
Hi,All, I try to install mysql-5.0.15 on RHEL3-U5. But It give me a error. MySQL-client-standard-5.0.15-0.rhel3.i386.rpm MySQL-devel-standard-5.0.15-0.rhel3.i386.rpm...
6
by: John Wells | last post by:
Guys, My boss has been keeping himself busy reading MySQL marketing pubs, and came at me with a few questions this morning regarding PostgreSQL features (we're currently moving to PostgreSQL). ...
3
by: subho2009 | last post by:
Hello friends, I have face a problem, the problem is that when i fetch data from mysql database i get '&' in the place of '&amp;'. I am using php 5.1.2 and mysql version 5.0.11-beta. What is the...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.