MySQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMySQL 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 Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old October 12th, 1999, 11:02 AM
Gianni
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Ok, this is probably a silly question but I've just started with this whole PHP3 + mySQL thing. I tried implementing a guestbook and got the following message.


Fatal error: Call to unsupported or undefined function mysql_connect() in connect.inc.php3 on line 14

Reply With Quote
  #2  
Old October 12th, 1999, 11:27 AM
rod k
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
That error means PHP doesn't have mysql support compiled in.

Reply With Quote
  #3  
Old October 12th, 1999, 11:33 AM
Gianni
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
I kinda figured somethin like that....

how do I fix it ??

URL

Reply With Quote
  #4  
Old October 12th, 1999, 12:17 PM
rod k
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
You need to include:

--with-mysql=DIR

in the configuration. (Check the manual for more info). BTW, DIR defaults to /usr/local/ which is the default path for mysql, so you can exclude it as long as you didn't place mysql someplace funky.

Reply With Quote
  #5  
Old October 13th, 1999, 02:08 AM
Gianni
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
oh by the way I'm running this on NT


Reply With Quote
  #6  
Old October 13th, 1999, 07:55 AM
rod k
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Oh, that's where your problem is.. URL

Did you compile yourself? If so I don't know what to tell you as I've never done that on an Win box. However, you can dl binaries for Win32 that have mysql support compiled in. Check at www.php.net


Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMySQL Help > Help --- error


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 2 hosted by Hostway