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

2637 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan : b; G+ A  X5 A* b  e4 v
0 f4 B- T( Q) z

  1. 1 J# G+ k; K8 b/ d+ |
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
      {# c6 Z9 ]0 `, s+ `3 F+ O( i

  3. + |" \4 ?. Y8 H- i
  4. ### What we need ###
    # r; e( d# V6 ~1 ~  ^# x2 m
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ( B# Z+ e" M4 u% u
  6. will not explain how this can be done - there are documents out there for the
    - @. ~, e& i4 ^0 H( O
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    2 h6 _# h" E; @3 ]7 g5 Y7 \% T
  8. and a user account (username + password) that has the permissions to do stuff
    : {0 T/ s7 i% B- {6 K
  9. with the database. Additionally, you will need a vendor library installed on the
    , f" \( c, b( e  a; f- d1 }
  10. local machine, this came with my MySQL install.
    ' e, |1 T1 I5 a* g, U
  11. These instructions will not tell you how you might transfer your data from the
    ! B; F0 k) \- X. |: S
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    % }# ^. P2 |" O" r- l  e8 p
  13. database.$ M% j. f  Z4 A
  14. Some users have reported ways to import a SQLite database into MySQL, but at# z( C. }' i- f) U' T
  15. the time of writing, there are still too many issues - check the current status
    ) o0 s3 V6 c2 T' w* W
  16. in the TeamSpeak forums if you are interested.
    4 d, r' g! m$ `8 Q6 o. i
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from6 c: w+ D( s1 b  C4 c
  18. Borland was used. This driver can only interface with the client library that
    & S# U5 I/ f' V5 I% z# L- _  G8 ?
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ' L9 {1 i3 C2 [- r% ~
  20. client library - basically all you have to do is to use a 3.x client library as % [1 v$ y1 R$ ?2 C
  21. "VendorLib" and a 4.x database to connect to." `5 a5 h5 o& ?3 T
  22. If you need more info about dbExpress, you can contact Borland.
    ( j; k' ?7 W6 Z) P- a- @
  23. 8 ^9 M3 \# e2 X2 }5 j
  24. ### Doing the work ###
    ( `2 V" [6 C* z
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all5 `2 I) T) r' T
  26. the perquisites right, just open your server.ini file, and add this section at
    & ^5 }) e! C0 O- }5 d
  27. the end:7 t: P3 T) Q1 {" E+ h
  28. ---cut here---: n: U' w9 F1 ]4 B0 Q2 s3 E! S
  29. [DBEXPRESS]
    - L" L8 F. `, V0 B9 ~: v1 C
  30. sqldir=mysql_sql
    6 g7 _; X2 b1 L
  31. Drivername=mysql
    7 @' [1 F0 R9 F9 D) _( R  `: ~1 a1 y
  32. Database=Your_Database_Name_Here# C; e1 W. [& }* g
  33. Hostname=The_PC_the_MySQL-Server_is_on
    9 Q" ^) F" x; f1 h1 r
  34. User_name=User_name_on_the_MySQL-Server( Z" W* T% n, [9 {: E
  35. Password=Password_to_go_with_above_user_name
    * \5 `. ^  I/ U3 s/ }
  36. GetDriverFunc=getSQLDriverMYSQL
    # |5 d' R4 e& e
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib2 [7 y4 |, A( V) j4 [
  38. LibraryName=path_to_libsqlmy_libary+ G0 f  v# w& V6 u7 S
  39. Active=1
    1 E' S; Z  A& V" x7 {
  40. ---cut here---
    * |; C. M7 h+ r2 r5 q1 l
  41. In my environment (a linux box with a MySQL server running locally) I have:0 e9 X! C; c: _9 E. n  L# r; K
  42. ---example---/ k. a1 }% d! p) s  G' j
  43. [DBEXPRESS]2 K) Q. Z0 |5 N0 s+ x8 ?' `7 ?
  44. sqldir=mysql_sql3 {1 m' g5 L- z
  45. Drivername=mysql5 E( B# P. I) }) Y7 |& T
  46. Database=test: y  |+ s2 y. U6 a% j
  47. Hostname=localhost4 q, o7 Y% t' Q% u1 U
  48. User_name=testuser7 v9 @* q! n: ^1 L! q
  49. Password=my_password- E/ Q! f/ ?9 B* H' o
  50. GetDriverFunc=getSQLDriverMYSQL2 t2 Y# j, f. q6 H" a5 P5 B! j
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    1 e8 Y) @$ ]- N8 r
  52. LibraryName=./libsqlmy.so
    : }. T. u) Y+ R  ?
  53. Active=1( G) b2 b- h; g$ t
  54. ---example---
    & M" @1 e1 U: M/ b! H7 z2 m0 m1 C
  55. 4 a4 x1 t+ X! p1 b7 G4 m
  56. On a windows box, also running the MySQL server locally, it would be:
    9 h1 Q7 P; T, H) ~9 Q" l
  57. ---example---
    3 a+ z- X7 b! M. w
  58. [DBEXPRESS]! Q+ Q) C* }$ E$ V# H6 [. E
  59. sqldir=mysql_sql1 E6 n+ J1 u% K: G* D* Y$ A
  60. Drivername=mysql
    7 r6 C6 W! H$ N7 q% N, |3 A  E
  61. Database=test
    8 L: U  a+ I# w& r2 E% i6 g& a
  62. Hostname=127.0.0.1) c9 L1 w" v- F4 E  O
  63. User_name=testuser
    + c3 D2 i' u% K  h, R, W8 ^
  64. Password=my_password
    : T2 K% J* ]4 n- v% Y+ u0 _
  65. GetDriverFunc=getSQLDriverMYSQL/ d) }- e& _; h- S8 `1 O
  66. VendorLib=libmysql.dll$ D& f) k, u, C+ t3 q1 Q1 ^5 X
  67. LibraryName=dbexpmysql.dll
    ! u. @# G( d. n9 M9 p8 C+ Q( l' x
  68. Active=1
    ) k! l4 p1 R9 G3 |( I
  69. ---example----
    ( G" `  k! P; {% h3 B3 k5 f
  70. - written 02.03.04 by pwk.linuxfan( w; @. r& e  p

  71. ! z/ U/ L; }( A0 H$ b
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看/ L. e# z/ ?, f/ U9 k

  1. : l$ J+ ?* v8 Z& m2 S! t
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 9 ]0 \9 s' |2 n2 N6 H! j
  3. 5 ~# h1 f/ g0 Z+ ^
  4. # # #我们所需要# # # & @# V2 y0 i* c) w* w
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件6 d4 y& {* T/ U1 l
  6. 不会解释如何做到这一点-也有文件存在,为, Y+ p8 j8 V' d2 v
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用6 e6 }$ z5 i( k( n# o" s; G
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    4 v/ L9 I0 `1 U
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    $ h- j# c( |: i8 O6 s+ P
  10. 本地机器,这是我的MySQL安装。 + ^8 f) [' [7 `. \' _1 E& T
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从" R9 D0 Q2 _  C8 k, S% q, ^& D. T% n
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ' T7 O1 y& ]" f$ m5 Q8 }7 i
  13. 数据库。
    8 G( u) J( }1 w" S. D5 V
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在9 Q, Y- q9 _6 F6 J3 |2 V& a
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    % `" G- p6 ?! D; d6 }" L" J7 b
  16. 在teamspeak论坛,如果你有兴趣。
    7 ^& o: j) L6 }/ j! m  T% g
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机2 ?0 p% t: t6 v: t* l4 P+ g
  18. Borland公司使用。这个司机只能界面与客户端库& u' h5 f$ L" i  q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    2 c8 d% s, t1 P0 }! W* x
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ) B: D& w& p5 Q+ n: L# L" W
  21. " vendorlib " ,并解数据库连接。
    , \; x% }4 D+ G" ?; P9 \- g
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ( V8 C: V3 u% L! r: ?5 b0 z

  23. 8 A6 T  D) L: c0 j: u" N, C) D
  24. # # #做好工作# # # & i" r7 D9 C" O" M2 V. ~
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都+ {5 ~( V6 s: H! m7 @
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    , N; w# g* x7 a% u) y/ v- @, A' D
  27. 结束:
    4 x% _; A/ f6 b1 ~) d% |
  28. ---削减这里--- " X& b1 F. B: l0 z- y- g
  29. [ dbexpress ]
    : D% A/ \/ ^2 p4 i/ x" A* q
  30. sqldir = mysql_sql
    - n$ Q$ e& f+ `/ C7 W! o
  31. drivername = MySQL中
    - c! U" H! [& C3 g
  32. 数据库= your_database_name_here 5 u3 S" E( X, ^7 Y/ x2 \
  33. 主机= the_pc_the_mysql - server_is_on * W0 o/ G) D1 M6 l0 \1 R4 Z2 a: i% U
  34. user_name = user_name_on_the_mysql服务器5 m8 k5 F# R2 |$ D. Y9 @$ Y2 Q
  35. 密码= password_to_go_with_above_user_name * p: E* i8 M( |6 S8 ?; L
  36. getdriverfunc = getsqldrivermysql 7 Y7 @& Y2 ?4 h/ D- a$ u
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ! p# n) P! N! y( k
  38. libraryname = path_to_libsqlmy_libary
    * N8 i) Y, c+ ?+ D5 }
  39. 积极= 1 - U% r2 f3 g* B2 Q" U) U
  40. ---削减这里---
    0 R4 n# Z& @6 E* {  a
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    9 o2 U! p# V2 U$ }3 K- z
  42. ---例如--- " U/ e; u) M& P5 g. i6 d5 E
  43. [ dbexpress ] $ f, J" I% ?3 H% Z- J3 T) O
  44. sqldir = mysql_sql
    ( K+ }6 Q& J+ y+ r" {# F; u2 V9 {. s
  45. drivername = MySQL中
    - X( f, v$ D( Y, G* h, s& T
  46. 数据库=测试
    1 c/ ]. `+ X  s3 G+ K  }
  47. 主机=本地主机
    8 O: I) I6 W# a% Y
  48. user_name = testuser . E; ?( f0 p) z- y; b
  49. 密码= my_password
    " B" _0 l& H' ~  W, h# h3 c
  50. getdriverfunc = getsqldrivermysql ; w1 f+ B' Y9 l0 F' C
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 * e5 u' @( G" ~
  52. libraryname =. / libsqlmy.so " x4 L1 P7 d: F8 u  `& p
  53. 积极= 1
    ! G0 c; J: r% A
  54. ---例如--- / f- S/ i, Y# i4 a4 W
  55. ) {1 y9 a5 f4 X9 d! T! M% B4 S. C
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ; o8 A( D" T, A" @# [- o% K: P
  57. ---例如--- ' W2 ~) g& ^( c, w
  58. [ dbexpress ] # v0 J. w  q6 M- X' C
  59. sqldir = mysql_sql
    ) e$ P* p" M) }$ l( ^* j
  60. drivername = MySQL中; t2 a4 I$ c) y2 d
  61. 数据库=测试- g/ x" F; @; T
  62. 主机= 127.0.0.1
    0 l, k! W# R6 `* x
  63. user_name = testuser
    6 Z7 }7 `& E0 x' H
  64. 密码= my_password : z) |; [- }, I" \9 v
  65. getdriverfunc = getsqldrivermysql . G; X& h2 P$ M" I" y
  66. vendorlib = libmysql.dll在8 b5 w2 C- R0 f, l- ~8 o3 ?
  67. libraryname = dbexpmysql.dll 7 H( U. r+ N4 _+ i/ {6 l! ~0 i
  68. 积极= 1
    % M, r( E, I$ m# h+ a
  69. ---例如---- " O/ A  a! R) [
  70. -写在0 2.03.04由p wk.linuxfan
    1 x$ M5 W. l4 p. ?6 C( L/ K/ @" T
复制代码
发表于 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$ \$ f7 ^& j: x4 d5 n+ z  u
- y1 Z) e9 ]' V3 x* Q8 {0 H
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-19 08:32 , Processed in 0.098145 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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