This not be what you need, but I think there are some squiggle brackets missing. $conexion = mysql_connect("servername","username","password"); <?php If (!$conexion){ Echo "Error connecting."; } ?> Again, I don't think this is the root of the problem but it's the first thing that popped out to me without knowing much more about your system. Have you been able to connect to your mySQL instance with PHP before? With no root password? BTW - I have installed PHP and mySQL on WinXP in the past and it worked fine. One caveat is that I recall using Apache not IIS. -----Original Message----- From: PHPDiscuss - PHP Newsgroups and mailing lists [mailto:soporte@xxxxxxxxxxxxx] Sent: Wednesday, December 15, 2004 9:20 AM To: php-db@xxxxxxxxxxxxx Subject: MYSQL Maximum Time Exceeded Hi. I am running MySQL 4.0 and PHP 4.3.9 (MySQL Client Version 3.9.23) in Windows XP. I get this error when I try to connect to mysql: Fatal error: Maximum execution time of 60 seconds exceeded in c:\inetpub\wwwroot\index.php on line 4 My PHP script is: <html> <body> <?php $conexion = mysql_connect( "localhost", "root", "" ); if (!$conexion ) echo "Error Connecting." ?> </body> </html> I also tried installing newer PHP versios and newer MySQL but it's the same. Can anybody help me, please ? Is WinXP incomaptible with MySQL or what ? Thanks in advance. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.5.4 - Release Date: 12/15/2004 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.5.4 - Release Date: 12/15/2004 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php