Hi !
I installed mysql server on my winxp platform. To make sure i'm connected to the mysql server i wrote the following command in the dos window:
program files\mysql\mysql server 4.1\bin\mysqladmin -pmypass -uroot ping
and recieved the following notification:
mysql is alive
which means: i'm connected to mysql.
I write the following code using php:
<?php
$myconnection=mysql_connect("root","mypass");
?>
and i recieve the following error mesdage:
Fatal error: Call to undefined function mysql_connect() in c:\Inetpub\wwwroot\cgi-bin\mysql.php on line 2
could any one explain me why i cant activate mysql commands using php ?
Thanks !