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:
  #1  
Old March 11th, 2004, 04:43 PM
nelsonwoo nelsonwoo is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 5 nelsonwoo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to nelsonwoo Send a message via AIM to nelsonwoo Send a message via Yahoo to nelsonwoo
mysql config problem

I got my php and mysql setup in Linux9, can do phpinfo, can create database & table in shell, can select, but when I do a mysql_connect in php, i got the following message

Fatal error: Call to undefined function: mysql_connect() in /var/www/html/php/php_practise/ch04/showmsg.php on line 9

I don't know what's wong, i checked i have php-mysql install in linux.

In the config of mysql, i found that the Path to mysql shared library directory is set to None, is that the problem? if yes, where should i find the correct path.

Thanks

Reply With Quote
  #2  
Old March 12th, 2004, 09:48 PM
-vertigo- -vertigo- is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Louth, Lincolnshire
Posts: 314 -vertigo- User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 24 sec
Reputation Power: 2
RE: mysql config problem

Unfortunately I don't know to much about Linux but I would check that PHP is compiled with the MySQL part (if that's a factor) and check that your php.ini is set properly.

That's all I can suggest.

Reply With Quote
  #3  
Old April 24th, 2004, 11:03 PM
srhone srhone is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Charlotte, NC
Posts: 2 srhone User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: mysql config problem

I just went through the same problem. Look at the following link, section 11.4.1 Common problem with MySQL and PHP. comes down to it, your going to need to reinstall PHP with the --with-mysql option


http://www.mysqlfreaks.com/mysql/manual_Clients.html#PHP

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesDatabase Help > mysql config problem


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 4 hosted by Hostway
Stay green...Green IT