PDA

نسخه کامل مشاهده نسخه کامل : کمک فوری چگونه تظیمات mysql رو روی شبکه ایجاد کنیم



jmojallal
24-02-2009, 11:38
عزیزان من یک سرور بازی اینترتی دارم که رو سیستم خودم با mysql به خوبی کار می کنه حالا می خوام تنظیمات اون رو روی شبکه بذارم و بعد هم بذارم روی سایت لطفا کمک کنید
############################################
# realmd configuration file #
############################################
ConfVersion=2007062001
################################################## ################################################## ###############
# REALMD SETTINGS
#
# LoginDatabaseInfo
# Database connection settings for the realm server.
# Default: hostname;port;username;password;database
# .;somenumber;username;password;database - use named pipes at Windows
# Named pipes: mySQL required adding "enable-named-pipe" to [mysqld] section my.ini
# .;/path/to/unix_socket;username;password;database - use Unix sockets at Unix/Linux
# Unix sockets: experimental, not tested
#
# LogsDir
# Logs directory setting.
# Important: Logs dir must exists, or all logs be disable
# Default: "" - no log directory prefix, if used log names isn't absolute path then logs will be
# stored in current directory for run program.
#
# MaxPingTime
# Settings for maximum database-ping interval (minutes between pings)
#
# RealmServerPort
# Default RealmServerPort
#
# BindIP
# Bind Realm Server to IP/hostname
#
# PidFile
# Realmd daemon PID file
# Default: "" - do not create PID file
# "./realmd.pid" - create PID file (recommended name)
#
# LogLevel
# Server console level of logging
# 0 = Minimum; 1 = Error; 2 = Detail; 3 = Full/Debug
# Default: 0
#
# LogTime
# Include time in server console output [hh:mm:ss]
# Default: 0 (no time)
# 1 (print time)
#
# LogFile
# Logfile name
# Default: "Realmd.log"
# "" - empty name disable creating log file
#
# LogTimestamp
# Logfile with timestamp of server start in name
# Default: 0 - no timestamp in name
# 1 - add timestamp in name in form Logname_YYYY-MM-DD_HH-MM-SS.Ext for Logname.Ext
#
# LogFileLevel
# Server file level of logging
# 0 = Minimum; 1 = Error; 2 = Detail; 3 = Full/Debug
# Default: 0
#
# LogColors
# Color for messages (format "normal_color details_color debug_color error_color)
# Colors: 0 - BLACK, 1 - RED, 2 - GREEN, 3 - BROWN, 4 - BLUE, 5 - MAGENTA, 6 - CYAN, 7 - GREY,
# 8 - YELLOW, 9 - LRED, 10 - LGREEN, 11 - LBLUE, 12 - LMAGENTA, 13 - LCYAN, 14 - WHITE
# Default: "" - none colors
# "13 7 11 9" - for example :)
#
# UseProcessors
# Used processors mask for multi-processors system (Used only at Windows)
# Default: 0 (selected by OS)
# number (bitmask value of selected processors)
#
# ProcessPriority
# Process proirity setting (Used only at Windows)
# Default: 1 (HIGH)
# 0 (Normal)
#
# RealmsStateUpdateDelay
# Realm list Update up delay (updated at realm list request if delay expired).
# Default: 20
# 0 (Disabled)
#
# WrongPass.MaxCount
# Number of login attemps with wrong password before the account or IP is banned
# Default: 0 (Never ban)
#
# WrongPass.BanTime
# Duration of the ban in seconds (0 means permanent ban)
# Default: 600
#
# WrongPass.BanType
# Ban the IP or account on which login is attempted
# Default: 0 (Ban IP)
# 1 (Ban Account)
#
################################################## ################################################## ###############
LoginDatabaseInfo = "127.0.0.1;3306;root;root;realmd"
LogsDir = ""
MaxPingTime = 30
RealmServerPort = 3724
BindIP = "0.0.0.0"
PidFile = ""
LogLevel = 0
LogTime = 0
LogFile = "Realmd.log"
LogTimestamp = 0
LogFileLevel = 0
LogColors = ""
UseProcessors = 0
ProcessPriority = 1
RealmsStateUpdateDelay = 20
WrongPass.MaxCount = 0
WrongPass.BanTime = 600
WrongPass.BanType = 0

و این
#####################################
# Configuration file #
#####################################
ConfVersion=2008022901
################################################## ################################################## ###############
# CONNECTIONS AND DIRECTORIES
#
# RealmID
# RealmID must match the realmlist inside the realmd database
#
# DataDir
# Data directory setting.
# Important: DataDir needs to be quoted, as it is a string which may contain space characters.
# Example: "@prefix@/share/mangos"
#
# LogsDir
# Logs directory setting.
# Important: Logs dir must exists, or all logs need to be disabled
# Default: "" - no log directory prefix, if used log names isn't absolute path
# then logs will be stored in current directory for run program.
#
#
# LoginDatabaseInfo
# WorldDatabaseInfo
# CharacterDatabaseInfo
# Database connection settings for the world server.
# Default: hostname;port;username;password;database
# .;somenumber;username;password;database - use named pipes at Windows
# Named pipes: mySQL required adding "enable-named-pipe" to [mysqld] section my.ini
# .;/path/to/unix_socket;username;password;database - use Unix sockets at Unix/Linux
# Unix sockets: experimental, not tested
#
# MaxPingTime
# Settings for maximum database-ping interval (minutes between pings)
#
# WorldServerPort
# Default WorldServerPort
#
# BindIP
# Bind World Server to IP/hostname
#
################################################## ################################################## ###############
RealmID = 1
DataDir = "."
LogsDir = ""
LoginDatabaseInfo = "127.0.0.1;3306;root;root;realmd"
WorldDatabaseInfo = "127.0.0.1;3306;root;root;mangos"
CharacterDatabaseInfo = "127.0.0.1;3306;root;root;characters"
MaxPingTime = 30
WorldServerPort = 8085
BindIP = "0.0.0.0"

واین

tabriz-info
25-02-2009, 16:08
من دقیقا متوجه نشدم جریان از چه قراره ولی اگه شما از نرم افزار wamp استفاده کنید میتونید با استفاده از put online لوکال هاست خودتون رو شبکه کنید

jmojallal
26-02-2009, 09:26
عزیز این یک سرور بازی انلاین اینترنتی است که به صورت لوکال روی سیستم من نصب شده وقتی برنامه اجرا می شود و سرور ان می شود من می توانم از روی سیستم خودم وارد بازی شوم حالا ولی در تنظیمات ان طوری است که روی پورت 3306 و ریلیم 127.0.0.1 تنظیم شده و از طریق شبکه نمی توانیم وارد شویم حالا من کدام کد برنامه را باید تنظیم کنم که مثلا با ای پی 192.168.1.255 بتوانم از طریق شبکه داخلی کلاینت ها را به این سرور کانکت لطفا راهنمایی کنید که ایا با برنامه my sql می توانم یک دیتا بیس ایجاد کنم که بتوان وارد ریلیم سرور در شبکه شویم ؟؟؟؟؟؟؟؟؟؟