How to activate the mysql database in xampp on windows platform?
问题 I've installed XAMPP on my Windows XP. I started the XAMPP control panel and it shows apache and mysql are running. When I check the status by going to localhost/xampp it shows: mysql : deactivated When I run php files that access the mysql database, it shows the following errors: Warning: mysql_connect() [function.mysql-connect]: [2002] No connection could be made because the target machine actively refused it. (trying to connect via tcp://localhost:3306) in C:\xampp\htdocs\Elo_algorithm.php