Call to undefined function: mysql_connect()

  • Willy
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Jul 03, 2003
  • Posts: 199
  • Status: Offline

Post July 11th, 2003, 6:20 am

I installed rh myself. In fact this was the second install of it i did on the box. THe first one i did standard install, this one i picked custom specificly for the purpose of getting mysql and php. I told it i wanted databasing.. i dunnea what happend


~j
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post July 11th, 2003, 6:20 am

  • skittles239
  • Born
  • Born
  • No Avatar
  • Joined: Oct 03, 2004
  • Posts: 4
  • Status: Offline

Post October 3rd, 2004, 3:50 am

It seems that MySql in indeed installed.
Try /usr/bin/safe_mysqld &
This should start mysql no problem
After entering the command, type ps ax
you should see a bunch of mysql processes running
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Joined: Jan 23, 2004
  • Posts: 2673
  • Loc: Somewhere outside the box in Sarasota, FL.
  • Status: Offline

Post October 4th, 2004, 5:45 am

That particular error most probably means that php was compiled without MySQL support. (In some cases the default is Postgres -- can't keep up with all the sundry Linux distros. )
You will need to enable it in the php config, then recompile.
You can find out if it is installed by making a page with just this on it:
<?php
echo phpinfo();
?>
Then look at the page.

More than likely, you do not have support compiled into php, and you'll have to add it to the config file.

Cheers.
"It's always a long day, 86,400 won't fit into a short."

Post Information

  • Total Posts in this topic: 18 posts
  • Users browsing this forum: No registered users and 42 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.