PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
zoalord
New Member
New Member


Joined: Aug 05, 2006
Posts: 2

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

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: 7481
Location: Arizona

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

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.
View user's profile Send private message Visit poster's website
zoalord
New Member
New Member


Joined: Aug 05, 2006
Posts: 2

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

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.
View user's profile Send private message
evaders99
Moderator


Joined: Apr 30, 2004
Posts: 2852

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

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!)
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum