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

3373 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
4 `5 m! V+ _$ h# Q9 ~3 ]& f1 K* i6 J& ]( {% N4 e- v/ c  t

  1. 0 N) q; H8 M! b/ \* i- y
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######- C" S: Z( X9 Z2 d2 Y
  3. ' r1 T" @+ V9 j6 f, T& h
  4. ### What we need ###
      P; y0 I% k7 y- y1 n5 {  M
  5. Naturally, we will need a MySQL server to store the data for us, this document " {" @7 x; \  L& x
  6. will not explain how this can be done - there are documents out there for the
    * B0 \! B1 \5 \7 i& ]
  7. interested. The requirements include a (empty) database for TeamSpeak to use) f( J2 d/ V- \4 \) M8 S2 J+ }( ]
  8. and a user account (username + password) that has the permissions to do stuff
    " T# l& P' \' A9 H  Z9 s
  9. with the database. Additionally, you will need a vendor library installed on the4 u" n* A5 T( l- i
  10. local machine, this came with my MySQL install.9 h8 w; i: _3 b" r4 e0 F
  11. These instructions will not tell you how you might transfer your data from the
    . R: R% _. t' d3 ?
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL0 a/ L: @7 z4 q) V# j. m
  13. database.  r: [# b# n6 j  l) e1 x2 [
  14. Some users have reported ways to import a SQLite database into MySQL, but at- y" _* e* s8 q6 ^
  15. the time of writing, there are still too many issues - check the current status
    5 S+ N% W% O/ L! m3 l  d1 H, t8 ]
  16. in the TeamSpeak forums if you are interested.
    * F$ `7 R; ~' J$ ^$ S7 t8 q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from; }& R# U  r$ m* t: P
  18. Borland was used. This driver can only interface with the client library that 3 X  d9 i" l7 x: p% a
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this$ N2 |: n1 b5 V# R
  20. client library - basically all you have to do is to use a 3.x client library as " O: y8 T% `% T- h) N7 I
  21. "VendorLib" and a 4.x database to connect to.
    4 Y* v2 o4 n  C8 d5 p
  22. If you need more info about dbExpress, you can contact Borland.
      u: v  l# W/ m* D
  23. . b# t2 H- C- m5 w6 ?9 ~) X/ T% C  r
  24. ### Doing the work ###6 u+ o+ R7 |. m, P8 F
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all1 Y* [: M0 L1 n; `& q+ W
  26. the perquisites right, just open your server.ini file, and add this section at
      ^' X( C0 f" h
  27. the end:' J5 r- k' P1 w" K; a" a5 |
  28. ---cut here---6 T( Z8 x0 ^* G+ ^2 @
  29. [DBEXPRESS]
    8 |# {3 ]$ \6 M. M' W6 R
  30. sqldir=mysql_sql* ]. }9 e) ]; h% T- y, Z
  31. Drivername=mysql
    7 E, q& G! @4 M, @3 @
  32. Database=Your_Database_Name_Here
    7 z- M' g2 d- w( d' Y# n6 p
  33. Hostname=The_PC_the_MySQL-Server_is_on, z  q! J7 q" A- W# B  g4 ^
  34. User_name=User_name_on_the_MySQL-Server$ [6 \% @+ w1 e5 A, x: J: `
  35. Password=Password_to_go_with_above_user_name: p* k! V; I7 N& S% R
  36. GetDriverFunc=getSQLDriverMYSQL
    . C/ s8 Z' b1 `0 @4 z7 N
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ) R8 _3 b3 l) j) U" n, h0 x  C
  38. LibraryName=path_to_libsqlmy_libary
    7 e; Q6 A  U7 [, ~" b# s
  39. Active=1. y# {1 B/ f- F# J
  40. ---cut here---
    0 u9 X3 A3 f$ D" i# s8 @
  41. In my environment (a linux box with a MySQL server running locally) I have:/ g& c2 F: ?8 }
  42. ---example---
    1 i) C2 \; J9 ~. Y) C7 t
  43. [DBEXPRESS]  A% Q, H$ E. z3 V: [3 m
  44. sqldir=mysql_sql% w- i. _. P" }) s! R. ]
  45. Drivername=mysql+ V  \1 g! Q7 Z
  46. Database=test
    - p8 T+ X) m% K; E1 W! b
  47. Hostname=localhost- O9 a' `) L  @: C  x
  48. User_name=testuser/ {7 D/ h/ G- R+ q( F2 u
  49. Password=my_password
    & Q2 r. l; N5 L1 e, C3 e) T" V
  50. GetDriverFunc=getSQLDriverMYSQL1 q+ _: J) Y# T6 O. }5 L1 U. n
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    5 T& R: f6 W, h" X4 A0 O. P/ m" [
  52. LibraryName=./libsqlmy.so
    ( `) ~5 t- T7 X$ e2 {* L5 s
  53. Active=1, J2 H1 }0 {4 k& j4 `* o
  54. ---example---
    & i( `2 a2 s, M
  55. : f/ s+ J3 B' W# j0 Y7 H. d0 q+ ~
  56. On a windows box, also running the MySQL server locally, it would be:
    & a8 @8 g5 A: l8 {3 J# t
  57. ---example---4 W  e, Y& K+ A0 s6 T
  58. [DBEXPRESS]
    # I" u, x4 Y' ?
  59. sqldir=mysql_sql
    2 x& }# a6 p6 Y
  60. Drivername=mysql  H: E7 F! y2 v, q" E3 ^% G
  61. Database=test
    ( S+ K5 q; l2 [" I; R
  62. Hostname=127.0.0.1# X$ \) G  U$ I; r& M
  63. User_name=testuser
    : I" s% H1 w6 a2 R+ n
  64. Password=my_password" Z. a0 H9 U3 L* @5 C
  65. GetDriverFunc=getSQLDriverMYSQL
    ; F  X5 o  L% Q
  66. VendorLib=libmysql.dll
    ! r5 o# z) t+ h3 k. ^
  67. LibraryName=dbexpmysql.dll' ]) c7 n- u0 O. d6 b/ G
  68. Active=1; P9 K" @4 ?0 X3 a' T& h' ?) H
  69. ---example----
    ) C3 N  r8 X1 W4 ?8 @
  70. - written 02.03.04 by pwk.linuxfan2 B$ d' e% K8 G0 H4 \
  71. - A, R- b5 s% K0 H2 I" R
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看8 u  a+ q4 e/ P8 g- B1 Z4 `

  1. $ A; D3 }6 O; U" f
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 4 @0 A) n, w5 a: Q- k/ y1 I

  3. " h1 V# e! u" j* Q& v2 O
  4. # # #我们所需要# # # " b& {" B0 N+ \
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件6 q2 z9 \- i2 P- e% G
  6. 不会解释如何做到这一点-也有文件存在,为( l1 l4 B* |9 l1 `8 v) u; T' _
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    " d) c$ G' K: i4 y* o
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西( a: ~3 |( z) z8 b4 y( p
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ) C6 V& y4 t4 U
  10. 本地机器,这是我的MySQL安装。
    8 U. ?$ }1 \" B0 r6 j  [, ], {
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从5 c" ^  C/ N2 m, C
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    % h+ ^- y9 C6 u4 U& c* |
  13. 数据库。 ( E* m# P( j. v( H7 T) A
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    1 O) Y6 t* A# `8 @9 A- V6 R: ^8 Z
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    , g) c) _+ s" o, z: H5 C: k
  16. 在teamspeak论坛,如果你有兴趣。
    ( ?$ ^, x4 Y% p. R( P
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    2 Q, V9 d4 c! n5 \2 M+ D
  18. Borland公司使用。这个司机只能界面与客户端库6 a0 f  }9 R2 O  i# m# c
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这2 |* U/ r% E9 P5 z" M7 ^5 F
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    - {7 t9 T; h8 A& }- l3 Z
  21. " vendorlib " ,并解数据库连接。   t" T, N  c3 [
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    3 a2 t& z8 v# w  `" H: W0 b( }0 T+ X

  23. 7 J$ W* m7 K/ x* J9 W7 N# H, x
  24. # # #做好工作# # # / A8 i! |4 t4 |% n6 R9 @* Z: K% S
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    6 }5 h' [  N; k6 Z% i
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    2 z: X# o2 |5 S" h  E
  27. 结束: * X9 u( ~! ~, z4 V! G5 V# H
  28. ---削减这里---
    + |% E- V0 }5 j
  29. [ dbexpress ]
    1 o, I' b" Y' L) Q8 n) m
  30. sqldir = mysql_sql
    & ?) }+ v' L, I" [) e( d4 `
  31. drivername = MySQL中  b) ?9 K$ b8 v9 t; h& @- Q7 ]- S! J
  32. 数据库= your_database_name_here / O, N! @: s  P! t/ \* I
  33. 主机= the_pc_the_mysql - server_is_on 2 J  i1 e! O$ i! l! `7 E
  34. user_name = user_name_on_the_mysql服务器6 w/ j" I: J# a! v" W0 X( |, L$ ?
  35. 密码= password_to_go_with_above_user_name " O& p7 P6 o' A5 ?# N) u! J
  36. getdriverfunc = getsqldrivermysql 8 `0 G/ x- {8 ~7 P- M
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    9 U, q( V  M* \* D
  38. libraryname = path_to_libsqlmy_libary
    8 Y; `: c: a% T1 e, K2 g
  39. 积极= 1 ' W1 s: ~9 C8 ~+ F2 k) t
  40. ---削减这里---
    ! ?5 U5 m$ l0 Y+ D( @% O9 Q3 X
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: . o7 U' r: `! L4 R0 E& X7 D% F
  42. ---例如---
    7 n" B5 @; j+ l0 B) I: q( l
  43. [ dbexpress ] ( ~. D- n" I/ C. `9 F
  44. sqldir = mysql_sql
    % E2 G) ]2 J3 f
  45. drivername = MySQL中% l; g; i8 W# v0 [4 P0 ]
  46. 数据库=测试
    . `. A1 j3 G+ ?# T
  47. 主机=本地主机* y  R4 v0 d2 V
  48. user_name = testuser + a  `2 U0 q5 h$ p8 x
  49. 密码= my_password " `! B1 f& d3 k0 _1 c
  50. getdriverfunc = getsqldrivermysql ( s2 p/ \8 `3 H& _$ W! h/ y" P
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    8 Q& e1 F$ L* u/ u# q2 z+ F; k% V
  52. libraryname =. / libsqlmy.so % {/ i, Q: L5 r* Z7 J
  53. 积极= 1
    + y. {* K( z  |- K) v8 `# Z! Q7 p
  54. ---例如---
    8 c  J' I! x0 R* P% Z

  55. 7 k  e/ ^# g, u' }0 C# B
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ; v, e/ \) i. P7 i7 h  d7 {9 s+ Q
  57. ---例如--- 7 W' R9 a6 _  ?' i- H/ i
  58. [ dbexpress ]
    ' B8 F+ {* N# h* l7 o. y  f
  59. sqldir = mysql_sql
    5 G8 W0 W- G8 n7 G& F( e
  60. drivername = MySQL中
    & s$ y$ |. t0 ?9 T8 P3 X
  61. 数据库=测试5 c0 x9 _- ]$ a3 v) a2 ^  s$ f
  62. 主机= 127.0.0.1 7 @) G& J% T$ Q% s
  63. user_name = testuser
    * Y7 C: ~4 R4 _
  64. 密码= my_password 6 A7 a- d, f$ }; C
  65. getdriverfunc = getsqldrivermysql ) w7 [/ i) a0 ~! v# Z
  66. vendorlib = libmysql.dll在; G7 ?; M$ q8 ~8 g
  67. libraryname = dbexpmysql.dll
    ! {# d5 l% D& K" F6 _# f
  68. 积极= 1 3 p: u& v( ^. k' |; w, w. N  g
  69. ---例如----
    % W" u4 F$ t' c' \
  70. -写在0 2.03.04由p wk.linuxfan; S$ X" X" y* w9 S; f" n
复制代码
发表于 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* C# q7 m7 f( H

' E& ~! Q# x2 Bbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-22 06:15 , Processed in 0.091285 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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