octabrain
Member
Hey,
I'm getting the error 'Connection refused' during the installation of xenForo.
Unfortunately it seems like I entered all the data correctly and I can connect to the DB if I just use a small script like that:
<?php
$host_name = "localhost:/tmp/mysql5.sock";
$database = "db618287096";
$user_name = "dbo618287096";
$password = "password is usually here";
$connect = mysql_connect($host_name, $user_name, $password);
if(mysql_errno()) { echo '<p>Connection failed: '.mysql_error().'</p>'; }
else { echo '<p>Connection established</p>'; }
?>
The output with the correct PW is as expected: Connection established.
During the xenForo installation I get this screen, fill it all in, like this
and then on the next screen I get the error message about the connection being refused.
I'm getting the error 'Connection refused' during the installation of xenForo.
Unfortunately it seems like I entered all the data correctly and I can connect to the DB if I just use a small script like that:
<?php
$host_name = "localhost:/tmp/mysql5.sock";
$database = "db618287096";
$user_name = "dbo618287096";
$password = "password is usually here";
$connect = mysql_connect($host_name, $user_name, $password);
if(mysql_errno()) { echo '<p>Connection failed: '.mysql_error().'</p>'; }
else { echo '<p>Connection established</p>'; }
?>
The output with the correct PW is as expected: Connection established.
During the xenForo installation I get this screen, fill it all in, like this
and then on the next screen I get the error message about the connection being refused.