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

3007 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan * L$ h; d* U7 A- s6 k& \0 }

, C0 V3 q' [( {, {5 F7 z: r

  1. $ A. H' G" \2 d% p; F
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######  S5 N/ D( Q" f- g2 J1 e

  3. , b# X, {) y' v4 u
  4. ### What we need ###! p: @' Y3 h1 i* \8 x' ]- F% ^/ V
  5. Naturally, we will need a MySQL server to store the data for us, this document
    . k6 n- b8 b: N2 k. `+ ]6 h
  6. will not explain how this can be done - there are documents out there for the 8 T0 [, g# O  P3 X  m( Y! p" B
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    + W" v8 U7 j, V1 Y# P6 a- x
  8. and a user account (username + password) that has the permissions to do stuff- a/ U6 |7 D/ o1 V- V
  9. with the database. Additionally, you will need a vendor library installed on the
      Z2 ^$ n& |& t0 b; R
  10. local machine, this came with my MySQL install.
    - j( j9 _9 X5 Z
  11. These instructions will not tell you how you might transfer your data from the" W) x9 g# K& N' ]4 K
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL+ [% T, z5 Q/ I* o/ p
  13. database.
    ! D/ U. e( J7 }: Q- g
  14. Some users have reported ways to import a SQLite database into MySQL, but at1 T* r" ~% Y( k1 }# @) H
  15. the time of writing, there are still too many issues - check the current status
    6 ?# i% |$ N) m# `
  16. in the TeamSpeak forums if you are interested.
    % t3 K2 K+ T# U- \) Q$ o
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    3 v; Q; ?7 z! L3 X
  18. Borland was used. This driver can only interface with the client library that + }1 J- |( i- O' d. d2 l
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this# v6 |9 A, K8 h* p4 h
  20. client library - basically all you have to do is to use a 3.x client library as
    1 ^7 c( T0 R1 _* q/ u% N, ?
  21. "VendorLib" and a 4.x database to connect to.+ f  x1 V& o5 u2 f+ ], ?
  22. If you need more info about dbExpress, you can contact Borland.
    $ |0 C7 y2 H/ K9 \  V( E7 }" r
  23. : B; ?7 W+ c* S+ O+ ]  |  S9 t# d
  24. ### Doing the work ###
    7 ~' ^$ _8 o  Q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all$ f! w  j5 ^  {3 |0 t: }+ F
  26. the perquisites right, just open your server.ini file, and add this section at- }- \7 O- H8 `1 |" G: h
  27. the end:
    ; L. d+ q# n3 w2 W1 t6 K# r
  28. ---cut here---
    ; Z% W4 X% P9 o( A6 T
  29. [DBEXPRESS]
    ! {. @7 y% i5 f* r
  30. sqldir=mysql_sql, r' p* |/ E- Y; s, b* `
  31. Drivername=mysql2 y8 {9 {- @8 E7 h3 \' B( T9 H# o
  32. Database=Your_Database_Name_Here
    & G% D0 D5 C' l8 h3 {2 S7 @
  33. Hostname=The_PC_the_MySQL-Server_is_on4 y: [* S! N1 ~: y
  34. User_name=User_name_on_the_MySQL-Server
    6 N" M) L$ w: T+ d1 A
  35. Password=Password_to_go_with_above_user_name
    1 i) Y, E+ r& M$ T; K
  36. GetDriverFunc=getSQLDriverMYSQL
    ; H$ O6 o% s! ^" A
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ; k8 d- c* p2 ?
  38. LibraryName=path_to_libsqlmy_libary4 O) ^8 ~6 g. l
  39. Active=1% c- p! ~4 O- H) M& `6 \
  40. ---cut here---+ z' U! i- b% ~3 D8 s
  41. In my environment (a linux box with a MySQL server running locally) I have:; |- V! F9 ]% ~# G; a; b6 N
  42. ---example---5 ]( g5 o4 y: _5 k
  43. [DBEXPRESS]
    " \3 G: B1 ?, w# R
  44. sqldir=mysql_sql+ M) L! q9 k6 r" q  s% \# u
  45. Drivername=mysql
    $ v; b: U' l5 a+ ^! |6 T
  46. Database=test
    . x+ {, E# l+ [9 H  i
  47. Hostname=localhost
    . z7 `: r3 H3 t, a  S8 z
  48. User_name=testuser
    7 O) H7 D/ u( O2 l1 w( Q, N9 ?  P$ t4 y7 a
  49. Password=my_password8 w1 m; J0 }5 N: E9 r7 n* H
  50. GetDriverFunc=getSQLDriverMYSQL
    / q; G# _) V5 r/ h
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0  J6 r! O) o: F. y( f
  52. LibraryName=./libsqlmy.so
    % A/ C' m6 _4 w! K+ g6 i) O
  53. Active=19 L' I2 \- y) m1 {% P/ ]0 @
  54. ---example---
    3 }% m. G2 Z2 o! P  }
  55. ' U% C" |, H0 Y2 s
  56. On a windows box, also running the MySQL server locally, it would be:
    , ]8 i* ~; w/ i( L
  57. ---example---
    4 r1 D* V" R! [: h& R7 j- U/ O+ j
  58. [DBEXPRESS]( q7 @. a' R2 _; {! r. J' z
  59. sqldir=mysql_sql7 c. p& F7 Q1 @; K& x% ^! u* k9 G
  60. Drivername=mysql. C$ J- ^: }/ n! R8 q
  61. Database=test
    - Q) v% p% g2 V/ @! ]  R
  62. Hostname=127.0.0.1
    # e8 ]9 U0 c5 T# e4 y' x$ B
  63. User_name=testuser0 u5 |, T1 O) U: Z/ L, w2 n6 n9 K
  64. Password=my_password
    9 J% H, f5 a( K: i" E$ A3 L
  65. GetDriverFunc=getSQLDriverMYSQL
    ) l5 l7 ?- e3 [+ g, h) s; x
  66. VendorLib=libmysql.dll- `/ G+ ^, s7 V/ q* N0 u
  67. LibraryName=dbexpmysql.dll9 A* ?- V$ R# j7 p5 f8 c
  68. Active=1: t% k$ A* k/ ?5 T! {4 l$ Q+ M
  69. ---example----4 Q7 A" f6 y$ b+ h2 W6 z# `
  70. - written 02.03.04 by pwk.linuxfan( J" j' K7 t! I5 {6 z
  71. # y, a* \! s7 ]
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看* a; ~) i6 U9 L( J: H
  1. " t& Q. n, G; q- u$ Z. d
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    3 A' H2 r1 ~% |9 h3 @) u, r7 `

  3. ' c7 A3 F3 i0 G/ C
  4. # # #我们所需要# # #
    : v: u4 O) P2 J' n$ m. a+ X& Q
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件' y# s' x( X* O. K) S! J7 o8 D
  6. 不会解释如何做到这一点-也有文件存在,为$ ^5 r" P9 K+ K- S4 G$ f( u
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    8 a1 G9 i' M! B$ S& f
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ) Z! G0 Q. `' x/ `7 w6 T
  9. 随着数据库。此外,你需要一个卖方图书馆安装于8 M7 p: N4 Q$ ]
  10. 本地机器,这是我的MySQL安装。
    & D' L- ?) U' @
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从% L& g) g3 T- S# C
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    , N8 h( }; b% ^$ ?1 d9 M( J
  13. 数据库。 : h5 g: ]7 X& M/ U4 P3 I  _3 \, o& W! K
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    & s2 S- N' ?& K/ K, i& F4 }( C8 m
  15. 编写本报告的时候,仍然有太多的问题-检查现状# b+ n' O: ~* r4 _2 u
  16. 在teamspeak论坛,如果你有兴趣。 0 B4 [" D) F5 d
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机# b4 j) r3 R- @! B) {0 ^5 o
  18. Borland公司使用。这个司机只能界面与客户端库
    ! c& \' v$ a3 E& y
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这% @$ s. |8 g+ G0 e
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    0 p4 U+ T4 I3 H0 v) n
  21. " vendorlib " ,并解数据库连接。
    % Q- |9 y- f! N. j
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 7 e. Z! `/ d% `$ Z# [

  23.   m8 m/ [# k: I$ s+ z8 }# k5 y
  24. # # #做好工作# # # 4 j" u7 \5 }# d( \& w- T  R: N# w7 E
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都7 D4 i6 o1 I3 ?. P' t5 Z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    / x8 [7 h& Z6 }0 }% ~9 L
  27. 结束:
    & U- c+ @) J% x6 }+ O
  28. ---削减这里---
      @. o# q! s/ {1 @
  29. [ dbexpress ] + o0 v) x& y$ J2 {; c
  30. sqldir = mysql_sql
    - ?, U# S; X/ y; G
  31. drivername = MySQL中- g) q/ \* M$ P2 a
  32. 数据库= your_database_name_here * g$ |& j( `+ t% [0 H5 R
  33. 主机= the_pc_the_mysql - server_is_on + s4 \/ `! d* R9 e: V+ k5 Y! W
  34. user_name = user_name_on_the_mysql服务器
    / W" Y7 ?8 ?# B  A7 n
  35. 密码= password_to_go_with_above_user_name
    % f" w6 s4 h: N
  36. getdriverfunc = getsqldrivermysql
    $ H: G$ x9 Q6 O3 i
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    & |) y  j: F4 ~, G
  38. libraryname = path_to_libsqlmy_libary
    8 V* P# Y) Y( i9 Z
  39. 积极= 1
    % q4 I: h6 a+ }3 w1 e& N, Z
  40. ---削减这里--- 2 }' T- O& [8 U3 R: u. G( P' C
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    , b& o: V! m. ~7 ]
  42. ---例如--- ) E3 z' x. I' M7 F' [
  43. [ dbexpress ] & G. H/ J* m8 e0 ~
  44. sqldir = mysql_sql
    % Z# h; Q% ?6 N4 u. a! `5 Z9 `# c' }
  45. drivername = MySQL中$ K7 P( y6 L! z) X- [1 \
  46. 数据库=测试
    ' U( i: B) Y( ?* N. [/ G% @# O
  47. 主机=本地主机
    $ N+ x! Y. a' h( U$ I1 B) p7 f
  48. user_name = testuser   W  x" T- d) N& @
  49. 密码= my_password
    $ f: P; U2 S# _9 y! A, N
  50. getdriverfunc = getsqldrivermysql
    9 h8 C( A$ U2 C3 L
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ' g2 ~, k9 ?; |2 u: G" V4 y
  52. libraryname =. / libsqlmy.so ; \. W7 C. e7 e0 t# Z3 [7 K( H
  53. 积极= 1
      w) Z8 G  r, Z
  54. ---例如---
    ( z! Z: j+ S( e! t
  55. $ K$ n' w$ Z% q/ r* x8 \* |, }
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    % N6 Q) x, E9 S- A% i7 U
  57. ---例如---
    * h! y' Y) |* ~
  58. [ dbexpress ]
    8 N/ m- N6 f9 B# e
  59. sqldir = mysql_sql % Z! m0 E0 c* H+ H* f
  60. drivername = MySQL中
    , J" V  {9 `; @, m/ [) r! E) @
  61. 数据库=测试
    ) a+ {+ \2 a- e- X7 k$ W
  62. 主机= 127.0.0.1 . g3 i; Y! W! t: K+ \
  63. user_name = testuser   ~9 Y4 ?8 U& F5 F% x
  64. 密码= my_password
    4 Y5 h+ Z) f2 t; \
  65. getdriverfunc = getsqldrivermysql + U5 ]& Z# W$ I& J3 l# N0 I
  66. vendorlib = libmysql.dll在& I0 o: _+ W( A$ p8 U
  67. libraryname = dbexpmysql.dll 5 Z- W0 w6 T! t- n
  68. 积极= 1
    # j# h3 ?9 \8 f
  69. ---例如----
    # Q' k0 ]9 C2 s1 e
  70. -写在0 2.03.04由p wk.linuxfan+ s) }2 D  B7 g! A# _  J
复制代码
发表于 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% ^, j( ^4 L% j$ C8 X
0 _; V! H0 |+ Z2 {9 _. {
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-11 02:22 , Processed in 0.092144 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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