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

2351 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan / J- }/ x4 G! t1 T
7 P: j6 \) V0 l2 Z$ q  }: w

  1. 8 G- l3 K  \( Y5 s9 C% x. j( ~4 j  Y$ b
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ' [5 n4 y. Z$ M$ Y+ b
  3. 1 v' Y4 Y; c9 z7 K
  4. ### What we need ###
    $ D" i  v/ B8 m8 w1 I+ m
  5. Naturally, we will need a MySQL server to store the data for us, this document + h( W* Y3 v- i$ S: }  ~+ k- o
  6. will not explain how this can be done - there are documents out there for the 4 _; j" Z: C- _' I1 d
  7. interested. The requirements include a (empty) database for TeamSpeak to use# G) ^: n* ?/ x! x: H1 X6 p
  8. and a user account (username + password) that has the permissions to do stuff
    " i# j) w; v8 j( T. w$ c  }
  9. with the database. Additionally, you will need a vendor library installed on the5 B: {+ h  n: \$ ^7 l
  10. local machine, this came with my MySQL install.
    : F  T. H. I4 L1 H' }2 ]8 F, G8 v
  11. These instructions will not tell you how you might transfer your data from the2 [! F: L( _+ x3 W; ^
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL9 S: o$ H* `. \' M
  13. database." u2 Q& z8 B0 ?) Y# ~+ ^
  14. Some users have reported ways to import a SQLite database into MySQL, but at9 ?$ K+ b8 U! r- y9 d0 m' o& C
  15. the time of writing, there are still too many issues - check the current status
    , M, \: X. Z: A( U: `, ]+ ]
  16. in the TeamSpeak forums if you are interested.# u( R7 @  a) R5 G$ q' W
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from" S, L/ X$ |3 P5 c1 z
  18. Borland was used. This driver can only interface with the client library that
    & f8 G' C. N* }- g' p% E" k  `
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    , P, T) }1 L) z% `9 P
  20. client library - basically all you have to do is to use a 3.x client library as
    % K4 h- O0 B2 v5 a8 I- [; c3 s
  21. "VendorLib" and a 4.x database to connect to.
    9 G6 [& v2 a' r6 m  ?
  22. If you need more info about dbExpress, you can contact Borland.: a7 B9 Z" J; u- S
  23. , j, F, {4 W2 I$ @6 I' F& b4 ?, B
  24. ### Doing the work ###
    : n. H  N; ?$ u" B, {* T" ?
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ) M9 h; `" F/ l% i
  26. the perquisites right, just open your server.ini file, and add this section at6 {5 a/ _* r; W4 w4 G
  27. the end:
    ( W  [5 N( Q! P. |& g. d
  28. ---cut here---. t4 i2 B( Y+ m1 {1 ~% z9 O! \
  29. [DBEXPRESS]0 o% h1 p' ~9 [' M$ k
  30. sqldir=mysql_sql6 ^1 N/ _* ~( [+ ]: f
  31. Drivername=mysql/ A6 A7 e% j( w, m: f* {, S, V, l
  32. Database=Your_Database_Name_Here
    ! t. f/ o" y# z8 a7 M5 u, v4 r1 b
  33. Hostname=The_PC_the_MySQL-Server_is_on- ~2 z: U$ |2 u
  34. User_name=User_name_on_the_MySQL-Server
    # z4 ~8 G; b' B: I* N4 |
  35. Password=Password_to_go_with_above_user_name4 a; m  E6 m: O* X* A
  36. GetDriverFunc=getSQLDriverMYSQL
    ; B8 `4 r% b6 [8 O, y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ; D% q1 `  i" ^  {7 Z
  38. LibraryName=path_to_libsqlmy_libary5 |5 S5 I  q! @, G) I
  39. Active=1) U; x. h. ^+ s
  40. ---cut here---
    ) A$ {6 o5 r# t# j- [& Q
  41. In my environment (a linux box with a MySQL server running locally) I have:
    5 G. [1 j* w+ [6 ~% g! u
  42. ---example---
    : f7 N- b2 z2 A/ i; g# F
  43. [DBEXPRESS]! |, u, D6 \" f5 ]7 S
  44. sqldir=mysql_sql, v7 J4 k7 l0 k. Q1 H8 Q
  45. Drivername=mysql& V6 _- B) b* h& ]: @) U4 D
  46. Database=test) O" M9 D, S7 Q9 h: c% g9 [
  47. Hostname=localhost) G6 O3 g! M$ Y
  48. User_name=testuser; m8 M0 C$ i- @
  49. Password=my_password' R) q% U: w/ f* p1 u- T
  50. GetDriverFunc=getSQLDriverMYSQL
    ; q/ B, ~9 g% u: A
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ) u8 C8 @- j7 A
  52. LibraryName=./libsqlmy.so2 b5 |* ]! c+ Q5 d1 Q
  53. Active=1
    2 c; I/ l2 D% ]4 z7 {8 Q1 ?
  54. ---example---
    ; W# L  @+ G% r/ U2 m0 S
  55. * u2 J- ]/ t8 G+ L. @7 t; H) ~0 }
  56. On a windows box, also running the MySQL server locally, it would be:
    + X' j' r# q. H
  57. ---example---0 ^/ V6 x8 a! v" a9 w5 i2 G: d  ]
  58. [DBEXPRESS]
    ! m7 \* x( r& a& H
  59. sqldir=mysql_sql" [2 P9 r+ L4 @0 A
  60. Drivername=mysql$ y0 _) [8 H* P# E& y# W) D
  61. Database=test, i9 A. h7 X$ R- P+ ~
  62. Hostname=127.0.0.1/ T9 T3 q' V% O9 w; [6 }& l! k
  63. User_name=testuser! K, F5 I; A, F, W6 b1 A) n  y
  64. Password=my_password
    4 B. v9 G2 {5 \% Z* \& Z
  65. GetDriverFunc=getSQLDriverMYSQL
    8 g4 u: {7 f- M( K  b
  66. VendorLib=libmysql.dll& U* k7 d% |* s
  67. LibraryName=dbexpmysql.dll& P* i, Z1 [1 E) M  |
  68. Active=1" `- S, g2 o/ }4 T+ Y4 C
  69. ---example----
    . G4 Z6 T& e" G# e1 H. T1 X1 k; A
  70. - written 02.03.04 by pwk.linuxfan
    " G! ^. r8 g- p
  71. $ S* Z  [' V; p+ u' p
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看1 V5 s+ l2 f+ C. q# f+ z0 I% O$ ^

  1. & U4 M0 A, Q# r. x2 S6 p, t8 H$ D
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    7 n9 q0 u8 k8 B- c2 T9 }! n$ A

  3. & f1 U- ~! S( Q% X4 y- S4 D
  4. # # #我们所需要# # # ' j: L' w; j0 B: x" s4 M
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    : `: a9 W8 ]/ \# K9 R' r$ Q7 o
  6. 不会解释如何做到这一点-也有文件存在,为
    ; ^4 B5 Z0 W1 {0 ?" Z, _
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    * V% E. z$ |; G: B1 {
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ' o1 f8 |1 B; u) ~3 F8 W
  9. 随着数据库。此外,你需要一个卖方图书馆安装于1 S( b- e( ~. o, D# z- u
  10. 本地机器,这是我的MySQL安装。
    3 H2 M0 v  }! `
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    5 v( R- J8 N9 _* ]
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 9 R, e! @) Q+ y4 m$ N
  13. 数据库。 * W$ I1 U+ C) K1 j1 N9 @
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在1 c( T! [* U" l! M! i$ I
  15. 编写本报告的时候,仍然有太多的问题-检查现状  Y6 A+ D  _7 H- ?" N" A) j
  16. 在teamspeak论坛,如果你有兴趣。
    : ^8 S" B( r8 ~- I
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    3 S9 a; x3 z1 ?% f: Z
  18. Borland公司使用。这个司机只能界面与客户端库
    * g+ O0 c; F4 u' v
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这$ m5 ?# p9 c2 ]1 `' F$ N2 K
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    4 B4 u4 S0 O2 _/ @- K: E/ a
  21. " vendorlib " ,并解数据库连接。 & H4 a6 Q- W3 \9 |0 ?
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    5 K# w# q- s' B6 Z# {1 J
  23. ) a) |. S9 S+ }4 l
  24. # # #做好工作# # #
    5 h: Z1 s* q( K3 h
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    , v) I& E' g1 D" q, y! ]
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    " `. T" L: L* J9 I
  27. 结束: 0 ]# l7 Z, k, t  o. {9 b. y
  28. ---削减这里---
    5 w" }6 H2 |, I
  29. [ dbexpress ] . \* E. j& x& W, n; P& L+ w
  30. sqldir = mysql_sql % I6 F3 {# U  o& h* b+ ?1 o9 n- X
  31. drivername = MySQL中5 k5 c0 X8 z% }' ^1 N$ V4 T) o
  32. 数据库= your_database_name_here 1 w3 n& x4 r6 R) U
  33. 主机= the_pc_the_mysql - server_is_on
    5 b9 L" t6 ~# I* M4 d
  34. user_name = user_name_on_the_mysql服务器
    ) g$ W' G8 |1 W4 Z
  35. 密码= password_to_go_with_above_user_name ; C! _$ \8 w5 c
  36. getdriverfunc = getsqldrivermysql
    ( H% ]1 G- v2 }# @
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib - H) t' e4 d6 O+ B
  38. libraryname = path_to_libsqlmy_libary $ s6 A8 C* m) U- _
  39. 积极= 1
    - d& o6 I, K+ X# G* M/ U
  40. ---削减这里---   ]3 v" C2 x: l$ B0 S( _
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    # d" {& [+ R9 V6 ?  {2 L
  42. ---例如--- ; e# ]+ y; y+ T( g
  43. [ dbexpress ]
    % Q; p, H0 ^& E1 E9 x* A2 k
  44. sqldir = mysql_sql 2 h" U6 [& ~, [
  45. drivername = MySQL中
    1 z+ A" e7 X3 f9 N2 V% T0 d& f- {% T
  46. 数据库=测试3 u* ~( ]$ U8 @4 A! D
  47. 主机=本地主机8 ?* J9 d) W( Q  O- W- [$ _: Y% P5 H3 {
  48. user_name = testuser
    $ D0 ?0 V1 n% U/ I1 k6 O- k
  49. 密码= my_password / y; X8 f: T& ?; \' X/ H
  50. getdriverfunc = getsqldrivermysql % e$ L+ ]6 B; A" z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    8 f) ~1 ?  ~+ t' {
  52. libraryname =. / libsqlmy.so
    - H7 m" L% R9 v: ?* b
  53. 积极= 1 1 M6 n0 m3 \. ~0 w( n
  54. ---例如--- ' d7 r4 q& O' S

  55. , X9 k5 w3 k* L- h8 M' H
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 8 N" K' }, j: o" ]
  57. ---例如---
    ; Q, V2 h1 ^. M  V" \  n3 T& I! I7 X
  58. [ dbexpress ]
    ) a+ L1 ]8 O# h0 @
  59. sqldir = mysql_sql ( Q3 a. W& Y! c0 ?9 o1 K
  60. drivername = MySQL中. `- b6 z' A! v  F
  61. 数据库=测试
    ) T' s* |! c* V& u
  62. 主机= 127.0.0.1
    , f) N) }# a% p2 C% a
  63. user_name = testuser % b/ Q4 l% P0 u4 [
  64. 密码= my_password 6 R1 M+ C0 ?( W  z% V4 _2 C8 Z
  65. getdriverfunc = getsqldrivermysql ! g7 {; ~  U1 \/ v
  66. vendorlib = libmysql.dll在1 {0 |4 d6 _( Y# n$ y+ }) s, P
  67. libraryname = dbexpmysql.dll
    / m0 k5 @' H" {# c+ w* Y
  68. 积极= 1
    1 i6 V. j( V9 X4 A1 [, B
  69. ---例如---- ! S  |' T3 H8 [5 h: P
  70. -写在0 2.03.04由p wk.linuxfan
    4 x# j3 P( Z. w1 G" b; e
复制代码
发表于 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# ]  u# W) N4 F' s% ^0 I

' |& f$ P0 N. @7 n# obut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-1 11:11 , Processed in 0.093427 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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