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

2288 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
4 C* }1 T, p4 I6 u2 U! ~7 g9 E1 ]* c

  1. - w3 U. r3 |! f- l1 b
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######1 D2 O8 o# |, X1 B1 C3 y0 E% g# B

  3. " Q& B% l. ~4 ?0 y8 k+ r
  4. ### What we need #### d) C& Q- I' p) n4 @: M) G
  5. Naturally, we will need a MySQL server to store the data for us, this document
    7 f+ ?8 x* s+ M+ T- Y, c
  6. will not explain how this can be done - there are documents out there for the
    2 A* n& [; n$ h' ~& z% U" w
  7. interested. The requirements include a (empty) database for TeamSpeak to use/ M: v, D7 @( _3 u$ a$ ?
  8. and a user account (username + password) that has the permissions to do stuff
    , S9 V0 R& G1 I5 j
  9. with the database. Additionally, you will need a vendor library installed on the! N+ I7 J2 O4 C$ ~
  10. local machine, this came with my MySQL install.
      q+ X; q; \4 C  y
  11. These instructions will not tell you how you might transfer your data from the6 z- g; }/ ?4 |* b. R+ x$ y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL  Z) f% `: V5 o5 m  m
  13. database.
    + G+ ]9 w/ t5 ]# a) n
  14. Some users have reported ways to import a SQLite database into MySQL, but at5 |' l" r; H; J( K* b+ v0 q
  15. the time of writing, there are still too many issues - check the current status
    3 s/ C& ]. d3 H9 o3 y% a
  16. in the TeamSpeak forums if you are interested.
    ) m! K! ~8 _5 I8 i6 M
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from3 r/ x; H1 X7 a. J, }$ `$ a
  18. Borland was used. This driver can only interface with the client library that 3 F8 P  P: r' h
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    4 K5 b" n1 a8 ^/ }
  20. client library - basically all you have to do is to use a 3.x client library as & O- e; j9 L( V  c
  21. "VendorLib" and a 4.x database to connect to./ q! ~0 }7 B8 ?7 H. P
  22. If you need more info about dbExpress, you can contact Borland.
    % l8 w  ^: E: C$ b7 Z$ F! Y1 B; H( ~

  23. & v. V1 s$ b  X
  24. ### Doing the work ###
    # _- N0 R# |- R
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all$ x/ K2 t: Q+ g  ]5 _4 T: ]9 Z" m! C
  26. the perquisites right, just open your server.ini file, and add this section at
    , e' Q: w0 n8 e" |; ?& N
  27. the end:
    & Z  q+ @) ?  [- M
  28. ---cut here---6 \% Z1 M; k$ k) T- y
  29. [DBEXPRESS]5 b7 ]. N6 s3 @. c( `, W9 }* H
  30. sqldir=mysql_sql5 P1 n- P" s; W: X( |& ^+ R
  31. Drivername=mysql
    ! }* w. X# M% u1 {9 Z
  32. Database=Your_Database_Name_Here
    ) `. w# z1 L' r. m7 T5 W9 F
  33. Hostname=The_PC_the_MySQL-Server_is_on
    9 C% P9 L0 p5 }4 j, R
  34. User_name=User_name_on_the_MySQL-Server+ G9 W) k7 m/ ^1 u2 |" b, B
  35. Password=Password_to_go_with_above_user_name, V$ t( a( e6 }! C
  36. GetDriverFunc=getSQLDriverMYSQL
    + d& x* c$ X- N' q
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib7 a6 }: r+ i8 _) \
  38. LibraryName=path_to_libsqlmy_libary; V. Y; O# q* `% y9 O& B
  39. Active=1
    % X: Z0 l- q; Q' g: e) c+ Q  U
  40. ---cut here---' l+ B) }& R4 _  K5 G. v
  41. In my environment (a linux box with a MySQL server running locally) I have:
    # k8 M7 M3 m* I9 Q- y6 ~- {3 J
  42. ---example---" v2 m4 ~0 S9 T& s+ Y. f
  43. [DBEXPRESS]4 b$ i  k, F9 K5 a3 z7 S% {( s
  44. sqldir=mysql_sql
    # z9 p! V  I8 S& t/ ^& _
  45. Drivername=mysql( x( E0 g/ Q7 J9 f! Y) ^
  46. Database=test
    2 o. H$ W4 h/ N" u
  47. Hostname=localhost
    6 x+ d5 @* u8 r2 H7 Q4 Y; x
  48. User_name=testuser
    9 @/ F$ C7 A) w" r; p8 \8 q
  49. Password=my_password
    5 V/ C3 t# N% `% K) a
  50. GetDriverFunc=getSQLDriverMYSQL# H4 e/ J! l% Y# T/ I
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0" b7 b6 p% K" J! g, L
  52. LibraryName=./libsqlmy.so; |9 f! m- Q% o" {/ v1 b
  53. Active=1% g* G$ f* V1 M4 U2 N! \. h- A
  54. ---example---
    1 {0 ~/ T; t& u+ u, N0 G8 ~
  55. - K* D1 J5 W9 }
  56. On a windows box, also running the MySQL server locally, it would be:
    ! F, R9 ?' |( C  S
  57. ---example---
    ; L4 y: R8 c4 @2 }0 V8 `
  58. [DBEXPRESS]
    # Q2 \. v7 b; i9 s. M6 I
  59. sqldir=mysql_sql! b. o# j5 ^( U7 Y, U5 {
  60. Drivername=mysql
    2 q  }2 e0 W4 D5 `3 z
  61. Database=test, v% L/ T) p& H& {  H: Q. D) ~, _
  62. Hostname=127.0.0.1
    * L7 x; k% u4 M* c& _. k+ S- ]
  63. User_name=testuser; o  u) f% v; x8 m4 ?
  64. Password=my_password2 Z, `1 w6 S5 M2 R: u
  65. GetDriverFunc=getSQLDriverMYSQL
    4 x3 E. t' V  `4 p
  66. VendorLib=libmysql.dll
    2 U3 C" ~0 J5 o, ?' s- Q
  67. LibraryName=dbexpmysql.dll+ b% F5 {& e7 r$ I; ~7 I* m) y
  68. Active=1
    ) n$ Q3 _- o' [
  69. ---example----
    / Y) t. z! _  E+ x; K8 \
  70. - written 02.03.04 by pwk.linuxfan
    - V8 t% r1 d6 s

  71. ) A" K/ H' R% q. c8 z/ {
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
6 t" D" S& _" i/ c6 ?
  1. & P! X, y9 j" c, c
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 4 j1 d. L1 i7 W* G7 _
  3. ! Q- u# p; w$ Z$ Y1 m) ?
  4. # # #我们所需要# # #
    9 `; }2 A( Q0 m* a# w
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    $ g! c2 N  k6 I( n: l1 Q
  6. 不会解释如何做到这一点-也有文件存在,为
    ! q4 n- C  s( M- S. p
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
      {. _# n& G+ {0 I
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
      [( s- q" w0 n3 C' m% V& B
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ; X5 G2 M; E+ a+ b3 k- f
  10. 本地机器,这是我的MySQL安装。
    7 W+ P  w6 Q+ b% v
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从' v0 ]7 S6 ^0 W0 s  C7 i' R6 q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    " K8 y, A; H3 ]& w7 |' h
  13. 数据库。
    5 f0 ^, o/ l6 g# W! z/ S& \
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在! S5 u4 E4 s- E. _1 \
  15. 编写本报告的时候,仍然有太多的问题-检查现状; z# f; u# @' Q7 c% P% R8 e( \/ }5 g0 f
  16. 在teamspeak论坛,如果你有兴趣。 ! H% }  A( e6 C$ r# C, X
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    6 [7 v+ W) G2 h; R
  18. Borland公司使用。这个司机只能界面与客户端库
    $ x' q0 T7 l% D% r9 {& n* g2 ^. L
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    * L* H+ U/ K  O7 C/ J, F# @! E
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为8 k$ ^% E0 {: |+ D
  21. " vendorlib " ,并解数据库连接。 9 p9 D) f# K4 b5 @+ C/ `7 o4 T
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    & P" A7 G' G9 y8 l' n/ ?! u

  23. # \* U+ B2 g/ e9 C7 I+ w# x' d2 m' I
  24. # # #做好工作# # # $ o; p# b1 e, W! W! l
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    0 }1 E; U) V! C/ x
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    - ]  U: S* U  Q
  27. 结束: * i2 `: w" [1 @
  28. ---削减这里---
    % ?( z, D4 j4 U4 R
  29. [ dbexpress ] + O3 g& x+ R. l8 }) Y3 g) u
  30. sqldir = mysql_sql
    ) h4 M8 R# K% u' E
  31. drivername = MySQL中1 k8 x5 ^& ^; @2 y+ e
  32. 数据库= your_database_name_here
    ( W2 A6 r4 W! {. q
  33. 主机= the_pc_the_mysql - server_is_on 0 m) L# f% S3 j2 f0 P$ H" @
  34. user_name = user_name_on_the_mysql服务器/ _% I1 g9 W+ o. K9 }* F$ R
  35. 密码= password_to_go_with_above_user_name
    9 a( L8 z9 l( R
  36. getdriverfunc = getsqldrivermysql
    3 P4 t; \. W+ `2 M
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 7 I" w0 B2 K2 t* C1 g
  38. libraryname = path_to_libsqlmy_libary # _! ]5 U1 F$ g, n" s* s; y
  39. 积极= 1 4 [( \. ^. |. t7 {" g( V5 I0 {
  40. ---削减这里--- 5 J5 J; g8 N/ i/ c/ d5 x8 X
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: " S/ u4 e! ]9 y) N3 W. W
  42. ---例如---
    5 A) Z) n  f; Z
  43. [ dbexpress ]
    & O) b6 |6 `+ V+ |  N; c0 M0 e
  44. sqldir = mysql_sql
    ' ?  D' x: M+ l, j4 p! o
  45. drivername = MySQL中3 R4 y. V1 a/ C) k6 k8 W
  46. 数据库=测试! t+ }6 s) B4 Y1 m, Y! Y
  47. 主机=本地主机  M: P  U0 u" s! u" X. J
  48. user_name = testuser 9 a& V. r/ [) G5 r% X3 D4 V
  49. 密码= my_password % s; ?7 d) j, C$ G  }% [
  50. getdriverfunc = getsqldrivermysql * J& B' [" s. t- R3 k
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 & J5 J, r( B& G/ S4 w6 E
  52. libraryname =. / libsqlmy.so ! F0 P0 O0 {0 G+ `1 O2 U
  53. 积极= 1 ) p( K1 O* m2 |4 `2 u
  54. ---例如---
    2 b+ P! x2 e! g  m9 g3 b8 h8 L
  55. ; _- ^$ A$ q9 K1 T7 o- U- T
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    * G5 Y3 c- [( f1 J
  57. ---例如--- 9 e' ~# S1 O& O1 ~# l
  58. [ dbexpress ] / O! b" Q6 S" X
  59. sqldir = mysql_sql " J* S$ r( N" l% ?/ @8 ^
  60. drivername = MySQL中
      p7 v% e" o: ~. Y/ ~& m- x
  61. 数据库=测试3 N1 \- e' J8 g: M( l/ L2 L
  62. 主机= 127.0.0.1 ! |) Y, U( b* ]5 D( h
  63. user_name = testuser
    4 a" w; Y) |3 x, O& q) d
  64. 密码= my_password
    ( S4 E3 v% K- u4 r
  65. getdriverfunc = getsqldrivermysql   S$ Z- `! i) p
  66. vendorlib = libmysql.dll在
    3 U# E5 Q6 C' ?4 W! |7 t! a
  67. libraryname = dbexpmysql.dll 5 h/ e! j% |- o+ A) [3 @+ ^
  68. 积极= 1 8 R9 O! @1 s2 T! }* g
  69. ---例如----
    4 n# p- }/ @8 R4 D, T2 x
  70. -写在0 2.03.04由p wk.linuxfan
    : d5 K! h; q/ ]! \  L) Y; a
复制代码
发表于 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, h. w  ?  ^- T, W& V

$ V- H6 v+ R* \% {5 N3 \8 V0 m) Pbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-12 16:12 , Processed in 0.100092 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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