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

3147 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan   n7 O! z5 Q& P" |$ ]4 y  w
: {' k+ d% f) N- j1 H

  1. ) n) C8 h9 @4 j8 a) G3 ^2 S
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    $ [: Y3 a0 f8 b8 J: K2 N  u( ^

  3.   |* V: |7 P8 c* ]
  4. ### What we need ###! d6 a: V- F4 z! N* y: T
  5. Naturally, we will need a MySQL server to store the data for us, this document % ^2 g$ k4 l/ P% _2 k
  6. will not explain how this can be done - there are documents out there for the
    ! j7 q& C& v) {$ B
  7. interested. The requirements include a (empty) database for TeamSpeak to use& C9 d0 F1 {4 i- O. c! g
  8. and a user account (username + password) that has the permissions to do stuff
    . Z4 n$ u6 _2 `# O7 {) `" h
  9. with the database. Additionally, you will need a vendor library installed on the7 {' e7 @% S& R+ X
  10. local machine, this came with my MySQL install.1 [9 t  ~$ m, L% ~2 ^, l
  11. These instructions will not tell you how you might transfer your data from the
    ' M  \0 }3 S' |1 S- q/ e1 [; E
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL5 j) ~. |, K' I  d8 A9 h
  13. database.
    * U0 w+ G1 g; F) N! L( y' Q
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    9 c# @. f5 `7 S+ Q3 R# Z6 S
  15. the time of writing, there are still too many issues - check the current status- `% _& c  Y& S0 ~; e, w0 u# [
  16. in the TeamSpeak forums if you are interested.7 l* x$ v- S  h6 i$ W, n6 r
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from$ w7 e& Z# k! @" Z: U. u
  18. Borland was used. This driver can only interface with the client library that
    1 `5 }" C; c3 `
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    3 [7 q! W, H8 [. p7 s1 C
  20. client library - basically all you have to do is to use a 3.x client library as ( J4 Z- @5 }; N& J3 N
  21. "VendorLib" and a 4.x database to connect to.
    . @. T5 X; K: X3 k6 s
  22. If you need more info about dbExpress, you can contact Borland.
    ' J4 L+ H) m: g6 ^; {# A
  23. 9 ^( R$ k) y1 H$ D) h9 `4 q
  24. ### Doing the work ###0 {+ g8 O7 _/ a2 T4 a, ]+ c6 q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all  H* N0 H# e: E2 E2 P
  26. the perquisites right, just open your server.ini file, and add this section at
    / x$ G: b3 }, `* J
  27. the end:
    / v' H: e2 b( }1 ~
  28. ---cut here---- C# L4 }' V# }- e
  29. [DBEXPRESS]
    0 r  \6 M5 p. G0 y* z
  30. sqldir=mysql_sql1 K& l( B/ H7 [
  31. Drivername=mysql( U! P! g9 Q' _
  32. Database=Your_Database_Name_Here
    % Y4 d1 Z- w% ]7 A1 @  i+ n! }
  33. Hostname=The_PC_the_MySQL-Server_is_on
    , Y+ z' h; J) E0 c
  34. User_name=User_name_on_the_MySQL-Server" `# o! L2 r& @5 B( p9 X$ p$ P/ g$ _
  35. Password=Password_to_go_with_above_user_name; F" k( z. b7 y) s
  36. GetDriverFunc=getSQLDriverMYSQL
    # }0 V' u( X0 \8 Z- l
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib' M0 d7 g7 Q) L
  38. LibraryName=path_to_libsqlmy_libary
    " U6 o  U  @; v) J( y
  39. Active=16 g7 o2 [4 U' y4 Y0 x+ `
  40. ---cut here---
    6 M( q8 u3 Z  Y8 k
  41. In my environment (a linux box with a MySQL server running locally) I have:
    8 w0 c. v! w4 Z: `' l# g' }- q
  42. ---example---5 ~. T" [( _) Y$ v
  43. [DBEXPRESS]
    ' A8 x" d0 L: A
  44. sqldir=mysql_sql
      z) `7 @& f8 z7 P( |, N
  45. Drivername=mysql
    # C5 \: X1 Q2 _( {' D7 `
  46. Database=test. o; E5 D6 H/ g2 L3 g: q4 S
  47. Hostname=localhost/ w5 ?; S) @, @
  48. User_name=testuser
    2 F2 j. v1 Z( _% g' i) ]! H- B
  49. Password=my_password
    * N9 X  n9 L" u
  50. GetDriverFunc=getSQLDriverMYSQL% |: [7 s5 V8 O/ M
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    1 a& ~& T# ?* c' @
  52. LibraryName=./libsqlmy.so+ b0 w! v/ V6 ?! Q, e
  53. Active=1
    2 Y. z" }  W' j2 k
  54. ---example---1 E4 ~7 Y8 C7 `4 D

  55. / e8 j: t, V" ~( E# U7 K
  56. On a windows box, also running the MySQL server locally, it would be:$ Z6 U9 M% p) H1 `. {. R" y* [
  57. ---example---" h3 }8 e. [4 ^8 J3 D$ D- K, `
  58. [DBEXPRESS]
    / M9 g9 B7 Z* G2 x" R6 i( ?+ v) H
  59. sqldir=mysql_sql
    : j$ {" e1 r, @9 }& z/ V- Q
  60. Drivername=mysql% T4 j1 [( P" L( V- `' z* u
  61. Database=test$ ^  ]% G; t. {& T
  62. Hostname=127.0.0.1& j) `) U( }  e! W+ G* f2 E
  63. User_name=testuser# b( E. s% T) `3 o  f4 g' I
  64. Password=my_password
    9 ], y& G; Z# L- W) G/ |% Z
  65. GetDriverFunc=getSQLDriverMYSQL, l3 a6 }' u1 G
  66. VendorLib=libmysql.dll9 I6 F: e1 N! N8 w' C
  67. LibraryName=dbexpmysql.dll
    $ B/ k# b6 y4 _$ Q! [! h6 f
  68. Active=14 X' [% z, u5 ~, u5 L
  69. ---example----& i. t6 c. P- W/ b/ e0 S& z
  70. - written 02.03.04 by pwk.linuxfan$ }( x. i, q5 G) ]/ P
  71. " L4 R; O- j& S9 J/ u  C# I1 W: l5 F' S7 o
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
4 D, \. o2 p7 Z! [5 {
  1. * U# f) m3 X" `3 n. e% R
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    , ?3 Y3 T6 e0 c% ~" E
  3. / K: J5 B7 J( K( a
  4. # # #我们所需要# # # $ X' M  D; [3 a7 \1 k* s
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件. z8 J4 h$ ~) p
  6. 不会解释如何做到这一点-也有文件存在,为
    * ?* p: O4 Q9 }1 U0 t% O7 F
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用2 N" |% |5 E. D2 H9 `
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    5 b- c, w6 {* a  G, ~3 I
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    , j& U3 }$ v3 {9 P4 s; Z8 V
  10. 本地机器,这是我的MySQL安装。
    6 p3 P) V0 l0 `* u- j$ v# M+ Z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从( [+ D4 A, y1 T0 E& L2 Y% Y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 6 G- o, ?6 Z0 k( {
  13. 数据库。 9 f5 i1 C6 E9 m/ t& `1 o2 |
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在, D5 {& H, E' d0 ]5 b/ E
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ) a6 G, [0 B3 X. Z, ^/ g
  16. 在teamspeak论坛,如果你有兴趣。   i: g7 s' `5 b0 k' p" q* R
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    8 p; v& t0 H6 a: n5 s
  18. Borland公司使用。这个司机只能界面与客户端库! q7 l; b: o" E# z4 Q6 c
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    # U8 d7 x+ j4 t. P; {$ Q/ g" h
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为; @: M, X1 U2 s7 s- J# k
  21. " vendorlib " ,并解数据库连接。 $ Z8 Z* \! k: O, l1 |
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 # W4 M; \% B  B/ X
  23. 0 x2 t9 _/ s1 n
  24. # # #做好工作# # #
    ; I& P  s4 J  e4 J6 {
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都8 @9 T" n* C8 e
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ( Y; {* S! t6 M0 w, N! ?
  27. 结束: ; {$ V/ {: ^0 e# H, T% w
  28. ---削减这里---
    , ^7 r9 `- t/ u% \" o( G
  29. [ dbexpress ]
    4 `, P& h3 D: F6 k6 W
  30. sqldir = mysql_sql
    . W: N$ x% |, g
  31. drivername = MySQL中' H+ M; @( V+ E4 D
  32. 数据库= your_database_name_here
    / H' K3 c5 p+ P) l5 b5 x
  33. 主机= the_pc_the_mysql - server_is_on 3 G6 }) ]) E5 U3 |- ]3 ?* Y
  34. user_name = user_name_on_the_mysql服务器* I$ v! d) k# O8 U9 _; z
  35. 密码= password_to_go_with_above_user_name
    8 d8 g9 r9 a; |1 B& o' E5 `
  36. getdriverfunc = getsqldrivermysql
    7 v: \- K5 f, U- _5 L! \
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ' e) m& Q; J5 h# g
  38. libraryname = path_to_libsqlmy_libary " l% A) N5 K% v: [
  39. 积极= 1 . E; m" R7 B  Z; R: X$ C
  40. ---削减这里---
    & d* n- z; \: W. h  Q/ S5 d" D) t0 @
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: : s2 T5 C2 i% h1 X5 g
  42. ---例如--- . n) I* b7 f% r% j) A
  43. [ dbexpress ]
    * G6 z  H4 c$ w
  44. sqldir = mysql_sql
    / s& H# w  L7 U9 O0 x
  45. drivername = MySQL中, O* N! x# p; P; {, H, c' O
  46. 数据库=测试
    9 }% L# {3 X: M( Q% e
  47. 主机=本地主机
    2 S8 q) _/ R) n
  48. user_name = testuser , ^* @1 n" L, W% x8 O! ?6 Y
  49. 密码= my_password 7 Q3 q) e- D( s+ q
  50. getdriverfunc = getsqldrivermysql 8 @8 w+ W6 a, u& J: m8 F
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 5 c: S6 s; x% Z3 k$ Z, |. v) G5 t
  52. libraryname =. / libsqlmy.so 6 c0 ]/ P2 i6 _9 U. H
  53. 积极= 1
    ' Y& _2 M8 U  C  C( g* G
  54. ---例如---
    * `! D2 J- d( r' A: }' Y$ f

  55. " d, F2 _0 T' N& p. U2 V
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    : J, y6 w* \' W: e" _+ S: o4 R
  57. ---例如--- ( @7 X  v$ k; N, {6 Q9 o1 Q+ j, r
  58. [ dbexpress ]
    9 ~: h7 f# U* k; Q3 Y- D
  59. sqldir = mysql_sql
      f; A1 t9 I8 G4 x
  60. drivername = MySQL中" x/ F  a- s' [
  61. 数据库=测试( N8 q, |8 F; v5 k
  62. 主机= 127.0.0.1
    ! n1 L+ H6 A8 `# H8 I2 L0 _; I) N
  63. user_name = testuser 3 ~) M: t. I2 \4 B' @
  64. 密码= my_password
    ) c4 F5 q" c. D; I/ |
  65. getdriverfunc = getsqldrivermysql
    3 S* Q7 k: \6 r: J
  66. vendorlib = libmysql.dll在
    7 g+ L) @! y. B1 @
  67. libraryname = dbexpmysql.dll 7 b8 u$ a0 f3 {7 I# u6 T7 U
  68. 积极= 1
    * {/ {3 S) |, B3 U
  69. ---例如---- $ M+ p5 y, K0 s" E: C0 ]
  70. -写在0 2.03.04由p wk.linuxfan% }) [% h& }# U4 l' `  p
复制代码
发表于 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 words5 i- A% b8 w$ p- _1 Y# b7 f& E+ H4 s

+ ~% U3 _- J# _! [. pbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-11 01:44 , Processed in 0.104118 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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