Hy,
I have installed, using the installer, the latest stable version of PHP and MySQL for MS Win XP with IIS as server. I followed the instructions for enabling the PHP extension for MySQL. Using
mysql and mysqli extension are recognized as enabled.
I tried to connect using the PHP to a database that I made but I received the warning that it can' t connect to the MySQL server. I' ve checked and checked and I can' t figure where is the mistake in configuration: I went over th php.ini file again: path to extension folder is good in the configuration of IIS the php scripts are good, the dll have been dowloaded from mysql.com and they are put in the right folders (System32 and ext in the PHP' s folder), the php script is correct.
Any ideas ?
Last edited by Rovas on Thu Apr 19, 2007 3:05 am, edited 1 time in total.
Warning: mysqli_connect() [function.mysqli-connect]: (HY000/2003): Can't connect to MySQL server on 'localhost' (10061) in
D:\Work\site\db_class.php on line 37
It is running if it wasn' t running I couldn' t create the database (I create first then I run the php script), it appears as running in the list of process of Task Manager. I restarted the service, the server, and the computer after each change I made.