完美国际电信一霹雳区交流版 收藏本版 今日: 0 主题: 1794

3455 17

锡灵,你英文好,麻烦进来帮个忙--(或者谁的英文自己觉得不错的话也可以)

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan , [3 o! v) y+ {1 I" @; E
* d. N) ]+ j* [+ w) Z  y$ W

  1. 5 O/ i) g/ k) L6 L) W$ C6 N1 k
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ; |/ i$ b* v3 S/ \6 f# v& s
  3. ; C' T7 ^5 m! ]; n9 B
  4. ### What we need ###
    ) s2 e, S: B: q$ J
  5. Naturally, we will need a MySQL server to store the data for us, this document 7 C$ r' Y* f$ X$ m0 Q& e. Q
  6. will not explain how this can be done - there are documents out there for the
    5 Y+ @0 p' R, U; R! ~& A$ C
  7. interested. The requirements include a (empty) database for TeamSpeak to use) M% b8 t. W0 V- h9 [; r* N6 U
  8. and a user account (username + password) that has the permissions to do stuff
    0 R% w3 }4 ~: x7 c
  9. with the database. Additionally, you will need a vendor library installed on the: q* s' n. `+ S7 L2 @/ v& t
  10. local machine, this came with my MySQL install.
    6 V! U, n" ^, }0 O/ j) F- W0 g4 H+ E
  11. These instructions will not tell you how you might transfer your data from the
    ' n; C& V# b4 b2 D$ }0 b
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ' c1 j4 ~* {/ h) R
  13. database.
    ! T9 _( y4 s, i
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ! P7 C* b* u% D
  15. the time of writing, there are still too many issues - check the current status; l( C4 D& ^6 m/ L
  16. in the TeamSpeak forums if you are interested.
    : l9 O, @" z+ h, S! j1 S7 ~
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from/ ?: n" W/ d. T1 D  L5 O( U" t
  18. Borland was used. This driver can only interface with the client library that
    6 w9 @6 C; ]0 f1 D
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    0 m) r' ]2 g( O9 B9 [" H
  20. client library - basically all you have to do is to use a 3.x client library as & t* R, F1 w& `2 U
  21. "VendorLib" and a 4.x database to connect to.* B- E, D" O# V/ b
  22. If you need more info about dbExpress, you can contact Borland.3 @2 }0 w; `8 Z+ D

  23. 6 Y" p  |' }2 x+ y& }; g
  24. ### Doing the work ###0 a. o' a* H4 b7 n, n
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ) v, J7 b3 t/ ~/ B! @8 j
  26. the perquisites right, just open your server.ini file, and add this section at* S# u* X- u3 ?
  27. the end:9 h, v- C; W) f* g6 @6 A2 B
  28. ---cut here---5 B* F/ b9 z) w! X% U
  29. [DBEXPRESS]
    : m) F" l4 D$ w! ?; l( z
  30. sqldir=mysql_sql  u/ [+ j; i% D1 Q
  31. Drivername=mysql
    + I1 q4 F3 m* w" f6 l! Z
  32. Database=Your_Database_Name_Here3 w7 r" F* m8 B
  33. Hostname=The_PC_the_MySQL-Server_is_on( h  a; ~% r1 y) H) O7 T6 a" ?
  34. User_name=User_name_on_the_MySQL-Server
    + H1 p9 d* ~5 i; }, W8 q
  35. Password=Password_to_go_with_above_user_name
    ! N3 h2 N" b% r' ?, m
  36. GetDriverFunc=getSQLDriverMYSQL
    . A, Z! J* H% ?" R& r
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    6 n3 L8 s( |; D; C6 b# q. x: L
  38. LibraryName=path_to_libsqlmy_libary
    ' F) [/ r% M5 \" u" @7 U
  39. Active=1
    3 g8 w) Q* O% ?. P# z' q
  40. ---cut here---
    3 N5 d7 o! r5 Z/ v7 q2 h, P
  41. In my environment (a linux box with a MySQL server running locally) I have:
    9 y0 F! B8 r( n1 M* T" D1 H& f
  42. ---example---
    . h; g* |( W1 q$ ?* @* A& m$ H
  43. [DBEXPRESS]8 Y3 O/ ^3 ?, [) l+ f' W
  44. sqldir=mysql_sql( v7 E: A$ @1 L" L" ^+ T: h- U1 N  ^
  45. Drivername=mysql. F. t( [# ^* E/ A, P
  46. Database=test
    ; [; [: y! e6 u/ J8 C
  47. Hostname=localhost5 D# w( q1 u6 R. Z
  48. User_name=testuser
    0 q  ]$ h' E$ s1 p# H" S
  49. Password=my_password
    ) |7 D; E% S% J5 k, A7 r) C* y. L
  50. GetDriverFunc=getSQLDriverMYSQL
    : [0 I. e7 ^; U
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    + X" H7 Q4 j# _5 x- S0 e* `
  52. LibraryName=./libsqlmy.so
    3 U1 }5 g4 a2 O3 o
  53. Active=1
    5 s% X! k- v' o0 M# G. j* K) u
  54. ---example---
    6 l  R% \" P- t, ^; A1 ^
  55. # \6 [" c* h5 z8 h( n5 o, O7 Y
  56. On a windows box, also running the MySQL server locally, it would be:. i: z1 T3 ?3 r8 s
  57. ---example---" P9 Y4 K9 U( v  H5 f
  58. [DBEXPRESS]6 k( g) V( _0 E/ c3 d' _0 Z. N
  59. sqldir=mysql_sql$ l2 O5 _4 e( V2 V( d2 L
  60. Drivername=mysql% b" ^: X- ]3 G% K  U
  61. Database=test' W5 L# f( s. T1 f+ M( u0 N6 u
  62. Hostname=127.0.0.1# P6 P; E" O7 Q" x- j
  63. User_name=testuser
    ' a+ v) V2 M5 k/ k2 z8 t5 j
  64. Password=my_password
    0 N' ]' L- @; M9 A1 O
  65. GetDriverFunc=getSQLDriverMYSQL( v! A7 S: B, m! G
  66. VendorLib=libmysql.dll' t3 i! _5 G2 u* I# V
  67. LibraryName=dbexpmysql.dll4 _: p7 O. P  V+ |" t9 r) ~7 k- c( ?
  68. Active=1
    0 H* O( H( @  `% r4 W+ T
  69. ---example----! a! z: m7 g( R1 |3 P
  70. - written 02.03.04 by pwk.linuxfan
    0 p0 w* M3 k8 H! c" f

  71. 1 D! j+ ^  k+ r/ a
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看" J8 o, _' y$ `6 @' n* I" P

  1. 3 \( c' `4 X# H  f) D# d
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 4 j: a" d7 z+ b# n& O& d4 D2 U* L5 C

  3. 6 J$ L# }) w& [1 S- ?3 b
  4. # # #我们所需要# # # 5 X" l2 e: e& d# d4 u
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件- u, R& d! g6 L/ c. S$ G! S/ Q
  6. 不会解释如何做到这一点-也有文件存在,为% F! U& r4 |  u6 t& F; m$ y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用* c. M6 c: L3 ?4 {
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    . B/ V& v  d1 `5 S  I0 E' l6 g
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    . X" L1 `* @2 z3 K
  10. 本地机器,这是我的MySQL安装。
    0 W. e5 @6 K: Z% |6 T3 O, Z+ W* m
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从0 X. E- K0 n% N# d& v( N/ p6 R
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL # ~, A9 B9 t$ U5 H" N% G
  13. 数据库。
    0 C: a; j6 W/ V  |' O$ \6 O0 X
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在! W* h& O9 a' _, m  j9 @+ ~. d
  15. 编写本报告的时候,仍然有太多的问题-检查现状
      N7 E8 t! Q4 B/ h5 P/ \8 p( V' e- P
  16. 在teamspeak论坛,如果你有兴趣。
    0 J- h9 W, U3 ?6 X
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    7 m8 I( p3 c; D/ K$ h, j8 i
  18. Borland公司使用。这个司机只能界面与客户端库5 q4 }2 _/ U1 ]) o* ], D
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    . `, w8 L5 b3 \' {6 v5 e
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    9 l; |) [* x/ H: r+ m1 j7 _
  21. " vendorlib " ,并解数据库连接。
    " D. ^& c- h! S
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 + G/ a6 z4 ~# p3 V, O) T
  23. " a6 v& w$ ?9 f, }
  24. # # #做好工作# # # 9 x, S8 g  o/ L% k
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    0 d/ o+ q; `* q* A" j
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在2 t9 z9 @; F. L8 ]# h/ M; O
  27. 结束:
    . g. z# U2 i/ s( ~5 Q' C* w
  28. ---削减这里--- : \7 Q* ^+ I( b8 J  A5 s
  29. [ dbexpress ] 0 x9 _1 c7 w8 w- ?9 X) V
  30. sqldir = mysql_sql   W7 a& `9 b- ]3 i2 j
  31. drivername = MySQL中
    & F7 _: z( b. D; M) O& u
  32. 数据库= your_database_name_here
    # K  Y* P# a& R
  33. 主机= the_pc_the_mysql - server_is_on ' V/ Q( V+ M- g5 _# J+ Y9 I* s
  34. user_name = user_name_on_the_mysql服务器
    . N5 N2 `$ O& h* g6 O
  35. 密码= password_to_go_with_above_user_name - K7 Q: J1 ]3 W$ L
  36. getdriverfunc = getsqldrivermysql ) W) Y- _! L7 v) c7 d3 x. r- H
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ! ~+ r; r, |' p( L; t- b
  38. libraryname = path_to_libsqlmy_libary ( v* \7 A" h% ?' Z' K  ^
  39. 积极= 1 5 e% F: @( {% y
  40. ---削减这里--- ) w2 y& v) H) y4 e
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: " K  u5 ]- r  I* X+ G4 i
  42. ---例如--- - V! Z- f6 |' N$ t& y. r4 K/ f
  43. [ dbexpress ]
    & k; H9 x. c9 ]( W2 f8 d
  44. sqldir = mysql_sql
    7 B* x6 U; N# e+ ?  S, q
  45. drivername = MySQL中1 l  c* K2 U5 s7 \4 G
  46. 数据库=测试0 |& _8 ?1 M1 V
  47. 主机=本地主机
    + f1 F( G) f# O; T- o  B
  48. user_name = testuser ; T% e& l5 o% {% z. Q
  49. 密码= my_password
    * s5 [- V2 L5 \$ E( y9 H
  50. getdriverfunc = getsqldrivermysql
    $ u& u1 p0 N: x$ c8 P4 m
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 4 a9 p5 g) s5 ^$ a! d/ K
  52. libraryname =. / libsqlmy.so
    . e$ p; x  }* h
  53. 积极= 1
    8 z5 h& L  m1 C/ T
  54. ---例如---
      N& G( j% o* i9 n

  55. & O' d: u1 x4 y, y3 |
  56. 对Windows中,也运行MySQL服务器本地的,那就是: - F3 t1 x  R3 w9 X1 ^/ r: m2 [, n  `
  57. ---例如---
    . G9 E8 q/ v' X1 Q( E+ ]" k
  58. [ dbexpress ] 8 V5 ^4 V; W) r, p
  59. sqldir = mysql_sql 9 E6 I* z! E; h5 O
  60. drivername = MySQL中
    : w; X. c. s0 i
  61. 数据库=测试$ m: y  V9 D  ?4 x! y# J" n
  62. 主机= 127.0.0.1 9 D! h1 k7 B' s9 u
  63. user_name = testuser
    ) @4 g8 |6 H% H! L  k, }+ W3 \; l
  64. 密码= my_password
    ! D9 [4 C+ ~5 V. U- C9 h4 _
  65. getdriverfunc = getsqldrivermysql ! k( d9 `/ N: K+ A: R' K+ M/ K9 T( ^
  66. vendorlib = libmysql.dll在" k# u# V3 p' ^6 T1 O# C9 [
  67. libraryname = dbexpmysql.dll + j3 i$ u& i" D9 [7 f7 v* n
  68. 积极= 1 ) o( d. M, B& g! d8 a" E/ I* q: T% u' z
  69. ---例如---- * f5 [: U' t. g
  70. -写在0 2.03.04由p wk.linuxfan
    " w% p( F7 B: [
复制代码
发表于 2008-1-18 15:57:50 | 显示全部楼层
zhu48t zhu48t zhu48t 火星语言
发表于 2008-1-18 16:02:23 | 显示全部楼层
我现在正在我们自己的服务器上调试TS与论坛结合,这篇文章里的大概操作方法我是明白了,但是我怕翻译过来可能有点出入,所以还是要专业的英文水平高的人看看才行:xhan
发表于 2008-1-18 18:45:35 | 显示全部楼层
那你只有找哪个马来人了。。。
发表于 2008-1-20 18:35:58 | 显示全部楼层
zhu45t 俄有自知之明
发表于 2008-1-21 11:37:51 | 显示全部楼层
比 考4级还难懂!!
发表于 2008-1-21 13:54:07 | 显示全部楼层
怎么不问我呢 我晕
发表于 2008-1-21 14:15:44 | 显示全部楼层
sorry for the late, i think the best way is i go to TS and translate for you. coz now i cannot type chinese words
9 j% |7 j( \, d0 R# {( A
* G! I. S' a& s7 v* Tbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

傲天阁游戏公会
联系我们
咨询电话 : 020-88888888
事务 QQ : 85075421
电子邮箱 : admin@admin.com

小黑屋|手机版|Archiver|傲天阁游戏公会 ( 粤ICP备14058347号 )|免责声明

GMT+8, 2026-10-31 15:56 , Processed in 0.053010 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表