Page 1 of 1

SQL cannot running in xampp v 3.2.2

PostPosted: 29. June 2016 03:44
by megapro1945
Good Morning, my name ivan and i want ask about

Why SQL Query cannot running in xampp V 3.2.2 ?? and Error " Warning: mysql_connect(): No connection could be made because the target machine actively refused it".

i am newbie.

Please explain about this.

Thanks.

Re: SQL cannot running in xampp v 3.2.2

PostPosted: 29. June 2016 08:38
by Altrea
Hi,

There is no XAMPP version 3.2.2. Please read the following thread to see where you can find the correct version information:
=> viewtopic.php?f=16&t=72518#p233616

The error message is very clear. The SQL Server you are trying to connect to does not have an accessable service running on the expected port. So either there is a firewall blocking your connection attempt or there is no mysql service running.

best wishes,
Altrea

P.S.: You should begin to use other MySQL drivers like mysqli or PDO. mysql will no longer work with the current PHP version 7.X