Forum Moderators: coopster

Message Too Old, No Replies

Trouble recognising MySql

MySql and PHP an Madrake 9

         

Montbazin

11:29 am on May 20, 2005 (gmt 0)

10+ Year Member



Hello

I'm new to this forum so excuse me if I make any mistakes.

My problem is MySql recognition on my Mandrake 9 Linux distribution.

When I create a web page with PHP in it and I check it with:

http://127.0.0.1
it works perfectly well.
When I make some mysql test on the command mine I ge good results.

But when I enter a

mysql_connect()
function in my web page I get a fatal error message:

Fatal error: Call to undefined function: mysql_connect() 

Wat is wrong with my installation?

Many thanks for your help
Roberto

jatar_k

4:09 pm on May 20, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



maybe this thread will give you some ideas, there are also a bunch of other links in there

[webmasterworld.com...]

Montbazin

10:36 pm on Jun 1, 2005 (gmt 0)

10+ Year Member



The solution was to install the
php_mysql
file, which makes the link betweent MySql and PHP.

Now it works fine!

jatar_k

10:47 pm on Jun 1, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



glad you got it sorted