Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Warning: mysql_connect()

Hello,

 

I am trying to create a application that would require data from a fitbit user. I have done the registration and gotten the user key and secret. Alright, so far so good. Now when I run my php file it gives these errors:

 
Warning: mysql_connect(): No connection could be made because the target machine actively refused it. in D:\Xampp\htdocs\Example\oauth-php\example\server\core\init.php on line 53
No connection could be made because the target machine actively refused it.

 

I am not sure why fitibit is refusing my request. 

Best Answer
0 Votes
1 REPLY 1

This is not an issue with Fitbit, mysql_connect() is used in PHP to connect to a MySQL Database.

Best Answer
0 Votes