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

2628 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan * E. K/ j, y5 F: W. F5 A

3 ]: r2 ^( q0 M. Q" w' E

  1. " W7 h# s4 t( s8 z9 T! Q" V
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ! g1 g& a/ L/ j# |( _* e, V
  3. 5 g, }! l$ D0 ]4 [
  4. ### What we need ###, f! S; Q6 M; o( }) M6 F( Y  y7 f7 B
  5. Naturally, we will need a MySQL server to store the data for us, this document
    $ m  q  \3 `7 g5 E0 Q7 I
  6. will not explain how this can be done - there are documents out there for the
    * e* Q8 x7 F- Q1 B+ r; P* M! G5 Y" u, g
  7. interested. The requirements include a (empty) database for TeamSpeak to use3 ~# I' [0 g; ~% C2 N9 B% m2 F
  8. and a user account (username + password) that has the permissions to do stuff" ?+ P% g( s! u5 u( i! t
  9. with the database. Additionally, you will need a vendor library installed on the
    3 B3 Y* D. m5 E/ Y! ?- N
  10. local machine, this came with my MySQL install.
    1 ^* g* G3 Q/ V, {, S9 U0 A
  11. These instructions will not tell you how you might transfer your data from the# p* p  p1 q' _/ G* _  s% g! a
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    - }0 @' V) D! B- |
  13. database.. l  T2 B, H# g6 h
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    # v: x1 Y  \6 r4 X8 p9 H
  15. the time of writing, there are still too many issues - check the current status
    * r; ~7 _1 Z% ^
  16. in the TeamSpeak forums if you are interested.7 ~7 f) V1 x! x/ x
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from6 i. D1 E- m, t' n1 `
  18. Borland was used. This driver can only interface with the client library that / @4 w1 j* L; m% z! N
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    " a2 y/ |$ P3 M; E8 F
  20. client library - basically all you have to do is to use a 3.x client library as . j( e( w( f( B: d5 N
  21. "VendorLib" and a 4.x database to connect to.3 \* a1 g/ v- u# b  C
  22. If you need more info about dbExpress, you can contact Borland.
    . U4 v2 F* [/ T. k; R

  23. 5 X9 U" `; V; c6 k
  24. ### Doing the work ###
    ! d' [9 \  Z7 c  G
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all; F4 Q- |& u! _1 n9 `' o
  26. the perquisites right, just open your server.ini file, and add this section at0 A% o3 Q# \& @# _: n6 [
  27. the end:' A( l+ h& J8 {2 q
  28. ---cut here---. S1 ^' E6 Q% H4 F- b4 l7 o
  29. [DBEXPRESS]3 z8 o$ ]1 L- e5 ]; A
  30. sqldir=mysql_sql
    8 C4 Y9 f6 M0 I' j+ ]5 n9 |
  31. Drivername=mysql
    % |& ]% b, P& T  J: d  Y8 C; N4 p: k
  32. Database=Your_Database_Name_Here
    : o) n  r- \( U1 ]. m2 @% B
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ' ]! h; a) j- S: W
  34. User_name=User_name_on_the_MySQL-Server
    / r2 e1 @8 d5 k2 B3 e9 I! E
  35. Password=Password_to_go_with_above_user_name  N9 i/ ^; W  R6 @' ?
  36. GetDriverFunc=getSQLDriverMYSQL
    7 v9 t; g8 r& O
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    8 W: U% D" p) ]
  38. LibraryName=path_to_libsqlmy_libary
    " B) f" O: `0 \5 m
  39. Active=1% M2 k8 K- |( R7 u& l9 d7 u/ G
  40. ---cut here---$ V4 d( v4 U" p' A* r; A, Z
  41. In my environment (a linux box with a MySQL server running locally) I have:
    : L" T1 \6 f' R7 x  y5 \- o1 I$ S) j" |
  42. ---example---  m/ t# ]. F% \1 _$ J3 V" X( A
  43. [DBEXPRESS]2 M0 s% @' S5 n" K0 ~  R! E
  44. sqldir=mysql_sql
    8 |# N8 ^, ^9 F, E$ U9 z
  45. Drivername=mysql
    " K! J; d2 b9 [
  46. Database=test
      c0 Q. [, ^  N9 \
  47. Hostname=localhost5 D1 H8 e4 Q  [" x4 z
  48. User_name=testuser
    : w$ X3 z% ]% s0 z3 `! q
  49. Password=my_password
    * d" t! h: v; c$ d9 ]0 g
  50. GetDriverFunc=getSQLDriverMYSQL& O5 ]3 ^6 |4 a; f! }7 v' p
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    2 N4 @8 P8 p) \( i1 j
  52. LibraryName=./libsqlmy.so* q9 j' g2 X2 }5 x7 Y6 ?9 s
  53. Active=1& a, I# m% a! G' N: H$ H/ |
  54. ---example---
    6 C% h, Q* r/ s0 o7 J0 }  L+ |
  55. 4 D' |- z7 `9 z  y- h) D4 v
  56. On a windows box, also running the MySQL server locally, it would be:
    . Y8 H( q: j% F# q- x1 @8 \! S! A
  57. ---example---
    ( o( W, Y6 B/ d
  58. [DBEXPRESS]0 v$ Q! N2 R; i  L* h& `0 p6 g
  59. sqldir=mysql_sql" X6 d1 ~/ k( I7 M
  60. Drivername=mysql2 F! n8 T+ u- g& G9 v
  61. Database=test6 ?- O- r2 b" Y5 \( K4 w
  62. Hostname=127.0.0.1$ `0 }/ e, r# T; q
  63. User_name=testuser
    9 E. W" B! O% x3 Y/ t1 L' A
  64. Password=my_password
    ; s7 K6 P/ Y. H% H8 x3 q( T8 }1 t" M
  65. GetDriverFunc=getSQLDriverMYSQL
    & @( q3 }0 U; G) s* i
  66. VendorLib=libmysql.dll
    ' ^2 f7 `; S( R) u3 ^
  67. LibraryName=dbexpmysql.dll
      x% L9 J, r- }1 \' O1 b6 c2 ~
  68. Active=1( n& C! W& `, ^/ U9 @6 E
  69. ---example----8 N$ ~: y$ R* K
  70. - written 02.03.04 by pwk.linuxfan: e# ]5 D3 v) p7 A$ z
  71. - s! u: r1 u% R! W% P# A6 M) G
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看0 L5 T$ T% W! Y0 }

  1. $ j: E) n- z7 D0 {1 x
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    * ^+ ?- m6 A% F! W! ?: ?+ Z+ r
  3. 3 S. V2 l3 ]  \. C3 A4 L
  4. # # #我们所需要# # # % D$ \# |9 u, I% s
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    # |  W5 j; R/ S5 m
  6. 不会解释如何做到这一点-也有文件存在,为  `7 D: E* _: ?! P: q5 F
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用. t3 K$ v, ]# }* v
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西5 R0 t0 j0 I* [% t& l
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    - P# q% V0 D( R2 r" q" `
  10. 本地机器,这是我的MySQL安装。
    + ~% k* G6 o* @8 q; \5 T
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从$ e4 w+ S2 Z; U- [/ W0 R
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL * W7 o+ A8 H/ |( o: w+ s
  13. 数据库。 # \8 S; G$ m4 X) q" Z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ( E4 U) Q1 R/ l: @, b' @, w
  15. 编写本报告的时候,仍然有太多的问题-检查现状0 r* Y6 M  V" t) B
  16. 在teamspeak论坛,如果你有兴趣。
    ( E1 @! j4 Z  {* K% [) d8 I
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    2 n3 N0 U# ]0 Z3 l! D
  18. Borland公司使用。这个司机只能界面与客户端库
    7 z! Q( |( B6 D  n" @3 a5 d2 C
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    5 j2 B; d! W! F( s
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为% p7 T1 y+ j8 J' t8 B* `
  21. " vendorlib " ,并解数据库连接。 , z2 F( Z; C# j1 z
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ; `  K; i) W9 u! u  v
  23. 2 ?0 ]" U, P& c* P8 s5 u) c
  24. # # #做好工作# # #
    1 L! N" w2 n, D9 w
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都$ D1 D8 _7 [* W0 _4 _, }& ~
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    # t0 s% b) o1 U
  27. 结束:
    6 Q+ p$ @" h! Y; V; e* [3 M) d5 j
  28. ---削减这里--- $ ]) n. {' f4 q6 x& P
  29. [ dbexpress ]
    5 h1 H# z1 }- {
  30. sqldir = mysql_sql
    ) _6 ^3 K: t" B5 A0 S* X  Z
  31. drivername = MySQL中
    - \* Y' r2 Y4 l2 s8 a, f; R% [
  32. 数据库= your_database_name_here % T/ V* z. C: t7 q. R( c
  33. 主机= the_pc_the_mysql - server_is_on
    + V) Z$ i1 K# A, t$ l/ G
  34. user_name = user_name_on_the_mysql服务器
    : q1 K6 _8 ?- f: J# a* M0 n
  35. 密码= password_to_go_with_above_user_name
    , r/ J" l; ?$ T, T
  36. getdriverfunc = getsqldrivermysql
    : X7 [& o4 k: m: a3 f
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    . g5 j1 w% w( h& ]& o- [& j) _- }
  38. libraryname = path_to_libsqlmy_libary
    8 E! q# ^. w. v: Q( U. j- G
  39. 积极= 1
    % h3 `7 `  I9 \" R  S9 Z4 l, i. ]6 C
  40. ---削减这里--- ) C# z6 P0 L2 `% K- J
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    . ~6 ?  N; C* u
  42. ---例如---
    ; {/ h6 `9 O3 @. B/ E5 f. `
  43. [ dbexpress ]
    / W% W8 s$ Q0 \
  44. sqldir = mysql_sql * o0 J8 G; x0 ~& r
  45. drivername = MySQL中  t5 D& t' u+ t$ ^* d
  46. 数据库=测试' d* W# ?% P) M; ]7 y
  47. 主机=本地主机
    . Q- K( I5 D. _" t, S% G
  48. user_name = testuser
    ! \( G8 w- ~/ M# B$ B# l( H' ?
  49. 密码= my_password
    , W& M: S' g1 t% W" r
  50. getdriverfunc = getsqldrivermysql 8 n5 m3 t. J, S2 S7 \
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    # e" G- n; ]* k, x$ J: ~( ~
  52. libraryname =. / libsqlmy.so & C% @# z3 ?# t. P0 I
  53. 积极= 1 ' Y0 `# R: b7 y
  54. ---例如---
    , Z4 ?/ D' X% F% R

  55. 1 A" }, U+ G0 J: Z
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ! v7 ^% g% J, a& m2 O
  57. ---例如---
    * j# W' j$ o$ i
  58. [ dbexpress ]
    ; L9 G' I* a( J( l
  59. sqldir = mysql_sql . p5 y& k3 L: X& h, g
  60. drivername = MySQL中
    : c$ ~' i7 s- |
  61. 数据库=测试! F7 @8 U$ h2 r7 R
  62. 主机= 127.0.0.1 + w- I' Z# ~: \- N4 @$ \
  63. user_name = testuser
    5 Q* @# o& p8 I* y; S5 V4 Q% I
  64. 密码= my_password
    6 A# K3 V: Q' M! n/ T9 a: M
  65. getdriverfunc = getsqldrivermysql
    # \. a8 R  ~3 v/ ]/ A: l- {6 ?
  66. vendorlib = libmysql.dll在7 P- U- A, O5 j3 e- g! j% q/ S
  67. libraryname = dbexpmysql.dll
    ' W( [9 I1 H( r4 e
  68. 积极= 1 4 y2 K  R9 }' p* x( G. Z
  69. ---例如---- & |3 L5 e/ R5 g% @* |$ v' P9 f- |
  70. -写在0 2.03.04由p wk.linuxfan
    7 a8 A4 P" O$ Y# S$ b" M7 t$ k
复制代码
发表于 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
1 j. q- x7 Z6 N2 w& j/ n  Q5 G* u* u
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-16 20:13 , Processed in 0.093141 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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