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

2547 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
& R7 X: A/ ]% V' y$ d5 Z  \  a9 c, r* ]" t4 k

  1. / O* p! k; c+ s0 c% u
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    , t- G& t6 P5 e9 A  O6 N. O
  3. " m$ {0 J7 m* O0 N
  4. ### What we need ###
    9 H  [$ j. |( N+ Z6 k+ p, U
  5. Naturally, we will need a MySQL server to store the data for us, this document $ E9 ^' R4 C. s: o& S; q, t/ B7 l
  6. will not explain how this can be done - there are documents out there for the ) f& _# Y" ?% u
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    6 d( F8 q% o% m: @
  8. and a user account (username + password) that has the permissions to do stuff3 n/ R0 D9 t  l; ], ^" U  A
  9. with the database. Additionally, you will need a vendor library installed on the
    7 i# F3 o* t& R/ A
  10. local machine, this came with my MySQL install.4 S# P# z' X% [) ]5 |) c
  11. These instructions will not tell you how you might transfer your data from the) L+ S) H; g/ X$ C$ L1 t
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL5 S1 y' O0 y% F' T, K
  13. database.1 S+ J# {1 v# @
  14. Some users have reported ways to import a SQLite database into MySQL, but at  V7 {- E. X- f6 w8 }. ^, T- V& ]& D
  15. the time of writing, there are still too many issues - check the current status; _& n; N9 L% p6 d% m7 D8 r* Z
  16. in the TeamSpeak forums if you are interested.( ~) `3 m  S& }. V$ _
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from% L( D5 E* c1 G. ?- ?
  18. Borland was used. This driver can only interface with the client library that " `$ y6 N8 N" e# u* {6 R$ b  h
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    % k" m0 q( t( b9 d) R$ ~
  20. client library - basically all you have to do is to use a 3.x client library as
    6 e" v9 A$ v7 f; h5 n% }
  21. "VendorLib" and a 4.x database to connect to.
    7 B6 C8 O- q3 D% X; C+ v
  22. If you need more info about dbExpress, you can contact Borland.
    + {3 v  j* H5 K
  23. ' e: J' Y+ \6 A3 C7 n0 h4 Z
  24. ### Doing the work ###: B* D% q% f2 r3 z& q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all8 K; E, j' V% v3 M! u. U5 O
  26. the perquisites right, just open your server.ini file, and add this section at
    ) m" P7 ?4 c$ x3 O; |
  27. the end:* D4 e7 P$ X1 b( I  J! f
  28. ---cut here---
    ' c' n# D" v8 I; H9 X
  29. [DBEXPRESS]6 R6 h! [" F# V
  30. sqldir=mysql_sql8 h, p; I1 I/ S) r  I
  31. Drivername=mysql
    # K" H" s" Z  k: f* ]  x
  32. Database=Your_Database_Name_Here
    $ ?# G; e8 D4 a( @% z% a4 P+ Q6 Z- ^" e
  33. Hostname=The_PC_the_MySQL-Server_is_on8 c) w2 Q6 E; T% A7 g: H
  34. User_name=User_name_on_the_MySQL-Server
    8 s( @: k8 N5 m) d2 ~
  35. Password=Password_to_go_with_above_user_name
    1 ]5 {" |2 V# D
  36. GetDriverFunc=getSQLDriverMYSQL$ U9 @! l) o* W: _: `3 I! x
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ! k0 c& W, g( Z, [/ F4 n
  38. LibraryName=path_to_libsqlmy_libary/ y2 b" V4 a: f) ?2 }
  39. Active=1+ n' |* S% k# W
  40. ---cut here---
    % t* @! h' \  k" f- d
  41. In my environment (a linux box with a MySQL server running locally) I have:
    1 b2 P0 m0 _) @2 y+ X
  42. ---example---) l8 O6 G7 x3 Y+ s' a* J9 n& [! \
  43. [DBEXPRESS]
    # J+ y# t# L  P# Q; P# h
  44. sqldir=mysql_sql
    7 V& u$ k3 y, j( U
  45. Drivername=mysql
    ! n4 i) o" r5 G' E* ]0 f
  46. Database=test" l+ I: E# m) ]! P4 I
  47. Hostname=localhost
    * D4 R- c4 V  V4 ~( p5 b; |5 o
  48. User_name=testuser+ h2 c4 D( ]! W6 h( a! |
  49. Password=my_password5 ]; D3 C9 e" e
  50. GetDriverFunc=getSQLDriverMYSQL
    $ \! P3 w: \5 {2 ~/ P2 U
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    # S" U) {! x1 `9 \% E# j
  52. LibraryName=./libsqlmy.so( C( a# }9 m0 p9 u' b
  53. Active=1' {4 n- R5 V1 @+ V" p
  54. ---example---2 ^1 p' @) V$ S% A/ [; x8 m5 l7 y

  55. 8 V; R5 ^5 B1 i& i! ~* F
  56. On a windows box, also running the MySQL server locally, it would be:
    5 S' U3 Z9 K( ]) {- w
  57. ---example---
    ' @7 Z2 j9 ?0 w2 I5 Q4 N
  58. [DBEXPRESS]7 U2 V3 B5 I# c% u' y$ b- Z- H
  59. sqldir=mysql_sql
    0 `+ p0 D  I- z% Z+ G  B' V; Z% \
  60. Drivername=mysql
    4 N& m# ~$ i& e" C
  61. Database=test
    7 K* ~8 O& R" ?' g* E
  62. Hostname=127.0.0.1% ]6 l9 W0 D( I4 c5 j. ?! j
  63. User_name=testuser& D* M4 n) a) d
  64. Password=my_password
    - `& R, G9 c' F- Z
  65. GetDriverFunc=getSQLDriverMYSQL
    7 l2 b% }5 H! i. a0 h4 w( @) C" u9 [# J
  66. VendorLib=libmysql.dll
    , Y) A' c; t3 E* I9 N* ]! m
  67. LibraryName=dbexpmysql.dll" E0 D& s" k1 k7 Y8 j
  68. Active=1+ \  i; a6 F$ E" z6 F5 b
  69. ---example----
    ( r$ w1 C" G' e
  70. - written 02.03.04 by pwk.linuxfan$ p0 g7 c* D/ ]/ M# x; B

  71. " i  y, e1 X% R. D7 R  N
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
% B+ ^( i' J0 A7 z: a  `: t
  1. 0 U& N( M& w9 J* T
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 3 t, d, G% B, u

  3. / }* @$ C# y4 v  o
  4. # # #我们所需要# # # 4 x' M8 a9 m6 P9 _
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    0 r( m9 H- K3 ?9 j% A$ R
  6. 不会解释如何做到这一点-也有文件存在,为! ~! x" B1 O+ G) q/ i: L. u# ^
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    3 [9 ~5 _' ]( A
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西( m" a1 o( E% i
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    1 F4 |! W8 O- F
  10. 本地机器,这是我的MySQL安装。
    & z( G8 j7 w* O- L- x1 c+ m
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    5 [* f7 ]' ^& T1 A% g
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL   T; `" ]' L6 Z; n9 K( Z4 D
  13. 数据库。
    $ P) y8 s; {- ]) g
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在2 i5 X& T  E3 u
  15. 编写本报告的时候,仍然有太多的问题-检查现状1 R# X4 T1 `! Q* Q
  16. 在teamspeak论坛,如果你有兴趣。 ) _4 t0 _9 v& y. P$ m3 N
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机2 P( ]7 B1 T& K7 j
  18. Borland公司使用。这个司机只能界面与客户端库
    : e. O( |, c1 c6 o4 q8 f$ u
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ) y  ~+ g  k: `$ X+ Q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为; r$ c" @5 `) S" I! f* N: B( N
  21. " vendorlib " ,并解数据库连接。
    " z- O6 N, J8 a2 @9 {. E
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 / |; q8 U/ P( \4 s

  23. . r: ^$ ~+ a  V* |* J
  24. # # #做好工作# # #
    " S  Y; H+ T6 V
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都, c2 ~; K1 \2 Z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在6 S5 o+ o4 Y  C: k5 e3 \) B
  27. 结束: ) j0 Q$ ?% Z1 h1 D0 S9 t3 I* q! ?
  28. ---削减这里---
    / j' m3 B1 V4 D7 C" }8 q
  29. [ dbexpress ]
    % O6 a; U5 ^  k: u6 j
  30. sqldir = mysql_sql
    . w4 T" B! u0 l7 i
  31. drivername = MySQL中
      Z2 w8 U1 B6 ~: E* S
  32. 数据库= your_database_name_here
    7 _7 J8 p2 U& D" {& G
  33. 主机= the_pc_the_mysql - server_is_on 5 N6 \6 T( o& h
  34. user_name = user_name_on_the_mysql服务器# Q' l9 }! t9 K4 S1 H, R
  35. 密码= password_to_go_with_above_user_name
    / ]% `4 a' y* O" n1 F/ p9 j
  36. getdriverfunc = getsqldrivermysql ! Y1 X9 V4 w; i4 u7 [0 L
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib . Y: L( l4 R7 ~" ~' `% d2 f
  38. libraryname = path_to_libsqlmy_libary , W4 s- M  _% x$ E: i* n4 u( L9 H
  39. 积极= 1 # [4 I7 O8 x: h8 b2 e6 a6 B
  40. ---削减这里--- ( O; [* E& v( j8 }+ J  G
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 1 ?8 A, c* N3 y) y9 @: w
  42. ---例如--- ) |$ ^; D5 R' R$ p8 J0 Z5 p6 o0 |. G
  43. [ dbexpress ] % v9 j+ R- ?+ E$ f8 E
  44. sqldir = mysql_sql
    3 @6 i$ j; Q- K2 ~9 j+ G7 j3 o. U- ~
  45. drivername = MySQL中
    - @$ ^/ C6 s+ A* {
  46. 数据库=测试
    6 b$ q- \  O- o* M% m+ |8 m, K- ^
  47. 主机=本地主机
    1 F  ?$ o+ J( K1 t% j" n. p) I
  48. user_name = testuser , F8 l8 H' N/ i4 I5 A- I4 `: C
  49. 密码= my_password
    ) |0 l" f4 x  l2 |& P1 g
  50. getdriverfunc = getsqldrivermysql
    & K4 {# g' m& Q: A! p
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 5 I: t$ H+ L5 v' d; w0 E
  52. libraryname =. / libsqlmy.so : O1 i7 {, K$ H* H7 ^7 P' R
  53. 积极= 1 $ Q$ K' K9 x% P. ~6 Y
  54. ---例如---
    $ {- I9 Z: T6 |. A' w4 L- C' @9 }
  55. " \5 d$ C, v8 C
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
      Z1 Q  }  ~2 Y: M4 s* Q- c& N
  57. ---例如---
    # \' p. m  Y+ B
  58. [ dbexpress ]
    9 H, k* v0 q6 ?1 G" I& O
  59. sqldir = mysql_sql 3 i- W- ?6 ^8 W) a! r- a, W/ W
  60. drivername = MySQL中: M; X1 ~* A% M* {5 j
  61. 数据库=测试8 v2 l  [. W4 J" d7 Q' L# _- F# ^
  62. 主机= 127.0.0.1 7 ^  F8 N* E: ^% P
  63. user_name = testuser
    1 ^4 I9 Y# }( S: U
  64. 密码= my_password / P, E8 m# e. j) O# s8 ~
  65. getdriverfunc = getsqldrivermysql
    ) U/ L  R4 `' T4 A; n( C
  66. vendorlib = libmysql.dll在* Z( v* o6 y0 N& v' b
  67. libraryname = dbexpmysql.dll
    ! u4 J; B/ j7 P7 W. Z, a+ f  Q
  68. 积极= 1
    9 t4 D- ]- |% p$ q% ?1 ^- Y3 V. H( p
  69. ---例如---- ( a/ A5 o/ p7 y. X% q
  70. -写在0 2.03.04由p wk.linuxfan  n! b6 r7 _: {
复制代码
发表于 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- ~8 p1 i7 i9 S, C) c5 g$ Z* m

! J& r/ Q" }3 I% i9 Wbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-23 15:17 , Processed in 0.112115 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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