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

2791 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
& S% {1 W3 j7 l) v0 N# u5 m1 k) p* b/ n# x5 h6 S8 A
  1. - d: C* g  `4 }
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    6 p2 W8 i. T3 `! Y
  3. ) \8 l. [! |! K4 P
  4. ### What we need ###
    8 B* v4 s& T9 `! ?5 [
  5. Naturally, we will need a MySQL server to store the data for us, this document
    1 C- p0 h3 v' D4 Z" L6 M6 x
  6. will not explain how this can be done - there are documents out there for the
      D* K2 ]3 h  }0 S# N
  7. interested. The requirements include a (empty) database for TeamSpeak to use4 t% [7 t/ N3 j) S
  8. and a user account (username + password) that has the permissions to do stuff
    * }& J4 }" Y& q6 }+ @
  9. with the database. Additionally, you will need a vendor library installed on the
    6 c# r  j% `" p4 ~
  10. local machine, this came with my MySQL install.
    ! v0 F% x) \% y1 ^& c
  11. These instructions will not tell you how you might transfer your data from the: U# s1 ?$ \% @$ A- C
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    " l& N, V- S( Z3 ?8 F' {
  13. database.
    5 e; o5 B1 h2 `5 T0 I. l1 o
  14. Some users have reported ways to import a SQLite database into MySQL, but at' f4 V3 k* t2 R+ Z3 M* H& d6 w
  15. the time of writing, there are still too many issues - check the current status
    9 N& i- u' Z' e+ z$ L  q
  16. in the TeamSpeak forums if you are interested.; f% v5 t! f- t. C* ?; \  L- I, m
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ; }. U( I, L7 a
  18. Borland was used. This driver can only interface with the client library that
    $ t) s" ^0 W/ p3 }: y
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this) N3 m( }( }% {( }3 Z% o8 m
  20. client library - basically all you have to do is to use a 3.x client library as
    ( Q1 ^! U( A, t  b( _3 _
  21. "VendorLib" and a 4.x database to connect to.
    7 F. R1 F1 }1 ?
  22. If you need more info about dbExpress, you can contact Borland.& ]! q5 @5 K3 Q

  23. 5 S6 F7 D2 l, P" b( @- n
  24. ### Doing the work ###
    * r3 w- i$ \( @! q5 _* c# b: `0 V
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all2 q; L& b; _2 Z4 ~
  26. the perquisites right, just open your server.ini file, and add this section at# j! z; d8 y9 U( l. {) m" t
  27. the end:
    8 H- k. o  n3 m* E1 ]0 V
  28. ---cut here---
    ( V/ z% M0 Y  W
  29. [DBEXPRESS]
    5 ^" {' M! d! @( Z2 {) Y8 v6 K
  30. sqldir=mysql_sql
    0 j9 j& h0 K2 i$ C4 _8 R+ {2 q4 `
  31. Drivername=mysql9 ^  l. y) J8 n- c) V  j6 I
  32. Database=Your_Database_Name_Here' {( E5 p4 s) z; p1 F: E" r# l
  33. Hostname=The_PC_the_MySQL-Server_is_on* {  G: Q) O" R' ?$ U( C7 w. G( Z
  34. User_name=User_name_on_the_MySQL-Server' m* z* m- z2 o# v) h! K
  35. Password=Password_to_go_with_above_user_name$ Z) r: Z* d  H6 N" Z3 N0 ^
  36. GetDriverFunc=getSQLDriverMYSQL% F2 h8 v2 ?. L3 K6 M7 o
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib/ C6 R$ J  q4 G" E
  38. LibraryName=path_to_libsqlmy_libary
    8 S( E8 ^. o/ F( U$ F; H( _
  39. Active=12 U4 e( P3 g% _& j, X
  40. ---cut here---
    . B, ]( l; d9 R/ m- {
  41. In my environment (a linux box with a MySQL server running locally) I have:
    6 H" u& E8 T+ z) l1 o( |, T/ W
  42. ---example---
    : Y- E" {3 [+ I" g% H6 ]. m8 H
  43. [DBEXPRESS]" ^) O; u, W/ |* D
  44. sqldir=mysql_sql
    5 k# c7 @; L: C1 r* q: h
  45. Drivername=mysql
    0 [# o  Q$ L7 V' g; \5 }2 ~
  46. Database=test
    ' p. P3 s% l, O: I$ v) b7 r
  47. Hostname=localhost
    5 {1 x2 }2 N3 t0 e. y. L; |
  48. User_name=testuser
    - p0 W- p6 A& m( O! b5 b8 G5 `
  49. Password=my_password
    % @7 x; y" I( Q9 d2 A7 M+ `
  50. GetDriverFunc=getSQLDriverMYSQL
    9 V7 ], q' t6 e3 n* U3 I% y1 X2 T
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0- z& W; ^/ U5 ?1 a) }" s
  52. LibraryName=./libsqlmy.so
    + u3 l5 N/ |$ _6 Y( L
  53. Active=1
    7 k" m' W; L) A7 _
  54. ---example---# b; i' d& H2 O% U
  55. 0 C5 M3 |. \( H' f9 }
  56. On a windows box, also running the MySQL server locally, it would be:
    1 H7 n( l& P/ a7 j# Q" [# Y- K
  57. ---example---
    0 f" i9 q1 P0 R0 M
  58. [DBEXPRESS]
    4 R$ R9 F* i3 O- Z+ U% }  n
  59. sqldir=mysql_sql3 K* O+ ?& ?  ?" V
  60. Drivername=mysql
    * {- q$ s$ d2 Q% v
  61. Database=test
    4 U* `. f2 F1 A* q: \) ]  K
  62. Hostname=127.0.0.11 n, d5 l7 K( W' F! P, ~6 S5 V3 W
  63. User_name=testuser
    # X" g' h0 \0 g/ `' _! C3 ^% V
  64. Password=my_password
    8 a: d" m! B, F
  65. GetDriverFunc=getSQLDriverMYSQL8 l' [4 e& r- a5 ]$ h  ]- b3 ]! ]
  66. VendorLib=libmysql.dll$ c3 v2 [# e9 W6 U, }
  67. LibraryName=dbexpmysql.dll8 l; \) ]- V! H% k
  68. Active=1
    # s% E9 R+ A9 {. b' e& M) g9 R
  69. ---example----7 n/ C! V# ^7 g  ~0 q
  70. - written 02.03.04 by pwk.linuxfan% t5 x. H8 a* ]
  71. ' t' ^" H2 ~1 g' S% t
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看2 `. c) M' w5 V2 X8 |* M

  1. 3 v! }  ^1 W2 X4 A% _) F" b  f. L
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 6 i% X6 Q- k: l( {0 ~8 e' J0 n8 Z, @! i

  3. 8 y/ j+ M0 L( Y2 u- N
  4. # # #我们所需要# # #
    7 d& T! e; D! ~% r( J
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ( y; J: G4 P5 h$ [
  6. 不会解释如何做到这一点-也有文件存在,为
    , \( a8 h3 ^/ {! t( B  Z; p+ a
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    8 W2 ]# N+ W8 \+ n. q! h
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ; |0 i9 E( ^9 w1 F1 L: n- R
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    + R  @5 U  Y# d6 |: }5 V
  10. 本地机器,这是我的MySQL安装。 $ s; G- W  K8 z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从" c, }4 u; d; N% j8 J
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    4 [. \" e: N) L9 J' ~2 H4 G- V9 {- v
  13. 数据库。
    6 G4 I  B6 y8 c" Y  v
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在) j9 {: V) S$ [: a, I
  15. 编写本报告的时候,仍然有太多的问题-检查现状% i+ i8 L  c8 {# h/ J
  16. 在teamspeak论坛,如果你有兴趣。 6 o; _! ~$ o+ S2 S1 n" Y% Y$ b
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ; {0 d& |& p, b& V$ S
  18. Borland公司使用。这个司机只能界面与客户端库0 P4 R( m0 u  y* S5 e9 \
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这- Q8 a! q3 Q5 h
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    0 b2 N; W7 [2 f3 K; M7 Y
  21. " vendorlib " ,并解数据库连接。
    8 T4 }- t# |( Z, L. O8 S
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 1 Z. T0 I* b0 K9 F, y" o
  23. $ c, @' c) ?0 v2 Z4 O5 d) ~
  24. # # #做好工作# # # 0 C) {+ \; g6 ?
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    - F2 t9 y5 A% _4 U- Z7 G4 x
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在7 n; ?- ~' F  ?$ Y, j3 l
  27. 结束:
    3 i4 f1 i3 ^1 a  [# V
  28. ---削减这里--- * P8 l0 J6 ?2 p
  29. [ dbexpress ]
    5 ?! z- ?3 S# f3 b
  30. sqldir = mysql_sql
    5 o, S2 f. j8 @  m4 W9 X. J* M, {' a
  31. drivername = MySQL中
    * r* m" @3 n% n4 e9 e- ^
  32. 数据库= your_database_name_here
    ' C" ~  S5 ~( Q) B; [0 N4 |
  33. 主机= the_pc_the_mysql - server_is_on , S2 S0 l  q9 C* c. J1 _
  34. user_name = user_name_on_the_mysql服务器& B. f/ u$ }6 z4 a9 b" _
  35. 密码= password_to_go_with_above_user_name 5 B( Q/ s$ C  ~. `& Q
  36. getdriverfunc = getsqldrivermysql ; `( r$ d4 a! c( Q
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    2 x/ w) k) }) `9 A/ ]! w
  38. libraryname = path_to_libsqlmy_libary
    , X2 Z; F) }! \
  39. 积极= 1 . r# A9 ~" U  l
  40. ---削减这里---
    7 W) v" i- `2 Z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ) m- {0 L( F; w" }, e
  42. ---例如--- ; v" A. ~7 \9 m4 c7 X. U% I  C
  43. [ dbexpress ]
    8 ^8 D! X% n$ \) ^) ^! ~) l7 q8 k5 A
  44. sqldir = mysql_sql
    # H) }+ ?# U3 j- `. C
  45. drivername = MySQL中
    5 k: x3 o; g1 c$ `% C5 D: y
  46. 数据库=测试
    ( P' D2 X# o& N9 O. p- e: f
  47. 主机=本地主机
      n5 A' v: f' b6 |3 f. O
  48. user_name = testuser % k; s( h$ {* M9 u% m/ a3 B' P
  49. 密码= my_password 1 e2 Y" l  p/ y
  50. getdriverfunc = getsqldrivermysql
    - |7 Z/ c) P) R! i; B
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ) w1 }0 M* T% g. ^
  52. libraryname =. / libsqlmy.so
    ' C5 J( E8 g$ b5 w7 ]
  53. 积极= 1
    : w& m- O: L/ m7 y
  54. ---例如--- ; D& \' w$ T# b% f) I) u7 G
  55. , W  l, ^* O. X: r6 e2 U' s7 V
  56. 对Windows中,也运行MySQL服务器本地的,那就是: + g3 H! @7 R4 f! S8 K8 f
  57. ---例如--- 3 _4 n- L( B* R. E
  58. [ dbexpress ] 8 ^! Z* k0 P: @% A4 @( w0 K
  59. sqldir = mysql_sql ' @& {0 q, M1 v# A- x
  60. drivername = MySQL中
    3 W) G& L, n# f3 f) N
  61. 数据库=测试
    9 C9 }* ?! ?8 a5 {6 z7 H0 `1 v
  62. 主机= 127.0.0.1 - j; @7 s0 Z  M: I
  63. user_name = testuser ' s( t" h& B3 ]3 S! P
  64. 密码= my_password - x1 Q9 }/ m, o" M) f6 h. o& F
  65. getdriverfunc = getsqldrivermysql
    ' f7 w* n5 T, V- D. X0 v" D+ v
  66. vendorlib = libmysql.dll在
    # s- |; v$ {% t! F9 V/ `# K
  67. libraryname = dbexpmysql.dll , ?; G2 b- N5 w' ^, q, {' i5 b- y
  68. 积极= 1 : Y* W2 K+ n5 W, s2 |' j% ^0 ]
  69. ---例如---- 1 V- X, B" q- k: O( }
  70. -写在0 2.03.04由p wk.linuxfan0 s& Z! v# o/ l5 @, e# M
复制代码
发表于 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" ~" ^" v6 r1 i

; \$ C" F4 W% P" Y! nbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

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

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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