Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
kipstapleton
New Member
New Member



Joined: Feb 27, 2006
Posts: 6

PostPosted: Sat May 19, 2012 11:09 am Reply with quote

Having a slight issue with v2.5 - during installation, I have no errors, no problems, everything goes according to plan - however - once the installation is complete and the installation directory is deleted I get an error as such:

Connect Error (2005) Unknown MySQL server host 'localhost:/tmp/mysql5.sock' (1)

This is a 1and 1 server and I'm just thinking outloud that there may be an issue with the .sock - has anyone encountered this before? I searched the forums and googled it and found varioius references to other programs but not RavenNuke.

Thanks in advance for any and all posts concerning this.
 
View user's profile Send private message
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Sat May 19, 2012 11:15 am Reply with quote

Find out what versions of php and mysql they are using.

_________________
Tricked Out News 
View user's profile Send private message Send e-mail Visit poster's website
kipstapleton







PostPosted: Sat May 19, 2012 11:25 am Reply with quote

MySQL v5.0

PHP Version 5.2.17

Thanks!
 
nuken







PostPosted: Sat May 19, 2012 11:44 am Reply with quote

According to 1 and 1, to use mysql5, you need to change you host name to localhost:/tmp/mysql5.sock instead of just localhost. localhost defaults to mysql4


[ Only registered users can see links on this board! Get registered or login! ]
 
nuken







PostPosted: Sat May 19, 2012 11:55 am Reply with quote

If you already have it set to this, change it to just localhost and see if it works.
 
kipstapleton







PostPosted: Sat May 19, 2012 2:30 pm Reply with quote

Wow this is extremely wierd. I even used this:

<?php

$hostname="localhost:/tmp/mysql5.sock";
$username="dbo111111111";
$password="myPassword";

$link = mysql_connect("$hostname", "$username", "$password");
if (!$link) {
die('Connection failed: ' . mysql_error());
}
echo 'Connection successful';
mysql_close($link);

?>

With my information in it and it came back with "Connection Successful"
 
kipstapleton







PostPosted: Sun May 20, 2012 10:26 am Reply with quote

Alright - thanks for your help. I did find a solution - but not a fix.

Thanks!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©