[SOLVED] Can' t connect to MySQL server
Posted: Wed Apr 18, 2007 5:13 am
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 ?
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
Code: Select all
php_info();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 ?