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

2367 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan . ^0 V3 w; U- }* C) Y

* v6 j9 N/ \# k. z" r0 a
  1.   [& \* }  y  D5 g1 X1 ]6 M$ ^
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######! A, N# D) J' ?5 Q4 h
  3. ( E; A" _4 I& ^) w, Y
  4. ### What we need ###
    ' p- m7 M# P8 V2 X, r# m
  5. Naturally, we will need a MySQL server to store the data for us, this document
    1 V, h; H8 w. ^  e6 w  X: X
  6. will not explain how this can be done - there are documents out there for the 2 R2 V8 q* U% I& _; ^- U
  7. interested. The requirements include a (empty) database for TeamSpeak to use4 B% P& u: d# Y& o) O  }4 I
  8. and a user account (username + password) that has the permissions to do stuff
    3 ]( z$ Q; A, a& [
  9. with the database. Additionally, you will need a vendor library installed on the8 x- j3 Y+ h# x) Q8 Z
  10. local machine, this came with my MySQL install.
    & l" j" G' F) A+ N5 E( O
  11. These instructions will not tell you how you might transfer your data from the- r9 f1 M/ D! S7 [" Z6 Z
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    9 W7 @2 O# O% [9 m+ Z, D1 q9 [
  13. database.- Q7 m7 I9 x/ N/ J4 P* q- K" l
  14. Some users have reported ways to import a SQLite database into MySQL, but at* B1 r& P% s( X) e" M3 p
  15. the time of writing, there are still too many issues - check the current status: |& |  M- o" Q
  16. in the TeamSpeak forums if you are interested.5 H; ?3 d5 A: l. @
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from0 W" H5 {; \; ?8 c8 ~9 c$ c
  18. Borland was used. This driver can only interface with the client library that
    " U  Q+ ?+ b5 j3 C; S+ A8 X
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this5 `# ~) g& ^/ `. N
  20. client library - basically all you have to do is to use a 3.x client library as   b/ |+ E5 H/ I- [
  21. "VendorLib" and a 4.x database to connect to./ l1 O% @2 v4 Z  ]: W8 ]6 z
  22. If you need more info about dbExpress, you can contact Borland.
    + c0 O& t4 y6 U7 P8 X8 y

  23. / y/ \9 R: R: E
  24. ### Doing the work ###
    7 r6 @/ ~2 b1 h. R% X& L: v8 @
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    + G8 G1 r1 C  ?/ N) ?
  26. the perquisites right, just open your server.ini file, and add this section at6 k8 r9 r4 a0 J! r, n9 K2 w+ o
  27. the end:
    * \0 p; _+ }0 ?9 p
  28. ---cut here---
    # }, ^3 J9 h6 M8 v* P
  29. [DBEXPRESS]
    " u0 ^6 {3 V. @
  30. sqldir=mysql_sql
    8 T3 {, @8 c7 g0 R. A
  31. Drivername=mysql( O/ P; E' ]6 A7 }5 B& x
  32. Database=Your_Database_Name_Here
    , r5 I5 u  ^0 Z! E2 a2 C+ N2 u) Z* s
  33. Hostname=The_PC_the_MySQL-Server_is_on
    & W( H: E  {" x' `9 `
  34. User_name=User_name_on_the_MySQL-Server2 ]- A3 j6 ^5 @0 I. g6 H
  35. Password=Password_to_go_with_above_user_name; W* c* {  v: i/ m( y
  36. GetDriverFunc=getSQLDriverMYSQL& E2 ?8 P* u( u5 F- q
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    3 o; [2 _' \5 m# M4 I/ D/ o, A
  38. LibraryName=path_to_libsqlmy_libary$ `# F( L0 b4 ]+ A3 K9 ?) R
  39. Active=1
    / B' K7 q# C2 s) R# N
  40. ---cut here---
    ' F: g! g$ \4 k5 f6 X8 `: c5 f3 y
  41. In my environment (a linux box with a MySQL server running locally) I have:
    $ G9 y3 u* F& M& g5 F; D9 _! @
  42. ---example---
    , l/ K# j. A% h  F& Q' ?1 n/ P
  43. [DBEXPRESS]* j; O- {7 \4 `7 G1 W6 ^# f$ x
  44. sqldir=mysql_sql4 p5 u. q8 a  l, u; x7 t
  45. Drivername=mysql8 |7 p% S2 J/ n1 N( L
  46. Database=test
      @4 B- p: A4 n) R# \: J1 }7 v
  47. Hostname=localhost- f& v; z9 g+ {7 P# {6 Y+ G
  48. User_name=testuser' F! Y0 u. K0 r
  49. Password=my_password
    1 A& k, X& o5 L3 ]) V7 ~% g# x
  50. GetDriverFunc=getSQLDriverMYSQL
    " w$ l9 ?& p6 R* P  Q! n) f
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    1 \% u0 i' n/ x5 h5 U/ r2 p
  52. LibraryName=./libsqlmy.so
    1 y( j4 t) S8 ?; E) `
  53. Active=1
    4 Q  s8 E5 y3 m1 a' G; x2 K
  54. ---example---' _8 Z& W' y5 V0 w9 H- a
  55. / {/ b# \9 K/ B& S. y9 `. A
  56. On a windows box, also running the MySQL server locally, it would be:
    + J, Z: ?! Y# ]$ c8 d8 L2 D: |$ I
  57. ---example---
    $ H. O3 ]; K& k' e6 n* V9 {- b
  58. [DBEXPRESS]" _" {9 ^# c2 D! L
  59. sqldir=mysql_sql2 A5 D* ?" C& ]& G3 n/ G! r' w
  60. Drivername=mysql+ o0 f. B4 O) W  h/ R+ @- _1 n2 W
  61. Database=test
    + D3 s7 I& x, Q
  62. Hostname=127.0.0.1
    " g- I7 r# @" d. f9 {
  63. User_name=testuser! g! z2 ~4 E( ?1 ^6 K
  64. Password=my_password6 Y/ ^! R0 q. g: B5 L  m
  65. GetDriverFunc=getSQLDriverMYSQL% h, g$ R5 Q8 F3 F. K! B8 ]# C( t
  66. VendorLib=libmysql.dll
    ! o4 W1 \7 n+ z# S
  67. LibraryName=dbexpmysql.dll
    6 Q+ z# m9 A; N! _. `
  68. Active=1
    + ^% m: R% R2 J3 T1 m8 H
  69. ---example----
    ; G& t' I9 D( @
  70. - written 02.03.04 by pwk.linuxfan  f( A, q+ `1 x( I
  71. $ J% j+ p( S1 ?! p/ }+ T
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看+ T) B4 M9 q; m0 }
  1. & o% V" i( j2 m; T
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 4 y( b2 Z9 g$ i
  3. . [5 {0 d! K3 F3 u) y$ Y, \7 K0 N
  4. # # #我们所需要# # # 8 K  N$ f2 s) V6 {; e
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件8 [$ S: q! b# t: {
  6. 不会解释如何做到这一点-也有文件存在,为
    # W5 D. G$ B5 W/ w) b
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    " x3 p. X+ x- t! A$ [
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    / a& M# B5 a: d; s( j  h
  9. 随着数据库。此外,你需要一个卖方图书馆安装于9 j4 {) `4 X0 L3 d) |3 Q8 X& i
  10. 本地机器,这是我的MySQL安装。 # f+ M8 ~, v+ m0 M. u' H$ m, G0 J5 O/ I
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    # z# p" A; {) s5 d5 S0 Y. K
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL - Y( [6 Z+ `9 H! S+ k0 G9 O$ C
  13. 数据库。
    , c: {! o  q$ r- ]( K' J, @
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    % z/ N% Y$ V3 j/ M' Q& I0 [
  15. 编写本报告的时候,仍然有太多的问题-检查现状1 E2 r( G2 h# B- X$ Y
  16. 在teamspeak论坛,如果你有兴趣。 0 w0 K: w- |7 A5 S0 \: W
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机+ {, A$ Z/ i* ]( K9 u/ p- {) s  A$ n7 c
  18. Borland公司使用。这个司机只能界面与客户端库; z4 T3 Q0 m6 B7 u" I
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这" a1 x9 |# {0 X) C$ i* ~1 F
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为, M- L/ G! [" m( F
  21. " vendorlib " ,并解数据库连接。 7 w7 Y) T8 H+ y0 A( v
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    % ]4 \/ ]" c) \8 N0 m' O% Z+ B- B% Z3 [

  23. 7 ]% E# ^6 L/ k: n
  24. # # #做好工作# # # ! Y1 J1 C+ W0 J. Q* J
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都! r7 ]/ ?& `9 G0 D- ]
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
      ^/ p  V8 \! I0 T& |) v
  27. 结束:
    . x- J- q  d3 l' e; ~6 @( I
  28. ---削减这里---
    * u8 V; z( n% g; Q* b5 h
  29. [ dbexpress ] 7 `5 J9 N* b, w5 N) ]5 Y
  30. sqldir = mysql_sql : ]! A. q$ K  L% [- D, q! F
  31. drivername = MySQL中5 s. F  N6 s  `; d3 x+ n
  32. 数据库= your_database_name_here
    $ B) q1 u- |# e* \1 I6 I
  33. 主机= the_pc_the_mysql - server_is_on
    & P/ |1 P( z0 m" X9 V* }, W! g
  34. user_name = user_name_on_the_mysql服务器
    & f8 r# l" g! `$ {8 X
  35. 密码= password_to_go_with_above_user_name * T! X# P! X/ I- o+ ~9 z
  36. getdriverfunc = getsqldrivermysql ; X6 }& ^2 {* t$ T: Y  P$ n
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    6 g1 n5 n7 r7 l' B4 w
  38. libraryname = path_to_libsqlmy_libary   [0 a5 E! Z' g1 t' ?
  39. 积极= 1 . [# Z+ P4 L" Z' r9 g+ i
  40. ---削减这里--- # x1 s& f- r) Y4 F
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: - l2 `+ q  ~" ?& I7 L+ b% y
  42. ---例如---
    9 n5 w) l9 ]. P+ c
  43. [ dbexpress ] " B5 H+ X2 d( s' c4 K: c" P
  44. sqldir = mysql_sql
    ; C: _* e$ O, Q* I+ a  Y9 v& I# G* }3 C
  45. drivername = MySQL中
    . z, k) X# w3 @3 E* R6 |+ p4 x8 _
  46. 数据库=测试) H$ b9 Z. A9 }, P- ?. H
  47. 主机=本地主机
    2 U  y9 \& \6 I$ x( f9 h
  48. user_name = testuser   O8 ?7 |, v$ m: x8 A
  49. 密码= my_password , `  V* l% D- C# i0 t" [
  50. getdriverfunc = getsqldrivermysql
    # u) {' }9 _4 p! V5 ~! P7 Q( G- c
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 1 r) n. s4 r* M, L6 L, N2 k4 I, y
  52. libraryname =. / libsqlmy.so ' O6 T: ^! a3 y5 V( k1 {  P5 }
  53. 积极= 1
    ; I0 h0 ^4 c$ D1 V' Z( J4 x
  54. ---例如---
    $ D; s7 ?0 a8 D4 m& ^. G
  55. 0 z0 ^9 u+ \3 R! o/ `
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
      A) a. R$ _8 |
  57. ---例如---
    9 \" S+ Q$ ?0 u9 Z. J9 n5 R
  58. [ dbexpress ]
    + q# S% d6 h7 t- i
  59. sqldir = mysql_sql & F: V5 S8 {6 j. `& x' \! ?0 l
  60. drivername = MySQL中2 W. v$ N# U8 G4 A, X; ]
  61. 数据库=测试( B' a, x7 R8 m# p' M, j
  62. 主机= 127.0.0.1
    - y! n  ~: m! V( I& _
  63. user_name = testuser
    / T/ m' f" A9 Z9 L; W* m6 x* ]$ y
  64. 密码= my_password
    ! A- G+ n: K8 |
  65. getdriverfunc = getsqldrivermysql
    : \5 v% |6 t1 c) F
  66. vendorlib = libmysql.dll在2 c9 V+ X8 g. A$ L* b( L
  67. libraryname = dbexpmysql.dll
    % j- `; J7 y" r4 B
  68. 积极= 1 : G$ J# H1 K3 Y- k1 `
  69. ---例如---- - G" k& N3 u7 f3 ~- R& h
  70. -写在0 2.03.04由p wk.linuxfan* U. T! B% C$ C( v2 l
复制代码
发表于 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
( _' s% ~  m: U$ V# r2 u& B  r/ L3 \- a3 M3 Y8 e/ V1 d
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-8 14:00 , Processed in 0.098863 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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