Current location: Hot Scripts Forums » Programming Languages » PHP » Fetal Error:Call to undefined functions mysql_connect;


Fetal Error:Call to undefined functions mysql_connect;

Reply
  #1 (permalink)  
Old 07-31-06, 10:14 AM
aliwaqas1 aliwaqas1 is offline
New Member
 
Join Date: Jul 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question Help.Help::Fetal Error:Call to undefined function mysql_connect;

I have installed IIS mysql.and php 5 but when i browse the file through IIS it shows an error Fetal Error:Call to undefined function mysql_connect.........;.Please Help me out.and shows the same message for many other functions and what should be the and user to connect to the mysql database. Is there something wrong with user pass or host name.Also Tell Me how to configure mysql to correspond to the php.
Thanks
Aliwaqas

Last edited by aliwaqas1; 07-31-06 at 10:56 AM.
Reply With Quote
  #2 (permalink)  
Old 07-31-06, 12:08 PM
mab's Avatar
mab mab is offline
Community VIP
 
Join Date: Oct 2005
Location: Denver, Co. USA
Posts: 2,674
Thanks: 0
Thanked 0 Times in 0 Posts
The most common reason for an undefined mysql function call is that mysql is not enabled by default in all recent versions of PHP.

Find the following line in the php.ini and remove the semi-colon in the first column to uncomment it. Restart your computer to cause the change to take effect -
Code:
;extension=php_mysql.dll
__________________
Error checking, error reporting, and error recovery. If your code does not have these to get it to tell you why it is not working, what makes you think someone in a programming forum will be able to tell you why it is not working???
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
Problems getting PHP-Nuke setup correctly TravisT PHP 2 12-17-05 07:54 PM
Include problem in C bkbenson C/C++ 4 02-08-05 04:24 AM


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