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

3253 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan * x5 T: n5 I# D& u- A4 E7 O
- _) S; W" v: @, u) r- m  P

  1. 7 X& }6 V0 r- A( K* O
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######( Y& z. |6 l, a
  3. ; S" P0 i  R; M, R5 N
  4. ### What we need ###1 _) {, U/ R. I; U! g+ \# |
  5. Naturally, we will need a MySQL server to store the data for us, this document ! |* L+ a. d1 d4 L! N  m8 ^/ g; k' `
  6. will not explain how this can be done - there are documents out there for the
    9 F9 T$ e, Z2 F6 i) W1 d/ K
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    : O1 O0 E5 F& G. J7 M
  8. and a user account (username + password) that has the permissions to do stuff
    # }0 s* j6 ?( u* B7 c4 t% X
  9. with the database. Additionally, you will need a vendor library installed on the% f; {5 T0 m- \+ W$ w0 g
  10. local machine, this came with my MySQL install.
    - Y5 Q* Z8 r" A* i' E: x: |. F
  11. These instructions will not tell you how you might transfer your data from the
    5 `0 B! r9 w( o) n# n. U$ ?
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL& _( ?$ v' g, X) L8 I  ]
  13. database.
    6 T9 X' V' n9 O; ^) u$ u' p1 y
  14. Some users have reported ways to import a SQLite database into MySQL, but at; L' }8 y8 r: R1 S+ t( J! E- n
  15. the time of writing, there are still too many issues - check the current status. l- t- P0 d" |+ }; `1 i  W
  16. in the TeamSpeak forums if you are interested.& w% ^& N, N5 a( d9 S$ W' y# c5 A3 ~
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from: Z3 k" H9 e# ]- H; [2 o' G
  18. Borland was used. This driver can only interface with the client library that
    2 K' w" A7 y) f; P: O9 I* S
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this( u9 Z  Y9 G  A9 ?
  20. client library - basically all you have to do is to use a 3.x client library as " I2 |. x$ A; G  X8 H# X+ ?
  21. "VendorLib" and a 4.x database to connect to.; j# L1 ~9 w0 t- B9 j7 k
  22. If you need more info about dbExpress, you can contact Borland.
    $ S  S4 ^- |2 ?
  23. % m5 _. x5 i8 A1 T7 }$ K# n  p
  24. ### Doing the work ###. ?/ U6 g+ \- V- t6 J# B
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
      H; o& r3 S6 s( Q8 u/ Z  l
  26. the perquisites right, just open your server.ini file, and add this section at
    0 B+ U. V! K2 |2 K
  27. the end:/ I3 F7 J! U$ G$ |1 Y* H
  28. ---cut here---  l1 N# U8 X/ k) v$ h& O
  29. [DBEXPRESS]
    ( |0 W+ G2 z4 T5 D3 Y4 c. V
  30. sqldir=mysql_sql
    # ]- i6 C* D6 U  m
  31. Drivername=mysql, a6 V* `+ B$ _0 D: q$ e& c# Z
  32. Database=Your_Database_Name_Here
    1 K. ~8 I0 I) H8 K; o, P6 d/ O+ G
  33. Hostname=The_PC_the_MySQL-Server_is_on
    * o% Z5 p6 t3 d6 h0 R9 j' M4 e9 E3 C6 }- a
  34. User_name=User_name_on_the_MySQL-Server
    " ~* i* o  M) o% m! u3 R
  35. Password=Password_to_go_with_above_user_name
    ! |& W3 o7 l( H7 K& _0 H1 A! Q
  36. GetDriverFunc=getSQLDriverMYSQL. o4 Z2 }1 F% D$ g6 Z' R
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ( `# m' J7 q2 \9 B- m
  38. LibraryName=path_to_libsqlmy_libary# m0 |' g! e+ v  e( T% A2 M
  39. Active=1+ w( l/ }+ s( W
  40. ---cut here---, h3 K3 j8 s) Q0 M0 T# L
  41. In my environment (a linux box with a MySQL server running locally) I have:$ u! u. g8 W; W8 n! u
  42. ---example---" x' \7 j, w+ Z5 k8 a! I) N
  43. [DBEXPRESS]; P1 L. U' D" i/ X. c* d% L
  44. sqldir=mysql_sql
    7 @( ^4 r) w7 }. f* @
  45. Drivername=mysql
    4 U9 ~6 I  f6 y! E7 P# C
  46. Database=test
    # C4 ?: R+ R* n2 D
  47. Hostname=localhost6 l3 H+ I0 X6 i. K( {; ~( N
  48. User_name=testuser
    ! Y6 n) W% B: b  W  P2 ?
  49. Password=my_password
    ( W! ]" u* g3 G7 \
  50. GetDriverFunc=getSQLDriverMYSQL4 M$ a& s1 l! I0 Y. i+ O  L
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    9 {4 c1 h% O) a) {1 M; \
  52. LibraryName=./libsqlmy.so
    4 e4 q5 t9 C4 G; ]6 B! y
  53. Active=1
    + P% I! L4 t9 O* y2 v5 n, L
  54. ---example---
    6 ^2 I$ d' \& V) s$ J
  55. / E: Y( y# J2 r% Z; P8 m
  56. On a windows box, also running the MySQL server locally, it would be:
    ; E3 T% c. T4 Y' p
  57. ---example---
    5 a$ y  {2 T8 N' C! }7 H0 B& T# K
  58. [DBEXPRESS]
    5 c6 s& l0 j+ g! x# D9 q/ c: I
  59. sqldir=mysql_sql7 |9 E/ b9 v5 l
  60. Drivername=mysql
    / o. y2 E* y' n' J# l5 T' {4 e
  61. Database=test8 s( S4 h. Y4 x, a) D' l  T
  62. Hostname=127.0.0.1& u; F1 t/ ?; u9 E
  63. User_name=testuser2 J; n( @, L; i$ D$ G
  64. Password=my_password. h! V9 P. N, }: ^9 W0 N" Q/ \
  65. GetDriverFunc=getSQLDriverMYSQL8 z9 A. \2 Q+ t$ M4 Y! {: h# \/ ?
  66. VendorLib=libmysql.dll: _. B' A; s  `) y: w
  67. LibraryName=dbexpmysql.dll
    * B8 Z& i8 z9 r% I6 |- i4 |- \
  68. Active=1
    5 G, P1 R. B8 R
  69. ---example----
    ( @* ~3 D+ U* F; s. e
  70. - written 02.03.04 by pwk.linuxfan
      P! C# p  M. P' D
  71. & ?, O0 B; W( c" F! V
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
# f) G7 b* `2 A' z* {2 N/ b
  1. # s; `" \5 w  `# T# e
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    7 b, O0 e) D) {: {4 X/ V1 K

  3. + u2 _" v& f! N) f: M' y
  4. # # #我们所需要# # # 8 p+ I+ F* z4 A" H! e7 m
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件9 Q& S; y. ^2 S, u) Q
  6. 不会解释如何做到这一点-也有文件存在,为
    9 w8 @. Y" w2 q
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用' Q# x8 h+ J3 c0 m4 w+ J4 }- E
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    , i0 h* d* {6 \) J  R! T- ~
  9. 随着数据库。此外,你需要一个卖方图书馆安装于6 u4 F, v" s" P9 F1 J: h
  10. 本地机器,这是我的MySQL安装。 ) q- S" q2 P6 T: q/ s
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从) ]8 q. H8 u" \  Y' k
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL & ~2 W* T5 u/ u% v+ d
  13. 数据库。 6 C( W: s5 L5 t! b8 _9 h3 ]
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    # X3 _! \! j/ I
  15. 编写本报告的时候,仍然有太多的问题-检查现状4 F0 ]8 e- @, a( z& C# g- S
  16. 在teamspeak论坛,如果你有兴趣。 : f8 c3 ?" K' ]5 B0 M% t
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    0 Y8 I: I2 D6 Q& D7 A. x
  18. Borland公司使用。这个司机只能界面与客户端库
      J4 S, h& j9 _
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这$ m( n8 s: g6 f+ P& v* Y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为4 g0 e( y+ z3 G6 E  f$ E
  21. " vendorlib " ,并解数据库连接。
    . M# ~! ?7 d% `* b2 M& ]
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 9 l0 j* x0 J2 y/ Q

  23. ( `% Q$ U% \* W3 F6 l
  24. # # #做好工作# # #
    # [% S1 f5 ?( `# e& x, E9 j; c
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    % A1 V, Z6 D5 s& k% I
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    , D) N' @0 W+ m2 l3 e1 y- S$ P5 N
  27. 结束:
    9 @' l& `0 _+ w: P# O% ~
  28. ---削减这里---
    , L" t! w# Q7 ?2 X
  29. [ dbexpress ] 6 a7 U9 J$ n; x- R8 u
  30. sqldir = mysql_sql * Z# M2 ]" [: @& L) ^
  31. drivername = MySQL中
    9 U2 o3 E7 B6 W9 M
  32. 数据库= your_database_name_here 1 o4 p8 c3 D" r2 g
  33. 主机= the_pc_the_mysql - server_is_on 0 Q: F6 ^/ |3 Z7 ?7 E
  34. user_name = user_name_on_the_mysql服务器* N( `2 R( ?  K, S' k
  35. 密码= password_to_go_with_above_user_name + o4 z" X( W  p
  36. getdriverfunc = getsqldrivermysql
    4 i  T7 x& W' e* f) e+ z- z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 5 O- T6 \) I9 N! J" @
  38. libraryname = path_to_libsqlmy_libary
    # P; l* k+ F% b6 l0 ]( E7 G
  39. 积极= 1
    9 w3 _; X  f2 |
  40. ---削减这里--- 6 C1 g/ X$ X' c/ ]/ }; q! M( R
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 2 a6 s) T6 s. o8 a9 Q) O0 h
  42. ---例如--- ; K8 m, v2 H" O9 O" y
  43. [ dbexpress ] 4 f- W3 ]1 |& m4 `/ [" G
  44. sqldir = mysql_sql
    + z& V: k: |$ w! c( {
  45. drivername = MySQL中
    ( b! Z% c7 q+ V9 W' n
  46. 数据库=测试1 w- M  g/ P3 ~8 W$ u* p
  47. 主机=本地主机
    4 I' f, ?; J% q* j
  48. user_name = testuser % J1 ?0 l% Q! U
  49. 密码= my_password , F& n" o5 e* V: c/ d0 S
  50. getdriverfunc = getsqldrivermysql 0 j% X/ @, N+ e( m) h- t. [
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    + ^/ N3 [+ g2 I# \; |1 R
  52. libraryname =. / libsqlmy.so
    ' O& S& X, w5 e  R
  53. 积极= 1 ' i" N( [5 w# U) y- p" u
  54. ---例如---
    + E1 h$ @) J& w# K; l& Q# {! |

  55. # j2 N- l: ^; A9 K& b8 b) q( b( ~
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    0 G7 l( p  I. ?. l
  57. ---例如---
    8 h4 }) L7 X( x" P' o; l+ I
  58. [ dbexpress ] 2 g2 A4 n$ @! j# [
  59. sqldir = mysql_sql " O" e+ H, I+ S7 N1 h% p6 L( ?
  60. drivername = MySQL中
    2 t& Y5 n$ k; O
  61. 数据库=测试: M& X; N9 G2 D7 N$ v
  62. 主机= 127.0.0.1
    : w( k( l; y( h$ E  N0 t
  63. user_name = testuser
    ! m( E) k# o1 n% G/ }; p
  64. 密码= my_password ( ?1 p2 J8 M  [2 I, I% E
  65. getdriverfunc = getsqldrivermysql * a' P2 r8 y. o% U0 ^! C
  66. vendorlib = libmysql.dll在
    6 h2 }4 H8 _+ X$ {: T
  67. libraryname = dbexpmysql.dll $ ^, [( X  U, O) n8 k
  68. 积极= 1
    " R. k+ O9 T; {
  69. ---例如----   B+ j% g) f  r9 A$ z7 P
  70. -写在0 2.03.04由p wk.linuxfan. R5 z. K9 w0 n5 ]+ r
复制代码
发表于 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, f' z( X; ]2 A* |, H
2 q$ ^8 k# h0 w9 J
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-29 09:43 , Processed in 0.093831 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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