Current location: Hot Scripts Forums » Programming Languages » ASP.NET » Connect to MySQL and create variables


Connect to MySQL and create variables

Reply
  #1 (permalink)  
Old 08-16-05, 11:15 AM
ronlar ronlar is offline
Newbie Coder
 
Join Date: Jun 2005
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Question Connect to MySQL and create variables

I have a ASP.NET page (mysql.aspx) which I want to connect to a MySQL database and run a SELECT query.
Then, from the result of the query, I want to create variables which can be used later in the script.

I have tried different code to connect to MySQL, but the page doesn´t show (HTTP 500 error).

What is the right way to connect and how do I create the variables?
Reply With Quote
  #2 (permalink)  
Old 08-16-05, 03:58 PM
koncept
Guest
 
Posts: n/a
do you have thew .net connector installed (provided by mysql.com) any only the 1.1 framework, will not work with 2
Reply With Quote
  #3 (permalink)  
Old 08-19-05, 11:34 AM
ronlar ronlar is offline
Newbie Coder
 
Join Date: Jun 2005
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
I will check with my web hotel which components are installed on the web server (Windows).
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when trying to create MySQL table via PHP HasansWeb PHP 5 05-19-11 06:59 AM
How to create a php mysql site searchable from search engines? Klesti PHP 2 05-16-04 04:09 PM
Can't connect to local MySQL Abdul Script Requests 3 04-02-04 02:35 AM
Can't connect to local MySQL ERROR Abdul PHP 1 03-27-04 02:43 PM
cant create tables in mysql banli PHP 3 02-26-04 06:14 PM


All times are GMT -5. The time now is 01:07 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.