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

3351 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
& a+ `3 e6 f# |7 _0 f" d$ C" {# r6 D) [+ u
  1. 4 B: Q! \  K$ D5 j2 N
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    " O! |8 G3 ?6 r1 I- n

  3. 4 q+ J6 T: f, `
  4. ### What we need ###1 a) w' N' X) W% W# X
  5. Naturally, we will need a MySQL server to store the data for us, this document 2 |: u* ^6 l( d7 m; r
  6. will not explain how this can be done - there are documents out there for the , f6 |8 _  I% u6 N: h3 c+ \0 c
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    . [6 a" ?& |! |8 U/ S7 C
  8. and a user account (username + password) that has the permissions to do stuff
    5 S6 \& ]  [  e" \# n5 y$ t
  9. with the database. Additionally, you will need a vendor library installed on the
    / N. ]" |7 b+ t2 o. v
  10. local machine, this came with my MySQL install.
    : S* e; U: j* E3 M- |7 ]8 \
  11. These instructions will not tell you how you might transfer your data from the
    / ~$ ]; p7 R1 u! y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL4 S" U/ y8 V/ l
  13. database.1 U: y4 g5 ]  D; ~$ D8 {! q
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    $ X8 S/ p. k1 G  @3 P# ]
  15. the time of writing, there are still too many issues - check the current status
    2 ~1 {% N) s' Z8 C+ P: E( Z, m( A
  16. in the TeamSpeak forums if you are interested.
    ' F( h! a4 `9 d0 M3 n# S8 V/ A
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    2 A1 t7 S0 y% d" U+ @* D4 M$ j1 i, q4 C
  18. Borland was used. This driver can only interface with the client library that * P% s, s! {0 R2 E
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this2 ~9 X  i# P' j: j7 c9 X
  20. client library - basically all you have to do is to use a 3.x client library as
    ! e; I" f( P% O1 j9 ^6 m4 s) O* d' M2 C
  21. "VendorLib" and a 4.x database to connect to.
    $ `: i% @2 g. \6 G) m# }8 P: R( O, q6 T
  22. If you need more info about dbExpress, you can contact Borland.
    6 C( Q& F0 D. \

  23. 2 A; |. D6 Q! U6 N7 P  Q2 E
  24. ### Doing the work ###; m0 P. T3 U& g0 d6 r" ?( C6 Y
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all$ k$ e, J! y+ M0 U& o2 b5 d0 }
  26. the perquisites right, just open your server.ini file, and add this section at" K. m1 g& ~6 F% L7 e. O& T# c
  27. the end:# ]4 A+ `6 y- h/ e
  28. ---cut here---% O6 i8 e4 G3 a0 x  d
  29. [DBEXPRESS]
    # }0 K; S3 q/ h8 [. F% X" W7 V
  30. sqldir=mysql_sql7 F  O7 G9 [3 C
  31. Drivername=mysql/ k; \2 F2 h( T8 P4 Z3 Q
  32. Database=Your_Database_Name_Here0 |% J/ }" }, Q! Z: W- ~% \
  33. Hostname=The_PC_the_MySQL-Server_is_on( P  a; ^; u4 y' L
  34. User_name=User_name_on_the_MySQL-Server
    & v7 \; f/ O& s! [9 D) x
  35. Password=Password_to_go_with_above_user_name
    " ?  A# [6 k/ j: u/ l/ V6 ~! T8 u
  36. GetDriverFunc=getSQLDriverMYSQL
    . v$ |7 ~- x  {9 n
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib0 j1 l0 L5 H3 o! q
  38. LibraryName=path_to_libsqlmy_libary
    " E; @4 G/ M& P( \6 ?3 M
  39. Active=1
    5 w2 D3 t7 T4 b9 Z; C6 K6 d: @" A& {8 y
  40. ---cut here---. z( _7 f0 U* ]7 `5 O5 ^
  41. In my environment (a linux box with a MySQL server running locally) I have:7 s6 p6 i0 _/ T& U
  42. ---example---
    " ]: _& g6 c& f# K6 x: I
  43. [DBEXPRESS]
    , V* U, v$ _7 F0 t
  44. sqldir=mysql_sql
    " y2 h" @0 T1 v* ?1 P) L
  45. Drivername=mysql3 a7 Z3 j4 @7 S: x% t+ \
  46. Database=test" g6 i( m9 g' i3 }
  47. Hostname=localhost5 X  U4 F# f" e$ p/ P/ Q
  48. User_name=testuser; F& n, w7 C0 Q& x0 X1 q* t5 r
  49. Password=my_password
    - E9 X: z9 Q+ `
  50. GetDriverFunc=getSQLDriverMYSQL
    5 S$ ]! v& E- U2 e( Q. d# f) q
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0: O% S: Z) m) g4 ?3 J1 i5 W0 \
  52. LibraryName=./libsqlmy.so
    , F1 l+ \; b3 e! A; y% D, z
  53. Active=13 s+ K; J0 p% w6 l5 \
  54. ---example---1 k8 x9 s) u0 {' }8 c0 I
  55. * W8 l: F, ]! j$ [( J( A! L
  56. On a windows box, also running the MySQL server locally, it would be:; ~6 o5 H5 `+ ^7 f5 L& Q
  57. ---example---( M& S# M6 C- Y# B) Q* H
  58. [DBEXPRESS]% ~. T7 c# W: J  z
  59. sqldir=mysql_sql
    - V" ~! U: x5 l, [( H. ~
  60. Drivername=mysql
    & Q$ h1 a: s% y" {0 Q; E# F
  61. Database=test5 ~! L1 [. Q8 K' p, _( W% E4 T. w
  62. Hostname=127.0.0.17 G4 _7 V$ W% _0 q" ?0 F
  63. User_name=testuser
    , O& o2 M) |  E* {
  64. Password=my_password) ?8 y- H5 D' k% D
  65. GetDriverFunc=getSQLDriverMYSQL" o( i  P, L8 c* f+ f( ]
  66. VendorLib=libmysql.dll+ ~( [; j5 F% ~4 i. h
  67. LibraryName=dbexpmysql.dll
      o) j: j: {: s
  68. Active=1
    6 A2 _5 Q/ X3 h: \9 L
  69. ---example----
    % c9 v/ C. S& c! [
  70. - written 02.03.04 by pwk.linuxfan
    8 l7 u8 X& b$ ~. p% ?' v5 V3 ^

  71. " ~; \% U4 _( T
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看% i5 T1 D+ p* c9 N

  1. # x9 G# [+ b& N" I9 ?: s2 d
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ! N! b: P, G# |* A' N- M
  3. + g' @- S; W' {9 L
  4. # # #我们所需要# # #
    & ]  c, N7 N, L7 p$ z. [% c4 i. d
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件, e* y  ~( j6 O+ i8 k5 C' J
  6. 不会解释如何做到这一点-也有文件存在,为
    6 w2 N( s4 T2 I! \
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用. X# _: j- }! h0 e! p% I1 S. A
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    0 M2 L( ?* P; K8 W% c* c2 T' p
  9. 随着数据库。此外,你需要一个卖方图书馆安装于9 m" N" ^1 y- p: L- @+ W
  10. 本地机器,这是我的MySQL安装。 7 c/ w& N0 @- `. G7 k  u- ?
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从5 y# V  E7 `) K
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL & i5 ~6 t9 @) |, O5 M3 e
  13. 数据库。 % r, ]# Z6 h* T) T; z1 H6 L
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    # ^4 [+ H# I* H' l, o2 ]" j* n
  15. 编写本报告的时候,仍然有太多的问题-检查现状% n) r: c5 H7 E: s
  16. 在teamspeak论坛,如果你有兴趣。 7 W: a, `- _( m3 d1 c0 e" z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    % X+ H! K3 U4 ]! Y9 Z2 Q/ v% B
  18. Borland公司使用。这个司机只能界面与客户端库
    ( e9 j; f% T1 n! H
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这7 a  w; @) b, h4 i5 Q# ~
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为8 X4 ]1 t, Z4 W. r
  21. " vendorlib " ,并解数据库连接。
    % N6 w. l2 N" O0 }  W
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 . Y! p) c5 d+ L1 f2 T0 `
  23. * b' k3 K# _' A4 N6 D1 _, {4 q9 a" Z
  24. # # #做好工作# # # ( ~# @/ G# ]) [, a) v6 b. x; y9 W; p
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    : b5 Q3 P4 h; ^% [6 e  w% D
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    9 n4 d7 D( W4 r* ~' Y5 d3 L& G# D
  27. 结束: ( N5 i; h+ q9 @2 U6 Z$ P
  28. ---削减这里--- ) Q! E  n/ D4 f) o! V
  29. [ dbexpress ] ! j' o% L6 T, M
  30. sqldir = mysql_sql . F7 \0 M1 J. P3 J" B: U/ P3 S
  31. drivername = MySQL中
    4 D0 V. [+ ]  q
  32. 数据库= your_database_name_here ) y* x. b1 z! L" [# Z* s9 {% ~6 \
  33. 主机= the_pc_the_mysql - server_is_on
    * ^' m, C$ v8 v0 _- E& _7 F7 Y' g; M
  34. user_name = user_name_on_the_mysql服务器" }2 ], }5 ]8 Z
  35. 密码= password_to_go_with_above_user_name : E( o9 A% T0 {6 k+ Z
  36. getdriverfunc = getsqldrivermysql 4 I# L; G9 \$ W  l- O
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
      @) P0 u4 j% o4 d
  38. libraryname = path_to_libsqlmy_libary $ h5 k# _5 `* v" c; w7 a
  39. 积极= 1
    0 f3 Y8 F% r- B. `2 \
  40. ---削减这里---
    3 b0 w. {; z3 v
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 7 m4 }# R/ z) i, {
  42. ---例如--- . v* X; i% K. ?) V/ }
  43. [ dbexpress ] 8 p" Y* M( P# X$ {
  44. sqldir = mysql_sql
    / Q. T; j4 w. G- ^  i3 }; V
  45. drivername = MySQL中$ W3 S* F7 J3 H- S
  46. 数据库=测试" a/ S* w! Q4 h/ f
  47. 主机=本地主机
    0 C9 |4 p! f% s; c% d
  48. user_name = testuser
    8 o/ |+ ^. D' G/ t1 W
  49. 密码= my_password
    4 ]$ o0 y4 s  X# w+ n' \' d$ G
  50. getdriverfunc = getsqldrivermysql . r! m5 \6 A4 m3 L) z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    9 G; M/ v9 [/ ?; k/ c
  52. libraryname =. / libsqlmy.so
    * S- U4 q1 G( ]* M+ {6 O7 f: I
  53. 积极= 1 . n& z5 Y* U; _% w/ t6 E+ ]
  54. ---例如---
    / r$ y( h$ X* L: M- `( V) @2 N
  55. 9 g7 t5 n: P# y; r
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ; Q) T& G( {5 }& k# x2 o, S" b3 @
  57. ---例如---
    - W0 D# w. k: f- ^
  58. [ dbexpress ]
      Z6 y6 w* y8 ?6 a+ M2 }. q0 J; l% F" s
  59. sqldir = mysql_sql 3 D' Y' v! k3 l3 M$ z
  60. drivername = MySQL中( N. T. a2 r7 V
  61. 数据库=测试
    7 n) C3 ]0 u1 W1 }8 V
  62. 主机= 127.0.0.1
    1 V4 n) B( q2 m2 L) g
  63. user_name = testuser 2 }3 T0 z- x1 A- [7 A) ?
  64. 密码= my_password 2 X- \7 o9 X6 H% U$ E
  65. getdriverfunc = getsqldrivermysql # Z2 }3 B& Z! g* `  [1 Q
  66. vendorlib = libmysql.dll在+ I0 B% A8 d/ C- L  }
  67. libraryname = dbexpmysql.dll + z' s! |2 x- V* v! B6 `3 n$ r7 ^9 W6 M
  68. 积极= 1 # d, T4 [9 _$ ?& i, }
  69. ---例如---- # v$ p6 v; p$ t4 u& Y( T
  70. -写在0 2.03.04由p wk.linuxfan
    # S2 {7 D$ A4 t6 d. f. }8 h" u
复制代码
发表于 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
& s+ o4 s- J2 x: T/ f# e$ r8 q7 x# H6 o4 `& m
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-17 22:09 , Processed in 0.089928 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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