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

2064 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
1 e! b; v# l& y$ s
1 ~1 A8 }. f1 D3 j) O4 U
  1. 9 S3 n- ^$ V4 n; q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    7 z8 t8 k4 H! x' e2 F5 J
  3. 2 g) {0 F$ K: |* b" D' S
  4. ### What we need ###
    " J5 e: ], U! d/ }+ c+ u/ r
  5. Naturally, we will need a MySQL server to store the data for us, this document
    1 s( T" c6 N$ k+ a$ p% {
  6. will not explain how this can be done - there are documents out there for the
    ( C/ z4 p' q4 G
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    , V1 z4 \1 a& A6 v
  8. and a user account (username + password) that has the permissions to do stuff' p/ X  l( k! c3 n
  9. with the database. Additionally, you will need a vendor library installed on the
    ) O: C1 c2 k! j& H
  10. local machine, this came with my MySQL install.: n+ A6 y2 o! v
  11. These instructions will not tell you how you might transfer your data from the
    + L& n+ o9 X! h% d
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL# y' t4 F4 {$ S3 k1 y' G! W4 P5 @2 E6 ]
  13. database.4 d; Y8 e- v- D/ r
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    . ]7 S! f) M7 s" ~7 m  N7 o
  15. the time of writing, there are still too many issues - check the current status
    0 l3 ?* `% s9 w: b
  16. in the TeamSpeak forums if you are interested.
    6 s7 i/ o2 g, e1 d
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from( i8 a6 ~' V: A9 H1 x6 M2 n, s
  18. Borland was used. This driver can only interface with the client library that * e# K- |8 [1 e$ D4 P* V7 O! A6 U  E  r
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    / z, S; t. h/ S
  20. client library - basically all you have to do is to use a 3.x client library as
    . J8 m1 V  B3 I$ M. P* z6 E7 n' s
  21. "VendorLib" and a 4.x database to connect to.& L  e/ _" Y+ g3 Z
  22. If you need more info about dbExpress, you can contact Borland.
    - t& l; B8 u0 Y- E9 A# H# ?

  23. 6 c! P5 x$ i0 ^8 m- W
  24. ### Doing the work ###5 Q. m' @8 m% s! A" N0 j
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    5 X; a8 {* G( X8 S6 z; l
  26. the perquisites right, just open your server.ini file, and add this section at
    " r* v$ `2 j9 w
  27. the end:
    4 x/ E8 G! M$ L" {) b
  28. ---cut here---$ Y6 `' x' c3 m  J* C" _- O5 T
  29. [DBEXPRESS]
    , \0 Q* D7 u- M% \: M
  30. sqldir=mysql_sql
    ; h# [4 J) `8 |! |! ^9 w
  31. Drivername=mysql
    4 X' u: w7 ?+ O* `; Z5 ?3 E
  32. Database=Your_Database_Name_Here
    % M1 }! X4 }  X6 `
  33. Hostname=The_PC_the_MySQL-Server_is_on, n+ v0 x, ^2 n. t/ F
  34. User_name=User_name_on_the_MySQL-Server% P' f. {) w$ r* g: N
  35. Password=Password_to_go_with_above_user_name
    & ^6 v2 `$ v8 r+ H! M* P
  36. GetDriverFunc=getSQLDriverMYSQL, e. a$ r% h- x* I
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib0 j; w' Q5 S5 c+ T
  38. LibraryName=path_to_libsqlmy_libary1 O# X6 h% A$ h, [6 m
  39. Active=1
    0 H# r! J$ @+ |# W
  40. ---cut here---
    3 j, }8 j+ ~1 s- ^" q( J5 w# g3 F
  41. In my environment (a linux box with a MySQL server running locally) I have:' `) M  ^6 w6 C, I: |" n
  42. ---example---- e7 Z3 p6 p) |% u: b
  43. [DBEXPRESS]
    % x) b' p/ d' @! t5 E& |; D( l
  44. sqldir=mysql_sql/ e' S# P. [* \# F2 Q6 X
  45. Drivername=mysql$ b: a$ O) k4 z& v- ~
  46. Database=test- i) P+ X& w+ O- _. b
  47. Hostname=localhost+ D$ Y2 q& w" ]
  48. User_name=testuser$ ]3 m; e; r0 k+ Z4 `( `# v
  49. Password=my_password
    6 X2 n( s, R2 A/ a# B5 g: `6 i. T" P
  50. GetDriverFunc=getSQLDriverMYSQL1 C: l( Y8 m3 k: L/ J* G) E
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    7 B5 u; s& s1 z: O8 \" O! U3 \
  52. LibraryName=./libsqlmy.so4 ]4 l/ n' c& R. f# Y
  53. Active=14 [! D% h; j5 N0 ^' ?
  54. ---example---
    5 }  K) h- m% z; \+ `

  55. & V* L- A+ v" T8 O' S( X# a
  56. On a windows box, also running the MySQL server locally, it would be:
      F( ?- p+ c+ t- q- h7 h
  57. ---example---: ~3 C7 c1 y2 T/ _! M6 E
  58. [DBEXPRESS]5 L- ^4 h* t/ Z( d# B3 E3 G8 S
  59. sqldir=mysql_sql6 M0 c& E! [+ O+ g$ ?" Q' E
  60. Drivername=mysql" ]" O8 Z( r/ v9 p
  61. Database=test
    * L$ u. w, A/ m' d8 Z
  62. Hostname=127.0.0.1
    ) W. F" W# O6 H4 X: d4 r7 l
  63. User_name=testuser3 N( I0 P0 [# b) G  F; E
  64. Password=my_password
    1 [7 j+ o/ f' a  }. C7 z
  65. GetDriverFunc=getSQLDriverMYSQL
    ( U8 j7 |+ B* T, _% _9 _
  66. VendorLib=libmysql.dll; t' b5 U( H9 q# @% I, u
  67. LibraryName=dbexpmysql.dll0 J5 q, I' W. Z
  68. Active=1
    % x( A; f2 B9 g- m8 S2 v0 V! @
  69. ---example----4 b2 Y8 h7 N/ `1 p
  70. - written 02.03.04 by pwk.linuxfan4 Y- @) v+ e" j4 d0 s$ T5 N
  71. $ [5 l; t. k; K3 d$ [. X1 M( a
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看& d8 r; Y, S! T

  1. : a6 v' B  W$ K: [7 T+ {- S& n: A
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ; r/ z6 g3 {6 I. x# p1 J, v" ^

  3. * k& J9 [3 ]) N: y
  4. # # #我们所需要# # #
    ; q; P. w: x/ K9 f( E& J! }( @& K
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件* b6 s$ J# n; w2 W* P9 m" b
  6. 不会解释如何做到这一点-也有文件存在,为
    : a) J/ b2 m+ n9 i- k, f* Q7 E1 f
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    % k9 r1 E: ]7 q. B+ z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西& g7 Y0 A' b6 G& r2 C8 M. b/ f: s
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    4 \% D8 I( Y* z  ^" f
  10. 本地机器,这是我的MySQL安装。 % y4 F& p0 q3 k8 h. u9 p3 u
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从& Z7 B+ J( \# B9 O  I/ w
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    3 g# l: j, c  \
  13. 数据库。 , F/ [5 o$ H' [0 L
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在& L2 o( A/ U# i8 S( S$ }: r
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    , s( c; b' c! J! M+ @7 t
  16. 在teamspeak论坛,如果你有兴趣。
    / [) r& B" q# Q; b, N4 |9 s8 G
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    % q$ Q# ?- Z. D3 T
  18. Borland公司使用。这个司机只能界面与客户端库
    " Q6 b" h# o# {9 N4 P
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这" V2 b: X1 f: }" g; D; J2 B
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为6 ^$ j# s8 _6 p, f
  21. " vendorlib " ,并解数据库连接。 ( e- v/ o+ |3 K' I  c1 R
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    0 G# A3 o. c$ a2 x4 W) X6 y" P

  23. / k, ]+ L0 s& d& G4 v+ W
  24. # # #做好工作# # # & `6 n) E4 Q/ ]5 Z
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    $ ^8 T! k6 H: o! ]* I* F* o
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在" d- g1 W: h9 `) |# I- C
  27. 结束:
    / v: {; {0 s$ W4 o* i$ w; N
  28. ---削减这里--- 6 @- l" j/ E, x8 y9 O9 K
  29. [ dbexpress ]
    & Y5 Z2 k* {# C2 R+ Y- a5 T2 M  O
  30. sqldir = mysql_sql + K, f2 d* f9 v) u
  31. drivername = MySQL中7 F: I6 z4 D0 Q8 w+ n" L
  32. 数据库= your_database_name_here
    2 q" u' Z0 n+ s4 D  T
  33. 主机= the_pc_the_mysql - server_is_on 9 C5 Z/ m$ M* J- S9 G0 S% n9 |& K
  34. user_name = user_name_on_the_mysql服务器
    " P/ C. R' _. K
  35. 密码= password_to_go_with_above_user_name
    0 P* ?% v2 r' ]7 @& k4 R' H
  36. getdriverfunc = getsqldrivermysql
    # U8 }  x) d7 i+ _, u0 {
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    " _/ \) Z; F3 {# W1 r5 C% s
  38. libraryname = path_to_libsqlmy_libary
    3 N  l5 I# c# r3 V. W$ z
  39. 积极= 1
    ' A; j6 e: @8 q9 Y( ]8 m+ a$ |1 a- z
  40. ---削减这里--- : i% f3 R3 B2 \
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 9 m  z4 V# b: x% {" a# I0 u
  42. ---例如---
    & t$ Z( @1 V% y
  43. [ dbexpress ] 1 k3 w( x/ C# F# `" w$ E8 t! K0 [
  44. sqldir = mysql_sql
    - z6 e7 ?0 B. y) m; D1 \7 J, ]
  45. drivername = MySQL中3 a* d6 v+ [  v# `, f( }1 C
  46. 数据库=测试
    , l  X9 Y' F+ [
  47. 主机=本地主机# D) L& j8 O) P: I% h) a
  48. user_name = testuser & x+ |4 c: Y. p9 }
  49. 密码= my_password
    0 X5 @: ?3 r! {. N6 I
  50. getdriverfunc = getsqldrivermysql
    / z+ y- i8 R* B  ?/ B6 i
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 6 B5 D9 v- P* A1 f/ z
  52. libraryname =. / libsqlmy.so / j) w4 [3 n* p2 p8 g# w% V/ t
  53. 积极= 1
    # E) t3 W* Q0 W6 e
  54. ---例如---
    6 i1 [. K7 j- Z3 `8 A+ I

  55. 6 [6 ]' e' `7 R& F0 P, P! E6 H6 B
  56. 对Windows中,也运行MySQL服务器本地的,那就是: / v* ?$ b( V/ f
  57. ---例如---
    6 d2 @6 x" c% r
  58. [ dbexpress ]   J! o) h8 _' y" m! M  T+ n
  59. sqldir = mysql_sql
    6 D3 U$ u* f8 R. ]5 ^  \1 d
  60. drivername = MySQL中3 q4 F' M' t/ x, M6 o
  61. 数据库=测试
    ! f; X& t8 x1 C6 X
  62. 主机= 127.0.0.1 : D! ~0 L) Z( G" D
  63. user_name = testuser : @# c5 ^/ ?2 Y9 F- x
  64. 密码= my_password
    # N3 l8 z$ s( ~. q8 y8 }/ ]0 q) s
  65. getdriverfunc = getsqldrivermysql
    . i) Y8 f1 Q- N# b' Y( e& R
  66. vendorlib = libmysql.dll在. j4 C: W3 v9 v0 x! M+ E3 a
  67. libraryname = dbexpmysql.dll : o9 H3 P, j& N, Y8 M) C: @
  68. 积极= 1
    - Q+ }- e) K9 @4 d
  69. ---例如---- ( `: Y" ?4 M0 M
  70. -写在0 2.03.04由p wk.linuxfan6 ~( g3 S0 L& o% 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  w5 k* W' g" h
* v  D6 r- `9 r( h0 c# G5 `+ g) c3 K
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2025-6-27 12:50 , Processed in 0.109077 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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