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

2717 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 2 Q5 [) M0 ^4 I9 g& E/ I$ X

/ ^' I$ D( \( |* |% M% l: B! f

  1. ; X/ y7 x! {( N" c2 e
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######* a, x* o9 @  N: B% t' K% m

  3. 7 _$ j' q: X$ [; {5 K5 @
  4. ### What we need ###5 F9 |4 t5 J/ ~# I4 T
  5. Naturally, we will need a MySQL server to store the data for us, this document
    1 h6 d% a0 d4 s' U( S+ ]
  6. will not explain how this can be done - there are documents out there for the
    ; ~" j4 v( Q* q. |( Q. i
  7. interested. The requirements include a (empty) database for TeamSpeak to use" T7 y& w4 r+ i0 X. n
  8. and a user account (username + password) that has the permissions to do stuff) C  y* ?+ ^7 ?
  9. with the database. Additionally, you will need a vendor library installed on the
    + H% Z3 ~# R$ i# y( Z* O
  10. local machine, this came with my MySQL install.% r& e. g' N% i8 D
  11. These instructions will not tell you how you might transfer your data from the& Z# s% i. l5 g9 h8 S
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL' t! v& L/ x. }" u7 D0 C
  13. database.- C9 p) i; z, L  S& U
  14. Some users have reported ways to import a SQLite database into MySQL, but at* a4 Y( e& o1 O+ r* \  v2 H
  15. the time of writing, there are still too many issues - check the current status
    9 ?7 C8 I3 |' f' b
  16. in the TeamSpeak forums if you are interested." L/ X& m; a( L& d; Z* R
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    9 I3 p: @1 |4 w2 _: V
  18. Borland was used. This driver can only interface with the client library that : J, x6 l3 \5 Y9 D6 H) r+ y( z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this# ^$ O* `9 C0 m6 u7 E% z5 o
  20. client library - basically all you have to do is to use a 3.x client library as " Q" N* G+ p" \! v
  21. "VendorLib" and a 4.x database to connect to.$ a& v5 r+ v  v( X% H  x
  22. If you need more info about dbExpress, you can contact Borland.
    8 O  M- I  R0 `5 s# e) G4 B, @9 L) Z
  23. 2 x: l  `. k5 j5 L; U+ O
  24. ### Doing the work ###
    ( x4 D8 X- D8 u6 A
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all9 H0 ?& a+ G$ h1 C1 {6 h
  26. the perquisites right, just open your server.ini file, and add this section at
    * M+ i+ d" p# f' ^
  27. the end:
    ! [3 A6 e/ L+ x: g
  28. ---cut here---6 |# @' J8 i8 c6 J" g5 d
  29. [DBEXPRESS]; M1 A9 W' \6 A% z0 ^- r- d+ ^
  30. sqldir=mysql_sql$ j6 i+ P7 _: q
  31. Drivername=mysql' V2 t% l( ~9 \9 p8 V. Z) I' ?! R
  32. Database=Your_Database_Name_Here/ G# b+ T  @! [& ?% b
  33. Hostname=The_PC_the_MySQL-Server_is_on& {7 e1 E, o" P2 a
  34. User_name=User_name_on_the_MySQL-Server
    ' j# u# }0 v- [) G# H
  35. Password=Password_to_go_with_above_user_name9 ]1 [1 {, p0 j. O3 v' ]4 g7 l
  36. GetDriverFunc=getSQLDriverMYSQL# N4 C# j; c: ~# f) ~$ V
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib: f' g- N9 f' \# C
  38. LibraryName=path_to_libsqlmy_libary
    5 y& S; a3 n2 z7 m' h- H, U4 P
  39. Active=1
    8 z6 {$ z& T8 m" D$ S
  40. ---cut here---" b% s" r6 T) I
  41. In my environment (a linux box with a MySQL server running locally) I have:
    # C4 P) `) S* L4 Y* ?6 d& O; F: P4 J
  42. ---example---' ?7 h. Y6 L7 ~5 k0 V6 u7 J+ }# V
  43. [DBEXPRESS]8 x; w: O( `& \) }- f0 _. l# W
  44. sqldir=mysql_sql
    1 T7 r0 e" P: \. H9 U1 o
  45. Drivername=mysql1 G8 y9 q7 F: v$ L
  46. Database=test
    ) j7 d6 E) B# w( [" B2 n( v
  47. Hostname=localhost
    ; |/ Y6 t: X& O# n& h& L
  48. User_name=testuser! a2 r- U* O5 G/ U  d' E8 t
  49. Password=my_password5 I+ w# c8 E  x0 u4 d
  50. GetDriverFunc=getSQLDriverMYSQL
    + f1 U% D: v$ C( B* M* R- R
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    , {# h( N( j& J7 J
  52. LibraryName=./libsqlmy.so$ L0 @/ N/ _7 u( k7 V
  53. Active=14 |9 a% L' u& N% w9 y# _! h
  54. ---example---
    % d, j8 N. Z6 ?3 E% E' X
  55. ) f% O% }5 l1 i. D$ c0 `
  56. On a windows box, also running the MySQL server locally, it would be:
    , t  p, v3 Z- `% F! ^9 Q4 ~
  57. ---example---
    4 U6 U6 s" [0 |$ f# A
  58. [DBEXPRESS]5 t+ f" U9 Z- g+ h4 h
  59. sqldir=mysql_sql! V3 N( v1 J! J' v! L2 j. y8 D
  60. Drivername=mysql" G, Z( ^$ z' t) d) k
  61. Database=test/ M0 A' U" o- _# S  P, e9 s# z7 l
  62. Hostname=127.0.0.11 n) J" s  D* _& u
  63. User_name=testuser
    6 J+ v+ V4 |3 n. C
  64. Password=my_password) N' j- P8 B! x
  65. GetDriverFunc=getSQLDriverMYSQL' @6 v0 O2 `' G
  66. VendorLib=libmysql.dll
      M$ Y( t6 d5 `9 K) {
  67. LibraryName=dbexpmysql.dll
    - ]# u7 k* N4 I& Q- J, Q( B
  68. Active=13 M& [9 E/ g3 Y; u9 Q
  69. ---example----
    - {, b$ |6 }) @: O2 }
  70. - written 02.03.04 by pwk.linuxfan
    ( P5 ?  X  C- y( o- |- {  W  ^

  71. 6 a, o6 U/ d+ u# J( N2 `
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
1 h' N' I& Q5 ]  X" t, _
  1. , Z6 G: L1 _# U) i6 Y, w6 \
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    0 t- @. C6 d$ O: [  c( u
  3. - \' m8 W5 C  ?* O; B7 E9 q
  4. # # #我们所需要# # #
    % K) Y: T% J3 w: k  n
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    5 m4 X; U# x+ v7 v
  6. 不会解释如何做到这一点-也有文件存在,为6 `/ z9 M' [* l% |2 S1 B& i
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用3 n! ^  ~$ j4 x2 J# Q1 C
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西6 O' C5 e( R0 N: M* |
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    7 d1 z1 E+ ^" W" T
  10. 本地机器,这是我的MySQL安装。 8 s1 F* [7 Y  f7 ~& M
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从/ ?0 l( V* O* |5 x# x! q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ! a& \! C; J2 F8 P$ u
  13. 数据库。
    6 y% t& Q  Z/ f/ C  n7 B1 f$ s: u
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    4 ^7 x1 T1 i$ B- h6 k9 B# d  {
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    . n: S, R. k% e! n! j  `
  16. 在teamspeak论坛,如果你有兴趣。
    ) p) V3 Q; ?! D# P0 N: t  n6 {5 o
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机/ B; J* K' Z% p! Y
  18. Borland公司使用。这个司机只能界面与客户端库
    , {$ p4 [4 i# W8 }1 P
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ; a+ O5 Y( F+ n% a3 w1 m
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    0 A7 D( o, T0 A: F0 \
  21. " vendorlib " ,并解数据库连接。
    4 y8 U4 r, p, {: `! r+ B; \$ L
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 # R0 ^$ F. E2 h

  23. $ i$ c6 z  D  [9 u3 i
  24. # # #做好工作# # # 2 g' A  c/ D7 r( t( z( {1 |' x% r
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都) Z9 M! w) q$ R$ o) a4 c" J
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ' G( A  S; f3 S7 u, S# p* Y
  27. 结束:
    6 C2 \. {4 W+ _% g2 V& `2 K! t
  28. ---削减这里---
    % u$ r  P/ p0 p% T: K
  29. [ dbexpress ]
    9 t2 C7 i. f8 ~8 J
  30. sqldir = mysql_sql 5 f: o5 Z2 Y9 n) r; L) n  d
  31. drivername = MySQL中# n3 H1 o! r9 n) c
  32. 数据库= your_database_name_here * t; N0 _- U  D
  33. 主机= the_pc_the_mysql - server_is_on
    ; R2 y# |& _) P6 l4 j+ H8 v
  34. user_name = user_name_on_the_mysql服务器( \' \. y8 l' b6 n' {7 o! r
  35. 密码= password_to_go_with_above_user_name & S8 h* U/ E( K+ }5 q; q9 p
  36. getdriverfunc = getsqldrivermysql
    9 z2 w# T3 G5 k3 C- x- m4 K8 K
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib " A8 E- E. v  b& A7 T0 K! b5 p+ c" I
  38. libraryname = path_to_libsqlmy_libary 0 h3 E& y* v$ d) J, {8 v2 f2 F: V
  39. 积极= 1
    . L) {- q/ U. ~
  40. ---削减这里---
    4 Y* a$ k( D7 o. I
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ( h# T$ Q3 Q/ I) j$ ^  h& D
  42. ---例如--- 8 a' I! ]' W8 f4 B7 k
  43. [ dbexpress ] / V3 [4 N7 \: b! d
  44. sqldir = mysql_sql
    9 Q4 p3 U3 Q+ ~# u) d
  45. drivername = MySQL中
    9 G' V6 P4 F  Y; n" l% g5 G4 i
  46. 数据库=测试
    ' o7 V7 |" `4 p) V& C; w
  47. 主机=本地主机
    # ~$ y3 P& I4 Z& v- f8 p: W% t
  48. user_name = testuser % A+ J, A+ n4 d( h2 v( q
  49. 密码= my_password
    7 q  V/ Z$ m0 u+ L
  50. getdriverfunc = getsqldrivermysql
    9 _/ b7 |% T. w$ M. G1 k
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 2 k$ n# L! l! e- ~
  52. libraryname =. / libsqlmy.so
    4 Y5 l" b2 I* p, }& l- ?
  53. 积极= 1 3 t; k, P4 Y& v& O& a5 j
  54. ---例如---
    ( Z3 ~  Z2 \& d$ j  D: L2 Y- o
  55. # {7 ]0 r* X7 F9 O6 w3 w0 d
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 7 S/ J3 Z% Q9 ?/ {9 x' Z7 H
  57. ---例如---
    6 h! S+ R/ f2 U( m8 }6 k
  58. [ dbexpress ]
    $ \7 v1 @: m  V& L( g
  59. sqldir = mysql_sql
    : ]6 p- I3 y! S, _/ k. L
  60. drivername = MySQL中$ q/ R3 C% T9 y6 I$ P$ X
  61. 数据库=测试
    ' H2 }# j/ F' @8 t. ~* {/ ~9 l  s
  62. 主机= 127.0.0.1
    ; `% |$ M: r+ d: r1 N4 X
  63. user_name = testuser ( D2 L9 a5 h" D. i) P. G) S
  64. 密码= my_password
      i. X( H( T% O: w" n
  65. getdriverfunc = getsqldrivermysql ! i& I7 K" c1 `% S# a3 j
  66. vendorlib = libmysql.dll在
    , K5 y/ F5 o6 I4 a, \! T3 j
  67. libraryname = dbexpmysql.dll / W& a: J( Q( b
  68. 积极= 1 6 y+ m$ l/ J2 C7 g2 Y4 \6 ~
  69. ---例如---- 8 D: {; d" x8 W/ P) V: {
  70. -写在0 2.03.04由p wk.linuxfan( M. m6 |5 g% \, r3 ]
复制代码
发表于 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 words4 s8 y7 q3 s  h2 @% L! X9 e

5 f$ V. s! l# ~8 `+ V  Vbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-6 16:19 , Processed in 0.087748 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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