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

3520 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
) {5 k. u% i! q* W+ M/ K+ t. h) [9 a  }2 _4 }$ b6 i2 v: }
  1. + }( j( t/ K( Y7 d- i+ X+ }7 \
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    . C$ P  S1 E, R$ Y5 D% i

  3. ( O0 J1 n  f# C6 A/ _
  4. ### What we need ###
    * `+ b" w/ z3 i' U" s, l( v! E
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ) d# B- `/ a/ d; Z6 Y3 s
  6. will not explain how this can be done - there are documents out there for the 0 R6 o* w; i- {. D: w
  7. interested. The requirements include a (empty) database for TeamSpeak to use3 w. u  {2 v+ \# p9 I# o
  8. and a user account (username + password) that has the permissions to do stuff
    : J' a# M- ?) v
  9. with the database. Additionally, you will need a vendor library installed on the$ \/ v( O3 i, r! o
  10. local machine, this came with my MySQL install.
    $ P, h% h, [- L$ ^
  11. These instructions will not tell you how you might transfer your data from the
      l( b* `! l& k) B9 l# Q3 }( }
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ( {2 x1 D2 H8 Q
  13. database.% ?5 T7 }  |1 q( O& C0 }
  14. Some users have reported ways to import a SQLite database into MySQL, but at
      a0 i# J. L7 N1 g' L/ H0 R- n
  15. the time of writing, there are still too many issues - check the current status
    ' \1 K# b4 I8 V
  16. in the TeamSpeak forums if you are interested.
    * J4 C) |3 ]% l8 }
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    $ ?3 J& j! F& m9 i' h  l
  18. Borland was used. This driver can only interface with the client library that
    ; J- N2 S1 f+ Q6 L
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    4 s$ W5 Y- E+ V7 Q
  20. client library - basically all you have to do is to use a 3.x client library as ( B0 _9 l8 w0 ~- G- e3 |! T
  21. "VendorLib" and a 4.x database to connect to.
    8 u/ L$ \& G. c+ ]4 @1 Y# z
  22. If you need more info about dbExpress, you can contact Borland.
    # d8 f( D( Q. ~+ c& C$ u" U

  23. 5 d. K4 p1 A# f6 M
  24. ### Doing the work ###
    9 `" |# T  q% }2 i4 ~7 h9 E3 o( {
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all6 C' o8 H% x7 _: H  e% b
  26. the perquisites right, just open your server.ini file, and add this section at
      x' [/ v2 ?" i3 O3 Q$ L# v
  27. the end:$ R- f$ X; l, o6 y5 M7 C& u
  28. ---cut here---
    . g: ^& d1 U% Q
  29. [DBEXPRESS]* U9 }3 s8 [$ f: y$ j7 {' r/ W* b
  30. sqldir=mysql_sql, a' }- S, N- P5 {
  31. Drivername=mysql& N* {' q+ r8 W* X  b  ?* T( B
  32. Database=Your_Database_Name_Here
    7 f8 z5 x% ~$ g4 G0 V" C2 |
  33. Hostname=The_PC_the_MySQL-Server_is_on5 m5 J% e+ J% D. g9 d! a2 `
  34. User_name=User_name_on_the_MySQL-Server
    " I( c) ~3 W; @; G$ o
  35. Password=Password_to_go_with_above_user_name# }/ U/ \7 `( @4 \9 D/ y6 K1 z
  36. GetDriverFunc=getSQLDriverMYSQL7 M# y# G, x' F
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    + J: R: z& y% F: Z" y0 X2 M3 s) \
  38. LibraryName=path_to_libsqlmy_libary3 r5 |) A8 w/ d
  39. Active=19 T; z  y! K7 f9 {6 h) N+ r
  40. ---cut here---
    + J5 p8 w  L2 Y3 t1 N0 D( j
  41. In my environment (a linux box with a MySQL server running locally) I have:
    + K8 C% T: V3 P: W
  42. ---example---
    ' P+ F; r5 |" M' g) n, v
  43. [DBEXPRESS]  F  C5 b0 I  M% R. B3 h3 U, Y
  44. sqldir=mysql_sql: f% N! D/ p- ^+ i
  45. Drivername=mysql
    * P9 b( S  e- ?1 B- T
  46. Database=test2 c0 F: L, B3 H: }3 `* ~! a
  47. Hostname=localhost
    ! Z, I4 L) y( |: k7 c% R2 y9 A
  48. User_name=testuser) n3 q4 J% e& Z2 y
  49. Password=my_password0 s+ d3 N/ V+ S2 e  J0 S
  50. GetDriverFunc=getSQLDriverMYSQL
    - h9 f- F1 b2 L+ ]- K5 a3 z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    3 z2 x8 L$ r( T1 K% g( U6 G
  52. LibraryName=./libsqlmy.so
    " `* }" m# l4 L( d: c' H* {
  53. Active=1
    ; a. f: R9 z- C9 D1 g% `
  54. ---example---
    - H0 f. D: W0 \( M
  55. : G. Y1 }+ N- L" A8 e% h. s
  56. On a windows box, also running the MySQL server locally, it would be:
    . S) P- |% m  d
  57. ---example---
    1 s8 h1 b) P6 ~7 O* {2 m7 G7 I
  58. [DBEXPRESS]' Y7 i6 p( @8 Q. q0 f
  59. sqldir=mysql_sql  E( f/ X4 S: V/ R( G' T
  60. Drivername=mysql
    $ A) G  s, `) |, X4 \# y5 X
  61. Database=test% B5 l" o* A/ K3 g
  62. Hostname=127.0.0.1
    - ^6 a; v3 Q. z# j
  63. User_name=testuser
    % Q: A" T4 @  W, @
  64. Password=my_password* T2 n/ |' A# J/ a- n: K8 P
  65. GetDriverFunc=getSQLDriverMYSQL: h' _. ~: G2 s0 r; p5 f9 |- z2 @8 u
  66. VendorLib=libmysql.dll
    % f" [  M* a  l8 K$ D
  67. LibraryName=dbexpmysql.dll
    3 u5 g4 ]- u+ z5 v
  68. Active=1
    ) D4 Y0 w' X. u% ]* b2 n
  69. ---example----- U$ ^8 k  B; w, J; p! r$ B" s
  70. - written 02.03.04 by pwk.linuxfan
      u) E; E/ e2 c* f; B
  71. ' g  `# E! I5 I* a
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
# `1 w0 K' s4 O% M6 X' [

  1. 9 B) `" F; _* N- ]
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 6 n# p$ ]+ y- I  C

  3. / \- @; L. n$ S0 J" N3 q" X6 x
  4. # # #我们所需要# # #
    9 |0 d0 d+ M" G' O- T+ ^: I
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件0 f' a% Y- n6 r$ Z6 B/ o8 K% X4 h
  6. 不会解释如何做到这一点-也有文件存在,为% |& a  s) H0 ~
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用6 _# J% ]1 [, `. Z, P
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    6 w1 ?+ E8 ^0 a
  9. 随着数据库。此外,你需要一个卖方图书馆安装于2 d4 l8 m' e3 M
  10. 本地机器,这是我的MySQL安装。 ' J' E, b5 Z3 ]) |* j
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    - `1 ^% W6 k; I
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    5 N0 r3 l2 H; @; N! f) E  O
  13. 数据库。
    ; S. @& D" e/ y6 U
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    : R  z7 V. M" [1 J
  15. 编写本报告的时候,仍然有太多的问题-检查现状5 @' |) h0 [4 e1 [% S2 f
  16. 在teamspeak论坛,如果你有兴趣。
    4 L6 L2 E2 W' L. m' d5 N
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机+ ^1 r6 y2 _" Z9 p
  18. Borland公司使用。这个司机只能界面与客户端库: R9 @8 y+ X# N9 v; Z$ h
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这5 A& d. X3 f1 D5 T+ R
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为8 {& q% B! Y% _
  21. " vendorlib " ,并解数据库连接。
    4 D# t/ B& i8 Z1 o* z9 F9 l
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    9 z4 o" l) ?; d5 O
  23. & s- x. O2 V0 S& C7 S" b  S& Q* R- W
  24. # # #做好工作# # #
    2 u6 U9 W0 l, C0 b
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    5 p- e1 n- M7 U5 g
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在0 A& i8 M/ Q! \
  27. 结束: 0 n1 p& l( ?2 l$ P
  28. ---削减这里---
    # k0 f" L5 H; G* H3 y# v  K
  29. [ dbexpress ] + {. v' C( v2 J: T- W% v9 ^+ `
  30. sqldir = mysql_sql   ^- L0 v$ x3 E
  31. drivername = MySQL中$ \  E& y4 q6 n5 B
  32. 数据库= your_database_name_here 4 K/ ^7 o, d, d5 \. a* C
  33. 主机= the_pc_the_mysql - server_is_on
    2 _/ n& n& V3 e. E; h/ s
  34. user_name = user_name_on_the_mysql服务器4 f" |4 R% v( H: t' l2 f7 N7 `) H
  35. 密码= password_to_go_with_above_user_name
    $ Z/ g& `- m! L, V$ I/ `$ x
  36. getdriverfunc = getsqldrivermysql + J8 j& y* P  U: H! M" m: D
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib & d0 O( g2 g; j2 P* m5 Z
  38. libraryname = path_to_libsqlmy_libary
    " c1 b; p( o0 [
  39. 积极= 1 8 F5 u1 O, h0 H) u! V+ z
  40. ---削减这里--- : h5 U5 e; f0 y5 |9 S. Y2 d
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    # [5 o7 ^( G$ y& R" \. e: d% d
  42. ---例如---
    7 S; }; w% s% g, o
  43. [ dbexpress ] 8 u% `2 [- w& j8 w
  44. sqldir = mysql_sql 3 {+ h4 U. M% X. I; \- E" F$ B" y
  45. drivername = MySQL中& [, f4 {; o0 j2 L; w3 O4 T7 Q" |
  46. 数据库=测试' _3 [$ R6 G3 R+ L
  47. 主机=本地主机) F" s5 T4 v! }7 F* b
  48. user_name = testuser % ], _$ |6 l# u" m
  49. 密码= my_password 1 `! e. T  ~7 H$ ^  H6 d7 z: R
  50. getdriverfunc = getsqldrivermysql
      V* l+ A) f- p5 v& D) z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    $ M3 p8 v% s) l. S1 ?
  52. libraryname =. / libsqlmy.so
    + ]0 m( y8 g# S( H) l' o
  53. 积极= 1 " J% K5 E' n+ Y) e9 c+ q" A) y
  54. ---例如---
    : O) P4 e/ k* I4 f1 d% \& m7 a

  55. ) k7 Y6 S, M0 g; Y
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ; x6 i: [0 K' v- q
  57. ---例如--- 3 h% Z6 G% l2 b5 o( G, U& }
  58. [ dbexpress ]
    5 [0 X9 W( s  E
  59. sqldir = mysql_sql 7 Y& s9 I) x% p7 r# _
  60. drivername = MySQL中8 X/ m1 L* c. `, x& ^
  61. 数据库=测试
    , Y/ O, P5 t& P9 Z% t9 B5 r
  62. 主机= 127.0.0.1
    & F& O6 {2 }+ W) Y6 \) \9 L
  63. user_name = testuser 5 t7 p8 q2 _. w
  64. 密码= my_password
    ( D6 f2 }7 a, H% C2 V, X! K
  65. getdriverfunc = getsqldrivermysql 4 N$ D" g- y! q) r
  66. vendorlib = libmysql.dll在
    & W4 h1 \# i& @8 @3 X
  67. libraryname = dbexpmysql.dll 1 G8 o% ?( h, E' _0 W6 m
  68. 积极= 1
    , [  `3 S" G+ D- u/ h0 l2 }# ~
  69. ---例如----
    : S" M$ v3 M/ z( g, V
  70. -写在0 2.03.04由p wk.linuxfan
    % d5 {" K. X$ t2 |) t% d3 D
复制代码
发表于 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
( G3 J) D" J! u/ ~$ k3 D
. g' T% {: [- u2 w$ N/ k1 h, jbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-15 06:24 , Processed in 0.061956 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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