Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Installer/Setup Issues
Author Message
zoalord
New Member
New Member



Joined: Aug 05, 2006
Posts: 2

PostPosted: Tue Jul 10, 2007 6:03 pm Reply with quote

MySQL Database Connectivity Test Results
config.php file found!
I was unable to reach your MySQL server using the MySQL connection settings in your nuke config.php file. The exact error that MySQL reported is:
MySQL Error # 2 = Lost connection to MySQL server at 'reading initial communication packet', system error: 111

running php5
and mysql5 with ubuntu 7.04

this is my config.php which i have starred out the password
$dbhost = '192.168.0.101';
$dbuname = 'root';
$dbpass = '*********';
$dbname = 'ravennuke';
$prefix = 'nuke';
$user_prefix = 'nuke';
$dbtype = 'MySQL';
$sitekey = 'SdFk*fa2rnv21076v28367-dm56w69.3a2fDS+e9';
$gfx_chk = 7;
$subscription_url = '';
$admin_file = 'admin';
$tipath = 'images/topics/';

the reason i have used the internal ip is because i have multiple pc's that i like to get to the admin utility from all of them instead of just localhost.
Thx in advance,
Z
 
View user's profile Send private message
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Wed Jul 11, 2007 7:02 am Reply with quote

Unfortunately I don't know much about remote mySQL connections, so take this for what it is worth. Are you certain that your mySQL instance allows connections from a remote host?

I have only ever used mySQL with localhost.

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
zoalord







PostPosted: Wed Jul 11, 2007 10:26 am Reply with quote

gotya, thx for the input. For some reason installing mysql and using the above config.php works fine in windows.

But not for linux. It requires the localhost command in the config.php.

Thanks for the help. I figured it out this morning just by chance.
 
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Wed Jul 11, 2007 12:35 pm Reply with quote

MySQL may not be enabled to allow remote connections. By default, this is a security feature. You'd have to dig into the command line to enable remote connections

(I know I had to do this to get a Java program to connect through JBCD to MySQL.. on the same server!)

_________________
- Star Wars Rebellion Network -

Need help? Nuke Patched Core, Coding Services, Webmaster Services 
View user's profile Send private message Visit poster's website
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Installer/Setup Issues

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 ©