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

3013 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan . J+ l( H, t# D+ K# z8 W
) m. ]$ \3 N5 Z2 m- v- G$ b

  1. 6 T/ U" l0 h. a4 p/ e* b- o
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######  M( I6 u, w* `$ t
  3.   M$ n9 Y1 C6 i6 _
  4. ### What we need ###
    9 u! W% y8 M. r. n" _1 v$ b( d, J
  5. Naturally, we will need a MySQL server to store the data for us, this document # y8 X4 l+ |2 a/ c! J& _" C* _* r
  6. will not explain how this can be done - there are documents out there for the
    $ F) r7 T& D3 C
  7. interested. The requirements include a (empty) database for TeamSpeak to use
      B5 x" p. X- ?; [; j+ {
  8. and a user account (username + password) that has the permissions to do stuff
    ( n' \. S! s0 _* E
  9. with the database. Additionally, you will need a vendor library installed on the
    - W2 H1 M7 j2 [, u/ P% r
  10. local machine, this came with my MySQL install.
    & w  b! G4 B7 _& o$ k" W0 a% C
  11. These instructions will not tell you how you might transfer your data from the* Q9 t& w' }+ e  v- j  B
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    : X  n) o0 Q8 B7 I' g
  13. database.0 {; h+ ^1 X% F
  14. Some users have reported ways to import a SQLite database into MySQL, but at/ y7 q2 }1 |1 }
  15. the time of writing, there are still too many issues - check the current status
    % F+ l0 ?+ g  B  b) X
  16. in the TeamSpeak forums if you are interested.* ~" p& t& ?' n! u% i; z
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
      a$ t/ v0 H7 i) s2 M4 R
  18. Borland was used. This driver can only interface with the client library that * A5 ~+ @) v' }* C. T  C9 Y/ C
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this9 [8 ~: g5 _0 R- e: }2 p
  20. client library - basically all you have to do is to use a 3.x client library as
    ) u8 f0 [; u- ^! Z+ h( L, `* m
  21. "VendorLib" and a 4.x database to connect to.
    7 Y5 i, u9 j9 T% }1 b* G
  22. If you need more info about dbExpress, you can contact Borland./ X5 K" C' F3 e

  23. & r/ C2 c% n6 E9 e4 t' ~- |# [7 G
  24. ### Doing the work ###
    ; m9 T2 J( l& V2 L4 k
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all9 E+ Z7 w$ _1 R! h1 f( X
  26. the perquisites right, just open your server.ini file, and add this section at
    8 E* F* }+ C. k. O
  27. the end:" }( X# @+ g7 t1 v+ z/ J3 g
  28. ---cut here---6 `3 q: K5 @8 a: @. ^
  29. [DBEXPRESS]
    . h- _5 o* N( W0 Z- [
  30. sqldir=mysql_sql& N/ O1 E0 |2 {# Z" \4 ]" f
  31. Drivername=mysql7 i: r3 _# C$ M* s; `' ]
  32. Database=Your_Database_Name_Here
    % j$ ]' g3 X3 _* R
  33. Hostname=The_PC_the_MySQL-Server_is_on
    8 f% ^. ~% m& m" u: S1 i
  34. User_name=User_name_on_the_MySQL-Server  ]2 \% h$ H" e" g
  35. Password=Password_to_go_with_above_user_name
    ; G+ [! B" \: z5 h
  36. GetDriverFunc=getSQLDriverMYSQL/ {1 X/ z" o! y! l4 R+ q
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib+ T$ O& U6 I& d" _, T' Q! I2 g
  38. LibraryName=path_to_libsqlmy_libary
    4 o) V, C. H* R/ J; w! l8 w4 i" P; s
  39. Active=1
    2 x4 K+ z' t4 m8 r; p: f6 H; l# ]) Q
  40. ---cut here---# Z, ^% [% Z/ B' o# q
  41. In my environment (a linux box with a MySQL server running locally) I have:
    " t" G6 f8 y' V3 x* z
  42. ---example---% s2 G# T- E- j. A) o3 k
  43. [DBEXPRESS]& a$ D! U, J4 k5 q1 J. h7 r- n7 |
  44. sqldir=mysql_sql
    4 P0 L! }+ l' H2 d
  45. Drivername=mysql6 ~) C  b: s1 k6 Q! A: v6 r' c& t
  46. Database=test
    & L3 V. Z/ u& ^
  47. Hostname=localhost
    . u$ E* I. c8 Y! ^; w
  48. User_name=testuser" q1 U, R3 e+ ]# Z$ I+ V5 ~; ^' `; f
  49. Password=my_password
    : F- _) }5 K) I) q' [' C5 }
  50. GetDriverFunc=getSQLDriverMYSQL
    & m/ w. T6 v, Y) A. P
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0) B4 V, A! o, B7 w3 r! F7 ~
  52. LibraryName=./libsqlmy.so
    2 i4 F* ^. J: {: n  u; X% _
  53. Active=1
    * {" G5 K& {+ \! @# I
  54. ---example---4 B3 ~0 _+ i% \. J) M& K! H
  55. * X1 s$ T3 l: ]0 x/ y6 l
  56. On a windows box, also running the MySQL server locally, it would be:
    " W* |2 P/ f0 P1 H  [: c
  57. ---example---3 W, P! _& V/ p1 O) |7 }5 F
  58. [DBEXPRESS]
      G7 v# ^1 K" C+ o
  59. sqldir=mysql_sql
    3 ?7 x) Z. ~4 ]  J3 p) o6 }
  60. Drivername=mysql% u- p1 j* e; Y0 [$ y) [
  61. Database=test' {+ z8 w( ~& B, s" c( ~- }
  62. Hostname=127.0.0.1
    " ?- i; ?; ]8 o/ o4 G
  63. User_name=testuser
    ) i( c) X1 z: o; Q
  64. Password=my_password, [4 ]& I. g7 ?( V) z* J- t! x; j
  65. GetDriverFunc=getSQLDriverMYSQL
    7 z  m/ y) V1 f( Y
  66. VendorLib=libmysql.dll( K* ]3 g* w% ?
  67. LibraryName=dbexpmysql.dll
      J4 q6 h7 ]* k' G; O5 J" p
  68. Active=1
    2 q/ C6 f+ C$ ~8 y8 {  S. }
  69. ---example----% m8 D3 [. X1 l" e3 u
  70. - written 02.03.04 by pwk.linuxfan0 ^6 _( O5 c( L1 c
  71. , Q6 y) e4 l' N. q5 l& u
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
2 _# p+ C* T9 ^" v+ ?

  1. # s! G$ |& C' b) d8 h/ W
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
      j! J. V4 J2 _

  3. 7 z- x* Y4 I7 W! Z* j
  4. # # #我们所需要# # # + ~4 B: K% N, [$ j
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    6 V: b9 S; f  M0 [8 x5 D9 L
  6. 不会解释如何做到这一点-也有文件存在,为. N9 s. R# o* Q/ I
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    5 m) B' j) S8 r
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西* b- ?4 Y7 _/ K) b
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    5 y3 I4 u; v/ V" ?& L  @
  10. 本地机器,这是我的MySQL安装。 ( ^' [/ I2 v4 S  Z/ z8 ~
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从/ x. r- q6 d- r. a- Q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    3 c9 s0 T6 n* Q, c1 {% @7 ^
  13. 数据库。
    8 Z2 m0 w7 Q  V1 n4 J
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在0 d2 T/ @. P4 G+ R' n
  15. 编写本报告的时候,仍然有太多的问题-检查现状4 f" a5 u# i2 B6 U- @6 B0 D
  16. 在teamspeak论坛,如果你有兴趣。
    # D( H. m4 N  N( Z) p3 v
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    # ]5 g7 E$ v1 ]& _0 E, ~
  18. Borland公司使用。这个司机只能界面与客户端库, D& \& W$ @& K8 S, R  B9 P) S* X
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    5 {3 }8 l8 }& {( a* w5 y9 |. n
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    9 H9 B1 r3 {( K1 F0 j6 O) J
  21. " vendorlib " ,并解数据库连接。 3 ^  J$ i2 e! [) T
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 0 X& p& E) Z5 x  \/ {1 }5 e+ s
  23. & Z4 m3 D$ D+ f2 Z8 L. x
  24. # # #做好工作# # # $ M; i& p* ~% v) K5 [/ \
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都$ c+ P# b2 z( e! s- P" L; R4 F
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    0 {' e9 i0 x- G1 i: ~. m* y, z
  27. 结束:
    7 h5 a$ j! S; X4 U
  28. ---削减这里---
    " b9 F5 D! p  f# ~) \9 R
  29. [ dbexpress ]
    / N( |5 z, c$ p  P0 M" R9 |
  30. sqldir = mysql_sql " c: n( I/ f& ~
  31. drivername = MySQL中
    : f; f9 W% \- [7 t' s( G' k
  32. 数据库= your_database_name_here ( X- ~' B) Q& m2 G% N0 `$ z! y
  33. 主机= the_pc_the_mysql - server_is_on
    . ?% A  \* a! p9 J9 ~
  34. user_name = user_name_on_the_mysql服务器
    - A- t- L9 @. ?6 }$ P
  35. 密码= password_to_go_with_above_user_name
    3 Y% j2 y7 Y- j$ L
  36. getdriverfunc = getsqldrivermysql
    8 d9 Q) u1 l' x5 O
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 5 K! U: m2 \9 `
  38. libraryname = path_to_libsqlmy_libary ( O0 Q- V" z; _4 {% y
  39. 积极= 1 " ?( R8 p! P% h6 b1 S
  40. ---削减这里--- # n7 c" j4 W9 a" d: f4 F$ N! Q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: * ?* {4 ?4 m( w2 h' e2 U! ^( W
  42. ---例如--- $ H. P! z8 T* V! h" N( Q
  43. [ dbexpress ] " I- v: n( P% q( H
  44. sqldir = mysql_sql
    . m/ |$ W- f8 I$ ~9 Z' r& o* I
  45. drivername = MySQL中) r5 d% a. r5 K
  46. 数据库=测试. J1 {  ^2 S/ p0 R8 X
  47. 主机=本地主机& H# `; \% t4 F
  48. user_name = testuser 0 p+ O# |$ G. q" i
  49. 密码= my_password
    ) X5 g, l/ m, v$ @9 i
  50. getdriverfunc = getsqldrivermysql
    ) @+ }1 m! Y. [$ Z, c! ]
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    9 D1 |0 C$ Z* ~+ U/ W
  52. libraryname =. / libsqlmy.so
    4 E: B" l& q6 T% M' n% M
  53. 积极= 1 2 p2 A0 V/ F$ f5 s8 d  |2 H7 p: a
  54. ---例如--- ! \" d1 Q' a  L5 M  ?5 N" i$ @  z" u
  55. ! E  I6 D( ?) ]  t7 E
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 3 r0 i3 }4 @- x1 M
  57. ---例如--- % X1 ~& x# a% |6 [4 H8 u
  58. [ dbexpress ] 2 b% f3 L( t* Z5 m. ^8 Q' k
  59. sqldir = mysql_sql & z/ J! N$ y' c' n! H  r% i+ Q
  60. drivername = MySQL中
    5 \% J0 u% _. y: h& G5 w/ N
  61. 数据库=测试$ [  ~3 i$ n1 @) X8 q, x4 z
  62. 主机= 127.0.0.1
    . W5 B- X; l* E  R* c4 e$ Y
  63. user_name = testuser " a- W) G4 O" U7 W
  64. 密码= my_password
    9 m. {8 c3 z: K7 u
  65. getdriverfunc = getsqldrivermysql
    $ l' @+ a& ~6 Y. ?! C+ ?
  66. vendorlib = libmysql.dll在) V/ v8 i4 o- q2 s5 k. x
  67. libraryname = dbexpmysql.dll
    : `; g6 b6 G. S% B3 N  \7 i0 A
  68. 积极= 1 0 t4 m3 ?& U* S5 j
  69. ---例如----
    ) v* v' J3 X8 Q
  70. -写在0 2.03.04由p wk.linuxfan
    * `9 f- M* M1 e# U
复制代码
发表于 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
, W: W, L% u/ c: h& p+ h6 g! J" ^0 r6 |2 b5 Z  i3 Q# ^
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-12 22:02 , Processed in 0.097291 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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