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

3005 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan # e3 k1 p8 q; v
) k/ n7 L4 T4 F* }
  1. 2 d- S" P: F1 P0 t- Y; _& A
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    " }9 g, \2 \- k( ?7 R/ F
  3. 8 _8 s) L+ X) t/ n0 f) W' {& M
  4. ### What we need ###
    ' `5 X( o, U& ?8 d5 T# P4 N# d
  5. Naturally, we will need a MySQL server to store the data for us, this document
    : H, E) {: c$ Z5 X: _7 q
  6. will not explain how this can be done - there are documents out there for the
    3 G3 ~! m5 ]0 ]2 y
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    6 Q! n2 h, H3 x
  8. and a user account (username + password) that has the permissions to do stuff
    ; H& X9 j( `) R+ K& R
  9. with the database. Additionally, you will need a vendor library installed on the0 {8 o9 Z/ F8 c& J+ s7 y
  10. local machine, this came with my MySQL install.
    7 o6 d* Z" V$ X' R
  11. These instructions will not tell you how you might transfer your data from the4 n% }: x/ m% Q8 l  w4 l* @4 ?; ?
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL/ p* i& ]# Z1 S. n, z& p
  13. database.
    $ K! h( ^  _# b. v4 P
  14. Some users have reported ways to import a SQLite database into MySQL, but at, {7 P/ X' G" ~0 G; r( d8 t
  15. the time of writing, there are still too many issues - check the current status/ C2 }' y0 Y- u* U% }' z; S! i
  16. in the TeamSpeak forums if you are interested.0 @" t) |7 g* ?$ z4 @: ], N
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    # Z7 o2 N9 T( n7 h. A
  18. Borland was used. This driver can only interface with the client library that
    - h3 q' O: [6 L' I" g! q1 b
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this% G  ~7 h3 _2 R0 N, @1 r( q: ^: {
  20. client library - basically all you have to do is to use a 3.x client library as
    5 t% P: E' `' S
  21. "VendorLib" and a 4.x database to connect to.% P3 P5 k& V0 a- e  @9 I+ Y
  22. If you need more info about dbExpress, you can contact Borland.7 ?, Y9 s: T7 D8 |
  23. 7 E& B; i' a) k# ^8 @% m
  24. ### Doing the work ###
    % d9 N3 \9 w4 s$ I$ m8 e
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    $ {) G- h7 E3 P+ [# D& j- ?
  26. the perquisites right, just open your server.ini file, and add this section at
    9 y4 q4 N4 c" e* s2 R# b
  27. the end:
    7 Z0 J1 {3 I& ~: w, L7 C4 F
  28. ---cut here---! h: m# {, |/ K- s4 P
  29. [DBEXPRESS]
    ( W. [3 W0 s' M3 @+ u0 q9 v- S
  30. sqldir=mysql_sql
    ; n: u# s8 y/ D8 z7 N. ?7 s
  31. Drivername=mysql
    8 K- D% N0 b7 n' `0 Y6 B
  32. Database=Your_Database_Name_Here! G4 V5 p, ?; `& v% m1 {  n
  33. Hostname=The_PC_the_MySQL-Server_is_on9 U2 C8 h, [9 f: |
  34. User_name=User_name_on_the_MySQL-Server* H! S. E/ ^% q. ^/ C1 a& e2 H
  35. Password=Password_to_go_with_above_user_name
    - O# S5 ~( E8 R) L5 K3 p, s
  36. GetDriverFunc=getSQLDriverMYSQL0 U; V( v- o' P( l6 V. S7 X
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    + B& Q8 g( ]( l) m' ?4 l
  38. LibraryName=path_to_libsqlmy_libary
    ! @2 w. A' S9 D
  39. Active=1( D+ M2 Q+ D) H" S% `& {( c
  40. ---cut here---9 B2 ~' k9 l, ~& ~
  41. In my environment (a linux box with a MySQL server running locally) I have:2 K- P. w+ H1 {7 B; h* r9 V
  42. ---example---
    ' n; `! ]! H" A- Z) a+ p0 S- m
  43. [DBEXPRESS]- ^: h3 x( U* o7 i# d; ~1 q) Q
  44. sqldir=mysql_sql
    9 d' |4 h  f+ `# h
  45. Drivername=mysql. i$ u" U7 X6 \7 ^2 f
  46. Database=test
    ) l- G+ a( ~) d" k% ]- B
  47. Hostname=localhost
    7 c1 N: S- l( [6 S: g: \
  48. User_name=testuser6 g" o4 g. @7 D% x
  49. Password=my_password/ M; m' b7 P2 g: V8 e0 i% q
  50. GetDriverFunc=getSQLDriverMYSQL* C% v/ Z+ a1 V! w6 p' _, e
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0/ c9 M" ?! Y6 J% P
  52. LibraryName=./libsqlmy.so
    & j! m7 o4 H/ X% I
  53. Active=1
      c! g' x: y5 q0 C. X
  54. ---example---
    0 o8 f9 `: k  r" R/ U# k2 P

  55. , G- X% h2 N% J$ W( f
  56. On a windows box, also running the MySQL server locally, it would be:
    $ i% [1 x; J5 ?* R4 u- {
  57. ---example---1 C1 n) b4 S3 ~) Z: e
  58. [DBEXPRESS], ^, i6 t2 A2 ^
  59. sqldir=mysql_sql
    ' l$ t5 V% k( o& Y6 q6 `1 e% C
  60. Drivername=mysql
    5 c  }5 C2 \' C( [
  61. Database=test
    . h" j: j$ C2 K3 o8 l
  62. Hostname=127.0.0.1
    8 b- Q7 }  ?( b$ O( M/ c
  63. User_name=testuser
    ( M% x' p% E9 R6 y% S* g# D. K+ i7 w
  64. Password=my_password: e3 V' N; k" c, }9 `
  65. GetDriverFunc=getSQLDriverMYSQL" O1 f" P; k8 e- l; E* q+ g  T
  66. VendorLib=libmysql.dll
    8 w1 h% B5 K& D  v
  67. LibraryName=dbexpmysql.dll3 X+ ?9 S! w8 @
  68. Active=1
    2 E0 I7 @1 p5 }( h& @. q' J( E% o
  69. ---example----3 g* `/ L  c' b( {; v
  70. - written 02.03.04 by pwk.linuxfan# Z  s+ f. c; O. \5 z9 s- i
  71. 4 R0 G, O: `8 y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
+ G0 c. o' Q* i! F2 L$ M6 _& ~
  1. # l& O7 D% ~' T6 D
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    + @/ L3 U5 L3 i. a2 a

  3.   R  z! K- D  M. y2 H( Z1 D* T$ L5 U& r: u
  4. # # #我们所需要# # # . @2 O5 e9 B$ [/ F# M
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    , W0 \  x# x3 D6 ^( [& e
  6. 不会解释如何做到这一点-也有文件存在,为  z8 a5 r$ E! q$ j! j; W
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用; K3 d4 J* `$ ?/ U
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西7 _: D1 [7 I1 W/ Z
  9. 随着数据库。此外,你需要一个卖方图书馆安装于: h- y' c2 ^: |
  10. 本地机器,这是我的MySQL安装。 ) R, T" h7 x0 M( W! l+ I+ ^* ]6 X
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    0 N' E. d0 Y1 L- W! x/ }) R6 q8 Q( v
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    - h" k+ |' }  A+ Z5 ^) K1 o% d
  13. 数据库。
    + }7 D  S' |4 q! I
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    7 \8 z- `- {* a% b, F0 V* `9 K
  15. 编写本报告的时候,仍然有太多的问题-检查现状1 t, }# K9 w7 }  ^4 [3 x
  16. 在teamspeak论坛,如果你有兴趣。 6 [, h, Z- b  Y# [% L! U5 y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机% L1 u) I0 w9 M# u- k
  18. Borland公司使用。这个司机只能界面与客户端库5 ]5 H; U- l. ^" ^
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    - q% i) B2 D; }# i) a. Q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为: G) K) a! _9 H( E- l5 ]/ b8 p3 |
  21. " vendorlib " ,并解数据库连接。 : K7 X* k/ Y% o- s) L* k
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 2 ?' v+ b3 r) n
  23. % u; ^+ s; o- U3 k
  24. # # #做好工作# # # / L2 s- k9 s: T9 x3 O- M0 f! ?4 j
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ' x* W! y! B, B7 \
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在7 x2 ~: ?% M) j5 [
  27. 结束: ' r/ G* z$ F) r2 c' y6 I
  28. ---削减这里--- * ~9 z" z# y& c3 J
  29. [ dbexpress ]
    % o! K! c0 a& Q, a7 ]
  30. sqldir = mysql_sql
    2 @. ~& C- {9 \$ d+ W2 P
  31. drivername = MySQL中
    - Y3 P3 I% o1 _5 |6 ?/ `! r7 j$ D* p
  32. 数据库= your_database_name_here . m/ o4 L8 w& @- f* I: r9 g+ s
  33. 主机= the_pc_the_mysql - server_is_on 2 h1 V3 R' m( {1 O
  34. user_name = user_name_on_the_mysql服务器
    & D1 s1 _$ U* R# c% ~) i
  35. 密码= password_to_go_with_above_user_name 9 L  x$ {7 _; b" o% n
  36. getdriverfunc = getsqldrivermysql . ?" u3 `# Z4 }9 W
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    7 k# C2 z. |5 @, z, m
  38. libraryname = path_to_libsqlmy_libary
    # j2 J5 m* ^( l! G" L
  39. 积极= 1 5 J3 m/ B' J7 u- v5 W' Z
  40. ---削减这里---   h& ?, d  V- J9 V! p6 T: h8 t
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ) N0 c. z8 e( B7 A
  42. ---例如---
    ) h) z2 Q$ O( C+ A( R
  43. [ dbexpress ]   G' e/ V2 P, l" @/ v4 i
  44. sqldir = mysql_sql
    - e3 n' d# `) D8 _
  45. drivername = MySQL中9 e; h# Y3 e: o  P1 I
  46. 数据库=测试0 s/ v5 k! ?& q7 f* g/ E0 S
  47. 主机=本地主机
    & P9 k: T- i6 f. z* Q  ~( u- I% K
  48. user_name = testuser $ h7 `/ P$ X! H
  49. 密码= my_password
    ' m) A) g$ n( J* {' ~) f* K
  50. getdriverfunc = getsqldrivermysql , T3 c$ @! _1 M, \' i( x1 l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    : I* b) S+ h* Q
  52. libraryname =. / libsqlmy.so # g- }2 ?8 ~5 ?% F% J
  53. 积极= 1 * M! C0 d6 ^% Z' i, |6 q0 `
  54. ---例如--- 2 C1 X( k7 M; R" q: _* P
  55. 2 C7 C# g9 F8 H0 c  }6 Y
  56. 对Windows中,也运行MySQL服务器本地的,那就是: + D2 \4 s+ {& [% e  ~
  57. ---例如---
    4 r! ^: ^2 E6 |
  58. [ dbexpress ] 3 U2 [* w; z4 S3 n  b
  59. sqldir = mysql_sql 9 C) [# l5 F: J) R3 _5 O& Q
  60. drivername = MySQL中2 m9 ^) e0 h+ d1 J. j
  61. 数据库=测试
    3 E5 r# N/ r$ ?0 i" F0 I
  62. 主机= 127.0.0.1 6 ^4 C9 y: i/ N- u- k9 }
  63. user_name = testuser
    1 Z* D$ E  o* B3 z! J' D
  64. 密码= my_password % O# R6 F7 P; P- b+ [( o0 V2 P
  65. getdriverfunc = getsqldrivermysql ' q, x/ d$ b/ a5 c
  66. vendorlib = libmysql.dll在# v" l2 U) f2 H3 A( m# b1 E
  67. libraryname = dbexpmysql.dll
    0 ?! V$ w. _; y4 I+ k0 @
  68. 积极= 1 * l7 ]/ C% K7 s' D8 Q
  69. ---例如---- 1 B; e6 n5 n, N' t$ r$ b
  70. -写在0 2.03.04由p wk.linuxfan9 ^) [0 a2 Q- M+ T: Z8 T# N
复制代码
发表于 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
5 S8 B: @7 _( C2 o) \  d: H, k" ~+ w6 U8 b8 S% ?$ ^2 m8 i
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-10 11:59 , Processed in 0.089735 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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