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

2273 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
$ {+ R& ?' l' \. \& P
. U$ V* u, `' i+ k! |1 @! Y& \5 z* D

  1. 9 s2 f9 E4 r2 f2 I* Z# l
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    * I" c. C8 i3 R" N
  3. . A. E/ B2 @/ W2 M  G/ v
  4. ### What we need ###
    8 B% v4 O6 V$ X
  5. Naturally, we will need a MySQL server to store the data for us, this document 7 H/ d3 z& s( e5 g3 Q8 `6 |7 r6 ?
  6. will not explain how this can be done - there are documents out there for the 1 ?3 `) f; d5 p" {: s
  7. interested. The requirements include a (empty) database for TeamSpeak to use' p* \8 s5 C. V6 {1 l6 x$ b1 x
  8. and a user account (username + password) that has the permissions to do stuff
    ; Y* C2 D- k- F1 B5 `, X
  9. with the database. Additionally, you will need a vendor library installed on the
    ( H, f! }2 {$ ?' B
  10. local machine, this came with my MySQL install.
    : t5 U8 x: \8 t6 q. X$ I
  11. These instructions will not tell you how you might transfer your data from the
    ; M$ U) R. u0 V! @8 A
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL0 r! B  Y0 H& |
  13. database.
    : b1 N( R- k$ U/ |. x# \
  14. Some users have reported ways to import a SQLite database into MySQL, but at4 O4 `) }8 o, _! b6 D$ m
  15. the time of writing, there are still too many issues - check the current status0 O/ I7 ^8 m; h: v9 O  Z) a. r
  16. in the TeamSpeak forums if you are interested.6 r% u: V8 K% E5 l" i8 T: R( V
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from7 p# T7 e' o3 o# j! e
  18. Borland was used. This driver can only interface with the client library that
    & ?- C: N5 ^. M; _2 ?  a7 Q4 g
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ; w  }9 g$ o; c- M! C( Y# b3 k
  20. client library - basically all you have to do is to use a 3.x client library as $ I2 ?& ^+ b4 Q" _- C# `8 m4 s) D% J
  21. "VendorLib" and a 4.x database to connect to.* C0 h+ D  W3 G/ h
  22. If you need more info about dbExpress, you can contact Borland.
    , |( O) p4 r7 S2 d" h/ u

  23. . _! @4 j( Q0 q) B
  24. ### Doing the work ###
    8 ?+ }" U2 l+ x. o. S7 K. R
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    1 l$ Z9 a3 y* C% U  Q! m
  26. the perquisites right, just open your server.ini file, and add this section at
    4 J" q5 U5 k8 j
  27. the end:: o1 g4 E" m: x6 x& X
  28. ---cut here---
    - O% S& o% `6 H2 x/ Z4 {6 _3 P
  29. [DBEXPRESS]% N! }! L1 @" y7 q2 V- e
  30. sqldir=mysql_sql* P6 @* i8 g  Q: e/ i* j
  31. Drivername=mysql0 G8 \9 j; O4 U. z5 c: C5 r
  32. Database=Your_Database_Name_Here
    ' ~% J: X4 E4 J8 Z3 C
  33. Hostname=The_PC_the_MySQL-Server_is_on
    8 X- b, c8 w1 r& [* z' Y
  34. User_name=User_name_on_the_MySQL-Server8 l7 t* {( Q% d
  35. Password=Password_to_go_with_above_user_name
    " N/ k2 `' c; o0 c7 e1 ~
  36. GetDriverFunc=getSQLDriverMYSQL' D9 \! H7 b2 t* G5 N; u* `
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib7 G4 [7 K4 v1 b% x8 s2 f
  38. LibraryName=path_to_libsqlmy_libary
    9 Y" v+ K! q. P
  39. Active=1
    ; O5 v9 {3 {/ ]5 Y
  40. ---cut here---7 x6 e" l1 X4 O  _+ |9 q7 N
  41. In my environment (a linux box with a MySQL server running locally) I have:' a4 V0 `- q5 O8 t
  42. ---example---
    ( G, |  O" Q  J: |6 I0 \% H# i8 h
  43. [DBEXPRESS]
    + @) z2 d  P  o, w
  44. sqldir=mysql_sql. L* u4 [( }+ J9 d: \" H- I
  45. Drivername=mysql
    9 z7 g6 z( H: H& V" v; q4 V
  46. Database=test: E. {; [+ f) k$ I2 ]6 L  s' h; c
  47. Hostname=localhost5 P9 I; O  K/ K4 T/ A$ Q
  48. User_name=testuser
    - Q' I# }- G7 z7 Z/ {9 v1 g
  49. Password=my_password
    ! n' X$ s! }. h/ k" D8 X
  50. GetDriverFunc=getSQLDriverMYSQL
    / S8 R. n+ E- `* K% ~* L) h: K. d! B
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0/ `- w" K6 n  E. ?0 x+ ]- n
  52. LibraryName=./libsqlmy.so
    6 u# X3 ?+ W) S5 D3 `
  53. Active=1
    ' p7 i+ w* G& E' M% L9 b7 q( U, Z
  54. ---example---
    4 P3 N8 [: U- g6 |

  55. 8 b8 A" G! X# s9 b- F
  56. On a windows box, also running the MySQL server locally, it would be:/ R5 ?& Q" [2 w" J% A/ s# c, A
  57. ---example---
    ! Y# G6 t2 L7 h
  58. [DBEXPRESS]; C7 \4 ~4 I5 R- \% W0 b5 p9 j
  59. sqldir=mysql_sql
    / d  s6 e) f" ~, X9 e) k
  60. Drivername=mysql
    . A/ s3 H2 h4 j- F) t* D& ], n
  61. Database=test
    / W5 ^' T. u" l
  62. Hostname=127.0.0.1
      z' `: s4 t! C: z% g
  63. User_name=testuser" C; `, u3 }  U; v- h8 k/ Y
  64. Password=my_password
    ( @& v2 O  c) w% `7 m4 q& h: X
  65. GetDriverFunc=getSQLDriverMYSQL, A, r' ]$ F0 }( b0 j, ?
  66. VendorLib=libmysql.dll- ~+ b9 N- T+ T' d
  67. LibraryName=dbexpmysql.dll
    $ Y+ ~" w5 l7 R% l) ^
  68. Active=1
    / Y" H6 E& F1 m, {3 ?4 o
  69. ---example----( J3 t2 Y3 p  B; Y6 ?) K: }
  70. - written 02.03.04 by pwk.linuxfan2 Z7 N4 ^+ ~& k. h) g2 A# \+ Y
  71. 8 s- d. K& N0 y. [& Q# t
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看, z* O- r  _- e: _" n3 e) Y+ x

  1. . U* D, |7 H, P, t" A/ Y; k* i
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 9 C) ]- V. ^8 C+ M0 X7 d

  3. $ O% f. V5 I; M' _' }9 d
  4. # # #我们所需要# # #
    4 w! I6 Q9 ?& o
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件, |/ t  G. j8 j4 N! m" ]
  6. 不会解释如何做到这一点-也有文件存在,为( f/ m/ J4 C0 \2 S8 c* R4 n1 ?
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    * O) p$ b3 o) t$ C3 E' ]! \
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西. u7 |* l8 y% v5 H/ N
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    5 t+ o9 V. m4 N8 Z+ l) ~
  10. 本地机器,这是我的MySQL安装。
    % v# m/ H. Z3 w
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ; y" w" b: O/ u3 ]4 N
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 1 R  w8 C+ R; w7 s* A1 p( o
  13. 数据库。 ! i8 ~' V& c+ V2 D0 y/ J/ W
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    6 S# `" j/ z3 Q
  15. 编写本报告的时候,仍然有太多的问题-检查现状, N* H6 X* r5 E% }5 n; g5 d
  16. 在teamspeak论坛,如果你有兴趣。 : M9 W  o. T/ p& Q8 b& r# X; D
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    % Y6 F8 x% V8 _+ E  v
  18. Borland公司使用。这个司机只能界面与客户端库; ?+ f3 s& s; @
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这$ Y6 C- _# B1 }! A
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为9 b  ^. n1 b" q- O' y8 G# h( k) o
  21. " vendorlib " ,并解数据库连接。
    . Y8 Q& b5 O" H7 l/ O+ f
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    6 s1 z4 E+ h  J9 W; M! \
  23. ( W! L/ G. s, d7 S( M9 O1 L
  24. # # #做好工作# # #
    8 ]0 K$ r  {( u" \' k2 E4 ?6 [
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    % S/ m4 p7 s" G; h$ {! U! K; n
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在% E6 w; [5 z5 r& D: f0 l; L
  27. 结束: / r' \3 r1 w- f" I+ O; v
  28. ---削减这里---
    4 [5 c" Y% O, c+ h
  29. [ dbexpress ] , @, L8 X, E5 R; _
  30. sqldir = mysql_sql $ t" b, K/ ~, O; u) a$ `
  31. drivername = MySQL中) k' T; [: {5 d" R# D/ I. R5 W2 F) z6 W$ }
  32. 数据库= your_database_name_here * B% \7 Q! ^2 t2 Q) I
  33. 主机= the_pc_the_mysql - server_is_on ; [8 e9 i  S( R2 y# s% d3 o$ |  z: }
  34. user_name = user_name_on_the_mysql服务器$ S: C$ M% o! `/ O( X  _2 }
  35. 密码= password_to_go_with_above_user_name # l9 l  B% Q3 q$ J) o$ M
  36. getdriverfunc = getsqldrivermysql 7 K5 A# Y" u, ^7 e. e
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    7 L" o" \! r2 G0 f6 F& {
  38. libraryname = path_to_libsqlmy_libary 4 r5 K7 T1 b& I: l
  39. 积极= 1
    # J: v" t; X# T+ R2 X
  40. ---削减这里--- 6 y2 W' D+ n( m3 w' L5 g
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: - T: r* J* Z+ b" y3 ~
  42. ---例如--- . R& g3 }6 K; v& p5 [; I/ ]$ O
  43. [ dbexpress ]
    0 P# s( j! E7 g) U& O9 l6 }
  44. sqldir = mysql_sql ) {/ ]# H. P/ z6 {
  45. drivername = MySQL中
    - ]* |6 n; o* ?
  46. 数据库=测试
    8 T" R* [. U8 Y$ c
  47. 主机=本地主机
    % w: ?+ Q5 u8 u6 ?' @$ A1 u  {
  48. user_name = testuser
    ) F9 g6 i5 k  H1 Z* a' c' _7 W
  49. 密码= my_password
    . ^$ j3 @/ |* {/ a, ?- c
  50. getdriverfunc = getsqldrivermysql : {0 Z) Y  C- |) c# T& N
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 5 v5 C4 T( h9 P
  52. libraryname =. / libsqlmy.so
    $ \: o& h1 D) R0 \9 B8 S
  53. 积极= 1
    5 l5 u6 ?0 W" G* Y/ z
  54. ---例如---
    6 H  F4 {4 s0 w- `

  55. 1 w1 R: b  V. o+ [! K7 S) E4 p; W( |
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    3 P* f6 J5 Q5 d, Z; R5 m
  57. ---例如--- 0 V" q, R1 V7 y4 b6 s- ^  v
  58. [ dbexpress ] 5 K# o9 ~. ~. p9 d% Z3 w/ T
  59. sqldir = mysql_sql
    4 S7 a% T5 G7 V/ O
  60. drivername = MySQL中
    ) N, |& ~: F& R" V2 Z5 {
  61. 数据库=测试
    ( ]5 V( o1 L! g0 G& F5 K
  62. 主机= 127.0.0.1 2 E( i$ V4 L  x
  63. user_name = testuser
    8 a' \$ L0 }" r( z+ y1 _' z, ]
  64. 密码= my_password 6 l. w' r3 {! @2 e6 n4 M: g% T
  65. getdriverfunc = getsqldrivermysql
    9 \( Q" P4 G7 z  Y
  66. vendorlib = libmysql.dll在
    " `7 j5 Y% I+ K4 D4 e  U% z. k
  67. libraryname = dbexpmysql.dll
    ) }6 j4 q0 @( ]/ f4 [1 ~8 {
  68. 积极= 1 & Q  w( I  d* M& u: \3 Q
  69. ---例如----
    : M5 C' D" f9 C/ P/ t
  70. -写在0 2.03.04由p wk.linuxfan
    6 R3 }' y# @( {" j
复制代码
发表于 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 z8 x- _/ P+ t1 \- A7 w: s! H7 T0 }# @
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-8 04:39 , Processed in 0.125868 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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