Index

Subject : Re: LUG: Question Ubuntu and mysql

From : Ken Whichard <wwhichard@nc.rr.[redacted]>

Date : Mon, 04 Sep 2006 07:46:54 -0400

Parent


Thanks to everyone who helped with this one!

It turns out that I had to comment out the bind-address line to get it to work.

Now, another question.

I am trying to get a php script to run (a rather simple one) that uses the mysql_connect() function.  When I run the script, I get the following:

Fatal error : Call to undefined function: mysql_connect() in /var/www/apache2-default/whichard/hello.php on line 7

Do I need to do something to make functions work?

Using ver 5.0 xx of mysql

TIA again

Ken


At 06:22 PM 9/1/2006, you wrote:

On 9/1/06, Ken Whichard <wwhichard@nc.rr.[redacted]> wrote:
OK,

I have done all of the suggested steps but still have the same problem - I
have nosed around several forums and from some of the comments found, I
have discovered the following in the my.cnf file:

bind-address 127.0.0.1

Change the bind-address to the external IP, or add a new one for the
external IP.



Replies :