Muat turun fail-fail pertama:
MySQL Gui Tools
MySQL EssentialsDownload SVN >>
DI SINI (saya cadangkan menggunakan Trunk)
Apabila anda selesai memuat turun fail-fail, ikuti langkah berikut:
========== / / SVN Persediaan Files / / ==========1) pergi kepada svn anda dan ekstrak ia.
2) Goto folder conf dan mencari
char_athena.txt, inter_athena.txt, map_athena.txt dan subnet_athena.txt3) Buka
char_athena.txt, dan
map_athena.txt dan melihat ini:
- Code:
-
// Server Communication username and password.
userid: s1
passwd: p1
dan mengubah yang ke
- Code:
-
// Server Communication username and password.
userid: ragnarok
passwd: ragnarok
2) Buka
char_athena.txt anda sekali lagi dan melihat ini:
- Code:
-
// Login Server IP
// The character server connects to the login server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
//login_ip: 127.0.0.1
// The character server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
//bind_ip: 127.0.0.1
// Login Server Port
//login_port: 6900
// Character Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
//char_ip: 127.0.0.1
membuang
"/ /" di login_ip dan char_ip. Ia akan kelihatan
seperti dibawah
- Code:
-
// Login Server IP
// The character server connects to the login server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
login_ip: 127.0.0.1
// The character server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
bind_ip: 127.0.0.1
// Login Server Port
login_port: 6900
// Character Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
char_ip: 127.0.0.1 public IP address is.
3) Buka
inter_athena.txt anda dan melihat untuk ini:
- Code:
-
// Global SQL settings
// overriden by local settings when the hostname is defined there
// (currently only the login-server reads/obeys these settings)
sql.db_hostname: 127.0.0.1
sql.db_port: 3306
sql.db_username: ragnarok
sql.db_password: ragnarok
sql.db_database: ragnarok
sql.codepage:
// MySQL Character SQL server
char_server_ip: 127.0.0.1
char_server_port: 3306
char_server_id: ragnarok
char_server_pw:ragnarok
char_server_db: ragnarok
// MySQL Map SQL Server
map_server_ip: 127.0.0.1
map_server_port: 3306
map_server_id: ragnarok
map_server_pw: ragnarok
map_server_db: ragnarok
// MySQL Log SQL Database
log_db_ip: 127.0.0.1
log_db_port: 3306
log_db_id: ragnarok
log_db_pw: ragnarok
log_db_db: log
log_codepage:
jika anda menggunakan panduan saya yang diberikan dan anda tidak perlu untuk mengedit ini. Tetapi jika anda sedang merancang untuk mengubah apa-apa di sini seperti kata laluan pengguna atau apa, anda perlu untuk menukar ini juga.
4) Buka
map_athena.txt anda dan melihat untuk ini:
- Code:
-
// Character Server IP
// The map server connects to the character server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
//char_ip: 127.0.0.1
// The map server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
//bind_ip: 127.0.0.1
// Character Server Port
char_port: 6121
// Map Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
//map_ip: 127.0.0.1
// Map Server Port
map_port: 5121
mengeluarkan "/ /" di char_ip, dan map_ip, ia akan kelihatan seperti ini:
- Code:
-
// Character Server IP
// The map server connects to the character server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
char_ip: 127.0.0.1
// The map server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
//bind_ip: 127.0.0.1
// Character Server Port
char_port: 6121
// Map Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
map_ip: 127.0.0.1
// Map Server Port
map_port: 5121
5) Buka anda subnet_athena.txt dan anda akan melihat ini:
- Code:
-
subnet: 255.0.0.0:127.0.0.1:127.0.0.1
Jika anda mengubah ips di
char_athena.txt, inter_athena.txt dan map_athena.txt, anda harus mempertimbangkan untuk meletakkan mereka di sini juga.
sebagai contoh, ip 125.60.252.169
- Code:
-
subnet: 255.0.0.0:125.60.252.169:125.60.252.169
========== / / MySQL Persediaan / / ==========
1) Pasang MySQL Gui Tools
2) Pasang Essentials MySQL. Pilih MySQL 501. Masukkan "Ragnarok" untuk kata laluan untuk "root" (ingat anda boleh menukar ini kemudian, ini hanya satu asas). Hanya klik Execute dan apabila selesai, hanya klik Selesai. Pergi ke Task Manager dan memeriksa jika mysqld-nt.exe sedang berjalan dalam proses walaupun ia tidak perlu jika tiada kesilapan yang berlaku semasa pemasangan.
3) Mulakan nd Pertanyaan MySQL ia akan segera sehingga tingkap. Isi
- Code:
-
Stored Connection: (leave it blank)
Server Host: localhost Port: 3306
Username: root
Password: (remember the password you made when you're installing MySQL Essentials?put it here)
Default Schema: ragnarok(you can change this afterwards, this is just a basic name)
sila pastikan semuanya adalah betul dahulu. Kemudian tekan enter.
4) * Apabila anda berada dalam MySQL Query Browser, klik sekali pada Ragnarok database yang berada di bawah skema.
* Pergi ke menu, klik File dan memilih Open Script ...
* Kita perlu untuk melaksanakan main.sql, mail.sql dan log.sql (melaksanakan upgrade_svn *. Fail sql juga, jika memerlukan) demikian, melihat untuk main.sql, yang harus di sql-fail folder dalam eAthena Server dan lain. fail sql.
* Pilih main.sql dan klik Buka.
* Klik Hijau Melaksanakan Icon sebelah kanan atas untuk melaksanakan. Melakukan perkara yang sama dengan mail.sql sekarang dan melaksanakannya.
* Apabila anda selesai, kita perlu untuk mewujudkan database log dengan klik kanan tempat dalam jadual di mana pangkalan data dan memilih Buat Skema Baru dan jenis dalam log dan klik OK.
* Double-klik pada Database log, pergi ke menu, klik File, pilih Open Scrip ..., buka logs.sql dan Execute.
* Double klik Ragnarok database untuk melihat semua jadual.
* Carilah jadual login dan klik dua kali dan klik dua kali lagi.
* Klik sekali pada Edit begitu, kita boleh mengedit sel. Ikon ini perlu berada di bahagian bawah.
* Untuk id: dan user_pass:, taip nama yang anda digunakan dalam char_athena.conf dan map_athena.conf.
* Apabila anda telah selesai mengedit, hanya klikApply Changes yang bersebelahan dengan ikon Edit.
5) Goto MySQL Administration. Login sana.
- Code:
-
Stored Connection: (leave it blank)
Server Host: localhost Port: 3306
Username: root
Password: (remember the password you made when you're installing MySQL Essentials?put it here)
Kemudian Enter.
6) Dan anda berada di dalam MySQL Administration sekarang. Pergi User Administration dan Klik
New User dan masukkan ini:
- Code:
-
MySQL User: ragnarok
Password: ragnarok
Confirm Password: ragnarok
kemudian klik "Apply Changes".
Selepas itu, Klik pengguna Ragnarok dan keistimewaan skema lihat (sebelah kanan maklumat pengguna). Klik Ragnarok dan log pangkalan data dan klik "<<", kemudian klik "Apply Changes"