Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > MySQL
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
MySQL General discussion about the MySQL database.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the MySQL section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 10th, 2006, 06:36 AM
Registered User
 
Join Date: Feb 2006
Location: chennai, tamilnadu, India.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to g.tamilselvan
Default i can not use the mysql_connect() function

hai,

i am using windows XP Professional. I installed mysql5,php4.4 and iis5.1. when i am tring to connect the mysql database through mysql_connect() function, i am being given the error message. function undefined. But in win98 i could use this.


What should i do to use that functions to connect the mysql database. Is there any changes should be made in the php.ini file? if it is s then pls inform me the steps to do.

thank u very much.
Reply With Quote
  #2 (permalink)  
Old February 13th, 2006, 05:53 AM
Friend of Wrox
 
Join Date: Jan 2006
Location: San Francisco, CA, USA.
Posts: 198
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Are you sure you're using PHP4.4? In PHP5, the MySQL functions are not compiled in to the main PHP build. Instead you have to enable the MySQL functions by uncommenting the MySQL extension DLL in mysql.ini. In PHP 4.x, you should not need to do this. If you're sure it's PHP 4.4, then double-check that you spelled the function name correctly! :)

Jon Emerson
http://www.jonemerson.net/
Reply With Quote
  #3 (permalink)  
Old February 14th, 2006, 09:03 AM
Registered User
 
Join Date: Feb 2006
Location: chennai, tamilnadu, India.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to g.tamilselvan
Default

hai,


thank u guy. Now it's working fine. thanks a lot.:D

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with mysql_connect() Evarias PHP Databases 5 May 24th, 2006 12:01 PM
Call to undefined function mysql_connect() tks_muthu PHP Databases 2 June 14th, 2005 01:23 AM
mysql_connect() will not connect!!!! crazyfool PHP Databases 3 February 26th, 2005 11:09 AM
retreive function/Line from macro or function? MikoMax J2EE 0 April 1st, 2004 04:42 AM
undefined function: mysql_connect() shabboleth Beginning PHP 2 September 18th, 2003 05:09 PM



All times are GMT -4. The time now is 02:36 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.