Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Weird mysql_connect problem

 
   Database Help (Home) -> PHP SQL RSS
Next:  ADO recordset question  
Author Message
J

External


Since: Feb 21, 2005
Posts: 2



(Msg. 1) Posted: Mon Feb 21, 2005 1:40 pm
Post subject: Weird mysql_connect problem
Archived from groups: alt>php>sql (more info?)

Hello.

My mysql_connect just started to give me following error today,
Fatal error: Call to undefined function: mysql_connect() in
..../database_functions/db_functions.inc.php on line 11.

So it seems that my php no longer finds php-mysql module. However there
has been no changes on my php installation.

Thou i just upgraded my mysql to version 4.1.9, because I needed InnoDb
tables for something else, so I removed old mysql and installed that new
version from rpms.

This seemed to work for a day or two. I was able to add few databases
with phpMyAdmin, so php-mysql have been working on this new version. But
this morning when I tried to log on to my website, it gave an error
above, so did phpMyAdmin.

I've been googling for awhile on this issue, but I can't find anything
on it.

Here's list of things I thought could have something to do with this...

FedoraCore1 with Apache/2.0.50

php 4.3.8-1.1
MySQL-Max 4.1.9-0
MySQL-client 4.1.9-0
MySQL-server 4.1.9-0
MySQL-shared 3.23.51-1
php-mysql 4.3.8-1.1

Ok, any help appreciated.

TIA,
Janne

 >> Stay informed about: Weird mysql_connect problem 
Back to top
Login to vote
J

External


Since: Feb 21, 2005
Posts: 2



(Msg. 2) Posted: Mon Feb 21, 2005 1:40 pm
Post subject: Re: Weird mysql_connect problem [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

J wrote:

 > My mysql_connect just started to give me following error today,
 > Fatal error: Call to undefined function: mysql_connect() in
 > .../database_functions/db_functions.inc.php on line 11.

Oh, and my /var/log/httpd/error_log gives me this error regarding this:

PHP Warning: Unknown(): Unable to load dynamic library
'/usr/lib/php4/mysql.so'
- /usr/lib/libmysqlclient.so.10: symbol errno, version GLIBC_2.0 not
defined in
file libc.so.6 with link time reference in Unknown on line 0

I have no idea whatsoever what this means, or how i could fix this. This
might be the clue for all of this... Wink

TIA,
Janne<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Weird mysql_connect problem 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
mysql_connect and private user function - Hi, got a bit stuck whit this... I have page where I connect to database and it works fine, but when I try to do it in my own function, I get error. my code: ----------------------------------------------- //connect to database... $con =..

Upgrade problem - Hi folks, I recently upgraded my db from version 3.23.49 (I think) to 4.0.23. I had previously done this on two other machines with no problems but on this server some (not all) of my MySQL user accounts have stopped working. For example one I had to...

[MySQL] hierachy problem ... - Hello, I have a table which have these fields: - id - idParent - label I would like to display each field and his children but each parent may have no child. Example: A AA AB AC B C CA CB .... I can't write the request, could you help me?....

Problem Reading File when Name contains "?" - Problem Reading File when Name contains "?" I am trying to access all of the files in a directory, using $a=opendir($dir) ; while ($file=readdir($a)) and $b=file_get_contents($dir."/".$file). However, when $file contains characters...

function problem involving query - I'm trying to construct a database of old houses including the parts they are made of as roof construction, floor construction, types of windows, vaults, etc. To do that I set up several tables. One containing the house id, address, last visit, etc. For....
   Database Help (Home) -> PHP SQL All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]