SunQuest
           Database Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesDatabase Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old November 26th, 2003, 11:47 AM
DeZignsUnlimited DeZignsUnlimited is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Myrtle Beach
Posts: 3 DeZignsUnlimited User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to DeZignsUnlimited
Add MySQL Database to Frontpage Site

Ok, first off I am a TOTAL newbie in the PHP/MySQL area. I've designed sites in Frontpage and used the Database wizard for a Access database in the past but this is got me stumped.

Problem: The hosting company I'm with now does NOT support .ASP so I'm forced to use MySql database that they provide.
I am making a site and need to have a simple box for the visitor to add their email address and click a submit button, have that add to the database. I was trying to add the SQL database to the site but it comes back with a error:

Server error: Unable to connect to a database from the Web server using the connection string 'DRIVER={SQL Server};SERVER=supremecenter.com;DATABASE=dezigns_ database;UID=********;PWD=********'.

The following error message comes from the database driver software; it may appear in a different language depending on how the driver is configured.
-------------------------------------------------------
[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.

Source: Microsoft OLE DB Provider for ODBC Drivers
Number: -2147467259 (0x80004005)

The hosting company is about worthless and I dont expect any kind of answer there so I searched the net and found you guys. Can anyone help? I'll probably need it spelled out for me, Sorry

Reply With Quote
  #2  
Old November 26th, 2003, 11:57 AM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: Add MySQL Database to Frontpage Site

have a look at the following tutorial, as it may shed some light on your problem.

http://www.databasejournal.com/features/php/article.php/10898_1469211_1

I assume that you are also going to have to re-code all your .ASP pages in .PHP, so here is a link to the PHP site as well.

http://www.php.net

Take a look and if you have more questions, let us know.

Reply With Quote
  #3  
Old November 26th, 2003, 12:01 PM
Danicek Danicek is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Czech Republic
Posts: 79 Danicek User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to Danicek
RE: Add MySQL Database to Frontpage Site

You should specify more exactly what you need. You made your site in Frontpage. So it is only html site? Why is it important that your providare stoped to support ASP? Or will you remake your site in PHP and do you need to know how to connect to your database in PHP?

Reply With Quote
  #4  
Old November 26th, 2003, 12:07 PM
DeZignsUnlimited DeZignsUnlimited is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Myrtle Beach
Posts: 3 DeZignsUnlimited User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to DeZignsUnlimited
RE: Add MySQL Database to Frontpage Site

It's a new site I'm building now. It's in standard HTML so far. I've been playing with some PHP scripts to add to the site (ex. PHPBB forum) And gotten those to work, but not as "part" of the site its self yet. But again the site I'm working on is HTML.

They didn't drop .ASP, just dont offer it. I wans't aware of that when I bought the year of hosting.

Specifing what I need (thought I had sorry) is to find out what I'm doing wrong when I try to connect to the MySQL server in my Frontpage site. (You know, make a form, add a database.... Netwoek Database.. SQL....) It adds it but it's a broken link, I try to verify and get the erro messag eI posted before.

Reply With Quote
  #5  
Old November 26th, 2003, 12:11 PM
DeZignsUnlimited DeZignsUnlimited is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Myrtle Beach
Posts: 3 DeZignsUnlimited User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to DeZignsUnlimited
RE: Add MySQL Database to Frontpage Site

One other thing... At this point I have a database set up on the server, it's already got stuff in it from the Forum I was tinkering with. The page I'm working on wasn't .ASP yet becaus eI'd not added the form. I made the form, set up the database as I usualy do and when I went to post found that the server doens't support .ASP so I started looking for a solution

Reply With Quote
  #6  
Old November 26th, 2003, 12:12 PM
Danicek Danicek is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Czech Republic
Posts: 79 Danicek User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to Danicek
RE: Add MySQL Database to Frontpage Site

Ok, so if links posted by Blindeddie will not help, you should probably post code where you try to connect to database.

Reply With Quote
  #7  
Old November 26th, 2003, 12:20 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Add MySQL Database to Frontpage Site

Found the problem.

I was doing it right, the Hosting company does not support outside connections to the database.

Reply With Quote
  #8  
Old November 26th, 2003, 12:25 PM
Danicek Danicek is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Czech Republic
Posts: 79 Danicek User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to Danicek
RE: Add MySQL Database to Frontpage Site

Ok, its fine you did it

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesDatabase Help > Add MySQL Database to Frontpage Site


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway