Free Web Hosting Forum
Go Back   Free Web Hosting Forum > Website Building > Web Programming
Reload this Page ALERTE [2] mysql_connect() [function.mysql-connect]: Host '10.50.0.43' is not allowed
Reply
 
Thread Tools Display Modes
(#1 (permalink))
Old
Junior Member
spawn59200 is on a distinguished road
 
Posts: 2
Join Date: Nov 2010
Default ALERTE [2] mysql_connect() [function.mysql-connect]: Host '10.50.0.43' is not allowed - 11-27-2010, 11:39 PM

good evening
here I am now about to try installing a data gear
I put below if the file copy entete.php
<? Php
/ **
* Empire Universe 2 - Data Engine
*
* Basa © Work Christophe Couprie alias Elessar81
© * Fixes, ama drawing correctness © © on express authorization by alex10336
*
* @ Author Alex10336
* Last modification: $ Id: Entete.dist.php 202 2010-04-28 3:54:35 p.m. Z $ Alex10336
* @ License GNU Public License 3.0 (http://www.gnu.org/licenses/gpl-3.0.txt)
* @ License Creative Commons 3.0 BY-SA (http://creativecommons.org/licenses/by-sa/3.0/deed.fr)
*
** /

final class Config implements iDataEngine_Config {
static private $ connection;
/ **
* @ Var localhost server address
* /
static protected $ BaseMysql = 'mysql4.000webhost.com';
/ **
* @ Var user Username for mysql server
* /
static protected $ BaseUser = 'a2597441';
/ **
* @ Var pass Password for mysql server
* /
static protected $ BasePass = 'xxxxxw';
/ **
* @ Var database name of the database used e © © by the mysql server
* (In Gà © nà © ral mà ª me that the $ BaseUser)
* /
static protected $ BaseName = 'a2597441_eu2';
/ **
* Initialization function spa © cial ...
* /
static function init () {
/ **
* If the particular server configuration ¨ re.
* And that the designation would have automatic protection © Ã © © cabbage.
* Symptoms when à © Failed:
* - Login page blank
* - The session does not stay (nothing works, so)
* @ Const ROOT_URL
* @ Link http://app216.free.fr/eu2/tracker/view.php?id=160
* @ Example
* [Code]
* Define ('ROOT_URL','/');
* Define ('ROOT_URL', '/ DataEngine /');
* [/ Code]
* Remove '/ /' at beginning © dun'e goal line to be activated The parameter
* /

define ('ROOT_URL','/');


/ **
Prà © * Fixed table has changed to allow multiple DataEngine mà ª me on the basis ...
* The default is blank ©
* @ Staticvar SQL_PREFIX_''
* /
define ('',''); SQL_PREFIX_

/ **
* What language pack to use?
* /
define ('LNG_CODE', 'en');
}
/ **
* @ Return string Link to the forum
* /
GetForumLink static function () {
return'';
}
/ **
* Grade is © by default
* 'Id' displays on the page © "Membre.php" the right
* @ Return integer rank id
* /
GetDefaultGrade static function () {
return 3;
}
/ **
* Enables the possibility © the member of the empire created their account © st mà ª me.
* @ Return boolean
* /
CanRegister static function () {
return false;
}
/ **
* DÃ © end here <b> exact name </ b> of your empire
* @ Return string (100) Name of the empire
* /
GetMyEmpire static function () {
return'';
}
/ **
* Max time before giving up search for better identification ©
* @ Since 1.4.1
* @ Return integer default: 0 (ie. Time Max © Authorized by the server 20/30sec ~.)
* /
Parcours_Max_Time static public function () {
return 0;
}
/ **
* Calculation "Nearest Neighbor" da © Max ends the search radius around the starting point by © / © arrival
* Do not get too high. Ã ‡ a more Integral would reserve © ª ts, and would add more than anything else
* @ Since 1.4.1
* @ Return integer default: 5, Max © Advised: 8 min © Advised: 3
* /
Parcours_Nearest static public function () {
return 5;
}
/ **
*
* @ Example
* [Code]
* Return''; / / to any server without restriction
* Return 'australis.fr' / / to australis
* Return 'borealis.fr' / / to borealis
* Return 'beta.de' / / for testing. Of
* Return 'eu2.com' / / for eu2 English
* [/ Code]
* /
eude_srv static public function () {
return'';
}
/ **
* Connection to the database © e.
* @ Return MySQLi_Driver
* /
static function DB_Connect() {
if (self::$connexion) return self::$connexion;

self::$connexion = mysql_connect(self::$BaseMysql,self::$BaseUser,sel f::$BasePass)
or die(mysql_error());
mysql_select_db(self::$BaseName) or die(mysql_error());
return self::$connexion;
}
}


can you tell me where I made a mistake because when I want to go on that site I receive the following message

WARNING [2] mysql_connect () [function.mysql-connect]: Host '10 .50.0.43 'is Not Allowed to connect to this MySQL server (File Script / Entete.php: 135)
Host .50.0.43 '10 'is not Allowed to connect to this MySQL server


thank you in advance

Last edited by spawn59200; 11-27-2010 at 11:43 PM.
Reply With Quote
Sponsored Links
(#2 (permalink))
Old
lobrc's Avatar
Administrator
lobrc is on a distinguished road
 
Posts: 5,046
Join Date: Jan 2010
Location: http://www.lobrc.net
Default 11-28-2010, 10:13 AM

Remote connections can only be enabled on premium.


FREE SCRIPT INSTALLATION SERVICE | PREMIUM HOSTING* | LOBRC.NET

*All packages include Quality Support, Website Builder, Free Site Migration, 30 Day Money Back Guarantee, Official cPanel and Fantastico Autoinstaller.

Plus get 20% off with promo code 000WH20. Contact sales for more information.
Reply With Quote
(#3 (permalink))
Old
Junior Member
spawn59200 is on a distinguished road
 
Posts: 2
Join Date: Nov 2010
Default 11-28-2010, 01:21 PM

ok thank you
Reply With Quote
(#4 (permalink))
Old
lobrc's Avatar
Administrator
lobrc is on a distinguished road
 
Posts: 5,046
Join Date: Jan 2010
Location: http://www.lobrc.net
Default 11-28-2010, 01:57 PM

Your welcome


FREE SCRIPT INSTALLATION SERVICE | PREMIUM HOSTING* | LOBRC.NET

*All packages include Quality Support, Website Builder, Free Site Migration, 30 Day Money Back Guarantee, Official cPanel and Fantastico Autoinstaller.

Plus get 20% off with promo code 000WH20. Contact sales for more information.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.2
vBulletin Skin developed by: vBStyles.com