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

2820 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
/ \$ N$ K. z8 B' K: U- k
4 w) J- B& x) X: A

  1. 4 ?6 m9 p# t' p! g
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    . T$ l) |* \) b7 X9 S. L  T4 \

  3. 0 W: a  _8 ~; O0 m: t
  4. ### What we need ###1 }6 ?- Y+ i5 }7 Z+ z
  5. Naturally, we will need a MySQL server to store the data for us, this document : I' B" Y- i) Y  e& J( [
  6. will not explain how this can be done - there are documents out there for the ( X3 f9 @. A" H2 a
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    5 c  p' @: T, {5 p2 v& b5 n
  8. and a user account (username + password) that has the permissions to do stuff/ `6 ^. R6 I! j( I, o4 K
  9. with the database. Additionally, you will need a vendor library installed on the: l, j$ [. o# ^7 S' q* F  A
  10. local machine, this came with my MySQL install.' b+ m- Y6 A& }) ?; ~  Y% X+ X$ h  j
  11. These instructions will not tell you how you might transfer your data from the
    ! G/ B( \5 B- [2 }7 B
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    : }- a2 K7 Q4 f4 Z- k  N0 W
  13. database.' y) B- r1 t- Z
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ' S3 N3 s- b5 @( `
  15. the time of writing, there are still too many issues - check the current status
    4 e& B% v& c( }( M
  16. in the TeamSpeak forums if you are interested.; H$ c3 c5 z4 z  D
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    / p) i7 F- X  p" T0 m8 k
  18. Borland was used. This driver can only interface with the client library that
    5 d6 J- z+ ?: t
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this5 S1 w  ~$ q* Y9 p9 I% i) d9 w
  20. client library - basically all you have to do is to use a 3.x client library as   ?( i: Q: o# N6 y+ A; C3 |
  21. "VendorLib" and a 4.x database to connect to.% B- @  T2 c, F7 j- ~4 P
  22. If you need more info about dbExpress, you can contact Borland.
    9 L: @. P, N8 \, ~  v! \1 k

  23. 1 y' d- A& {5 x
  24. ### Doing the work ###: j" B/ O6 ~2 {: m3 u
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    * Z" K7 O; h9 C8 c2 y
  26. the perquisites right, just open your server.ini file, and add this section at) t- u, o$ R8 D8 y) Z) ?# S
  27. the end:
    7 ^( D4 }4 U) @$ K
  28. ---cut here---# [8 S+ E2 I! r7 k
  29. [DBEXPRESS]
    4 d8 r: M" w5 N% _# p( K
  30. sqldir=mysql_sql% L4 r' x# |5 M
  31. Drivername=mysql
    ( B, Q0 d2 ]# e8 e: ]; h$ v
  32. Database=Your_Database_Name_Here
    : C; g1 D* z- z1 T+ V
  33. Hostname=The_PC_the_MySQL-Server_is_on$ W$ d* ~4 h- f; l1 m; q5 _
  34. User_name=User_name_on_the_MySQL-Server- g, v% [) T3 }+ M8 R0 e# Q
  35. Password=Password_to_go_with_above_user_name4 m4 Z- |/ d, P7 o* H, ]
  36. GetDriverFunc=getSQLDriverMYSQL
    & _8 D' U$ F* E* m
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    : X/ R6 l! Z! W; G6 f
  38. LibraryName=path_to_libsqlmy_libary
    1 L; D; v; w, k) k. }$ W% p
  39. Active=15 }3 r5 w3 L2 ~( {
  40. ---cut here---
    4 v# v3 q  R5 @* f: U" c6 Z
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / e* T0 n0 w$ m3 O( m
  42. ---example---
    & P1 k* ?/ v) s( D  l
  43. [DBEXPRESS]$ C: N' F: d! r# m
  44. sqldir=mysql_sql
    " l: C. Z! e# F5 I/ M6 }% s8 f; e
  45. Drivername=mysql' d/ ~6 O3 K- K9 x% ^- y9 P
  46. Database=test1 j( C% I9 \+ c! L
  47. Hostname=localhost
    ! z/ T6 \% ~# C$ S
  48. User_name=testuser
    6 P! ?* Q, P4 R: r+ J: n8 Y/ u6 r
  49. Password=my_password
    & f  `1 g) G; p/ N$ Z$ s
  50. GetDriverFunc=getSQLDriverMYSQL
    ) g7 {6 s; X7 O' E4 v- p  m
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    9 ]2 G1 B4 a1 P, q
  52. LibraryName=./libsqlmy.so
    % i3 q; W4 x# M! M* P4 `4 x* }2 V
  53. Active=1  U: Z% @8 K) G
  54. ---example---
    * Z, i/ n1 C* _0 r8 Z0 `
  55. ; c) Y) r1 i( H& H3 s% c
  56. On a windows box, also running the MySQL server locally, it would be:
    1 T/ k, n1 q! j& U! j
  57. ---example---2 M8 m$ a5 E! P( Z/ E$ K
  58. [DBEXPRESS]4 b0 R) \; @. @4 g8 K! m3 R0 @
  59. sqldir=mysql_sql
    ( j! f/ p; j- a* a2 }$ s
  60. Drivername=mysql
    8 J  Q- `. u) h' s, \
  61. Database=test
    % K/ i; t% X, I# D/ M* d8 S
  62. Hostname=127.0.0.1* x/ M9 U7 T; u! z' W
  63. User_name=testuser* l) g/ h" h" b
  64. Password=my_password
    $ |  B8 u2 d. E% f+ g
  65. GetDriverFunc=getSQLDriverMYSQL
    6 V9 y& r0 x, ^6 }
  66. VendorLib=libmysql.dll$ M, O8 i6 B' d/ w( ~% r5 Q
  67. LibraryName=dbexpmysql.dll
    % S2 P4 O/ @% X  M, V: O$ {
  68. Active=1
    3 G+ ~- ?" S- Q4 w& b
  69. ---example----
      Y7 _% e) z# J, G* e! Q' R
  70. - written 02.03.04 by pwk.linuxfan$ Y3 J1 E4 ?( Y7 K
  71. 7 y8 R' \. `. S1 v
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
1 j1 J) X( H$ [8 F6 |$ L& q

  1. ! M  {' k+ n  A* E. \2 {
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### % Y( V; g. k8 |+ E. r

  3. 1 ^+ t2 X9 Y0 y* |% C5 o8 e) s
  4. # # #我们所需要# # # 7 ]& x6 r- e! h: r- R( \0 }
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    1 n6 F4 J/ e2 _$ B4 E; {  r4 {/ [- r
  6. 不会解释如何做到这一点-也有文件存在,为$ Z; y  K* u6 x9 o5 D
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    0 S3 G  r3 \2 H' H  v
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    " o. C! q5 z  Z% v9 g
  9. 随着数据库。此外,你需要一个卖方图书馆安装于, ?2 z, w1 Y) V6 y. \+ k
  10. 本地机器,这是我的MySQL安装。 $ C! r, _: ]; r
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从$ Q3 Z* w+ w. C) \0 I
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 1 s, q9 x4 X& y. ~
  13. 数据库。 5 e' b6 E/ J% E# C; S
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在( p, J& b' q: e+ A
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    . f7 t' Y( {3 i0 i
  16. 在teamspeak论坛,如果你有兴趣。 . _3 k$ s+ N+ e* d
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 }9 [( H7 W' O1 B+ ]' u
  18. Borland公司使用。这个司机只能界面与客户端库" m' C9 I; n6 m& Y/ n
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    1 i: P" T9 Z: t9 ]
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为* F$ I6 b0 H" R4 y
  21. " vendorlib " ,并解数据库连接。
    ) ~+ F5 s4 v1 j8 [/ s$ S( ^3 x
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ( Y7 t, o" C: F4 @, r7 ]
  23. * p, y# b9 b2 a# S+ _3 h
  24. # # #做好工作# # #
    + t$ \  `, |2 B+ C- w
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    4 [% E( e* E: S) Z1 y- u4 V0 x
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在. Q" _9 G% y8 V+ Z9 U
  27. 结束:
    ) s; d4 ^! |9 H$ Y; t3 _# v5 g
  28. ---削减这里--- ; K2 q' C# |# K3 N3 _! E; G7 ~
  29. [ dbexpress ]
    7 m' J% \  ?( ?& ~( ^9 G5 {5 o
  30. sqldir = mysql_sql
    * U/ t0 }  c% r% }: J0 Q
  31. drivername = MySQL中
    * \3 q  N' @, Z4 x& z
  32. 数据库= your_database_name_here
    3 Q+ `* J8 g9 N0 M, Y) ^( `
  33. 主机= the_pc_the_mysql - server_is_on
    , L4 x* g" G# p3 d: u
  34. user_name = user_name_on_the_mysql服务器
    ) I9 d4 `$ Q& W* a
  35. 密码= password_to_go_with_above_user_name 8 u( _& ^1 B5 Q/ t! K; J! E/ R! }
  36. getdriverfunc = getsqldrivermysql
    2 j& i- a. {6 [. E
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib " u' x# o2 d' \1 ~) b' C
  38. libraryname = path_to_libsqlmy_libary
    ; S; u8 q8 o3 a, U& k5 q' J) ~
  39. 积极= 1
    ! A7 M. `  h8 ^8 A
  40. ---削减这里---
    - T+ ?0 h1 P; `; i0 `) q- ]  w
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    * X3 B  Q# s+ K! f# a
  42. ---例如--- 2 h, `7 j4 e( a4 i" G
  43. [ dbexpress ] 9 d2 a$ D$ m% N3 t
  44. sqldir = mysql_sql
    # w7 ^( D# \: a% I8 K& H- v* B, ]
  45. drivername = MySQL中
    ) q2 g, K  j* A4 D3 X
  46. 数据库=测试
    8 }& K) N% x) E, `& j* x
  47. 主机=本地主机
    # I2 A; \7 _1 R
  48. user_name = testuser
      f( O% G- ^+ ~- z/ ?) q# J8 t7 W' s
  49. 密码= my_password
    1 L( |; k( p7 H4 I  k+ `7 W& n
  50. getdriverfunc = getsqldrivermysql
    , |# B7 o6 D& f, k& R$ e/ N, N, [
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    & |  j4 p/ d/ H( Q$ `+ }0 ]7 s
  52. libraryname =. / libsqlmy.so
    & @3 e' T7 A: D4 J- m: K
  53. 积极= 1 ; V3 g& E) D& C2 J
  54. ---例如--- . F6 c/ ]6 ~7 J4 y" v

  55. , Z' P$ H8 Z" W  L6 Z
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ' n. H. M4 Q, }# O
  57. ---例如---
    * g0 K, f8 v$ o+ t) ~$ Z" d
  58. [ dbexpress ] 3 K% W, T- _2 h( D
  59. sqldir = mysql_sql
    ) i! }% E/ y) t  Q+ I, A
  60. drivername = MySQL中
    & Q: p; @( q" O. M  ]5 B
  61. 数据库=测试2 ?- R5 O! u% [& G9 k
  62. 主机= 127.0.0.1
    . g1 y* f: l. I/ _9 F7 r
  63. user_name = testuser
    8 d6 ~  \" p1 l, O# R; V
  64. 密码= my_password * s4 i- X1 z( L7 c/ t& Z
  65. getdriverfunc = getsqldrivermysql 4 D' }! F. P! u
  66. vendorlib = libmysql.dll在, P" E& h. W' `1 s) O2 A0 D& E  j7 x
  67. libraryname = dbexpmysql.dll
    $ d; _/ t- o1 X* S9 S, F
  68. 积极= 1 7 M# i/ L& u+ t. i
  69. ---例如----
    ) i) i+ i8 I6 ^, K% |
  70. -写在0 2.03.04由p wk.linuxfan
    + V5 q- U" _4 T4 `& R' t& c
复制代码
发表于 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
- r1 V! E3 B. |' e4 |. P9 I  |& P; q0 h# g* ^2 E7 \- n" 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-6-29 11:48 , Processed in 0.097849 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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