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:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old July 15th, 2000, 03:11 PM
jamnbryan jamnbryan is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Posts: 12 jamnbryan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hey,
I downloaded the latest beta of mySQL from mysql.com [for windows] and i installed it and ran winmysqladmin.exe as the readme tells me to. I filled the the username/pw and then save and it to the ini and then it runs the mySQL program without a problem. Then i ran mysql.exe to make sure there werent any conflicts or errors, and it worked fine and i made a quick database. But, then when i try to use mysql functions in PHP [any of them], i get the following error..

Fatal error: Call to undefined function: mysql_connect() in Dhpbblah.php3 on line 8

Anyone know why this is happening? I have omni httpd server running, and PHP works fine and the green light on the mySQL admin is green. Any help would be greatly appreciated.

Thanks
-Bryan

Reply With Quote
  #2  
Old July 15th, 2000, 04:34 PM
rod k rod k is offline
Apprentice Deity
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Jul 1999
Location: Niagara Falls (On the wrong side of the gorge)
Posts: 3,237 rod k User rank is Private First Class (20 - 50 Reputation Level)rod k User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 m 8 sec
Reputation Power: 13
Send a message via AIM to rod k
You have to enable mysql functions in PHP. There should be a line in php.ini that looks something like:

;extension=php3_mysql.dll

remove the semi-colon

Reply With Quote
  #3  
Old July 15th, 2000, 11:01 PM
jamnbryan jamnbryan is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Posts: 12 jamnbryan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Rod,
I already had that line in php.ini un commented...anything else that may be causing the problem?

-Bryan

Reply With Quote
  #4  
Old July 18th, 2000, 04:19 AM
billyo billyo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 114 billyo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
I'd been using MySQL 3.22.xx for windows for a little while, and then I thought it'd be cool to upgrade... I'd stay away from the little GUI for the mysqladmin and just run the whole shoot'n match from your DOS CLI. That GUI made it so I couldn't connect either. I just cleaned up what I could, did a re-install (re-unzip ) and never double clicked on anything in the mysqlbin again.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMySQL Help > Problem with mySQL


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