PDA

View Full Version : Can't connect to mysql server from my webhost?:S


Fronix
02-12-2008, 09:41 PM
Hello i have my website on a webhoster and i need to connect to my other MySql server on my server computer.

Here is the connection code:
#DATABASE SETTINGS

$serveros="windows"; //Write your server operation system For Windows "windows" For Linux "linux"
$lang="en"; // Language ("en" - english, "ru" - russian, "tr" - turkish, "hu" - hungarian, "de" - deutsch)
//////////////////////////////////////////
$host="00.00"; //
$user="root" ; //
$password="*****"; //
$db="world"; //
//////////////////////////////////////////
$hostc="0.0.0.0; //
$userc="root"; //
$passwordc="****"; //
$dbc="character"; //
//////////////////////////////////////////
$database_encoding = 'CP1251'; // Set encoding
$server = "0.0.0.0"; // Server adress (for realm status)
$port = "8085"; // Server port (for realm status) 8085 or 3724
//////////////////////////////////////////

#ACCOUNT PAGE OPTIONS

$accountoption="1"; //Set your RoSPORA's account creating is open or closed. 1 - Open , 2 - Closed
$onlineoption="1"; //Set your RoSPORA's online player display is open or closed. 1 - Open , 2 - Closed
$accountmessage="Account Creation Not Avalible"; //Set your account creation closed text
$onlinemessage="Online PLayers Offline!"; //Set your online player display text
$lock_acc=0; // Lock created account to IP adress (1 - on, 0 - off)
$lock_reg=2; // Registration only one (or more) account from one IP adress (IT HAVE A SECURITY ON FORM ACTION BOTS! , JUST SET IT TO 1 OR 2)
// 0 - not limit, 1 - one acc, 2- two acc, etc...

#TEMPLATE OPTIONS

$img_base = "img/"; // Image dir
$ongif = "img/on.gif";
$offgif = "img/off.gif";
$charset="windows-1251"; //Browser charset of your language.Tarayıcınızın dilinize göre charset ayarı - Türkçe : "iso-8859-9"
$timetext="Current Server Time"; //Shows Server Time , if you want you can change it to your language Example: ="yourlang";


#MINI INFORMATION BOX OPTIONS

$information="<li>RtWoW supports only 2.3.3 clients<br><li>1x Quest XP , 4x Kill XP , 90x ItemDrop";
?>Im trying to connect but when i load the page it never loads. Can anyone plz help me i have been trying for hours and hours. Just ask if you don't understand my question

davidj
02-17-2008, 11:27 PM
who gave you this connection script?

did you get it from your host