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

3601 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
8 o! S* {6 Z" u
$ {' y; F$ z2 i) U  Y! B

  1. 1 [4 H, v9 d$ U6 d$ W, C: B
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    : \+ N/ x* A6 H  g$ g5 ?" h
  3. ( [0 r* x7 u/ |0 v( |- M' z6 ~
  4. ### What we need ###1 T3 f6 ^- @) {' a* n4 X
  5. Naturally, we will need a MySQL server to store the data for us, this document / u# m0 V1 @" j) m) m& w5 n/ I
  6. will not explain how this can be done - there are documents out there for the
    / k2 S3 _7 \' D% Z* q& D9 K& I
  7. interested. The requirements include a (empty) database for TeamSpeak to use) k+ [. V5 i% ~: R8 U
  8. and a user account (username + password) that has the permissions to do stuff
    9 r! x* \! ], x- W- ?" I8 x! Y- [) \2 y
  9. with the database. Additionally, you will need a vendor library installed on the
    * s- L& D$ r7 s# G8 }$ E
  10. local machine, this came with my MySQL install.
    - T! K, O( h3 b5 q# r
  11. These instructions will not tell you how you might transfer your data from the
    ) I6 c: c/ t! X- o4 w' P/ M
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL! Y5 ]: W3 C+ O% N+ B4 n
  13. database.
    8 `1 A' X6 t* Q
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ( o" R3 u, S; y: N+ ^" L" F: n+ o
  15. the time of writing, there are still too many issues - check the current status
    * ?- k# R( {/ k
  16. in the TeamSpeak forums if you are interested.
    ' j3 [, }5 _# n9 A1 }
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from5 M' Q9 o- z4 s5 _! L0 c' Z+ q
  18. Borland was used. This driver can only interface with the client library that
    , x& w, V4 \" X/ K6 x2 T
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ! z/ L: V  F( m
  20. client library - basically all you have to do is to use a 3.x client library as 9 ]3 o  t" c; K0 d& A
  21. "VendorLib" and a 4.x database to connect to.
    " R& q- X/ a9 }# {1 J7 b8 _2 s
  22. If you need more info about dbExpress, you can contact Borland.
    . R" H- A+ Q1 \; E6 M
  23. : |' S! ?9 }' Z) E' v5 }0 J
  24. ### Doing the work ###
    0 T7 H# J8 q0 Z# C# }' Y, J' {! @# ?
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all# b7 e# z8 U; ^" O0 H9 \# s
  26. the perquisites right, just open your server.ini file, and add this section at. g' M- e* ~- S# U  G
  27. the end:' m/ o  @' E" n
  28. ---cut here---  @7 c. X" j: z& [1 o, A
  29. [DBEXPRESS]+ v; W3 j; k$ Y% x
  30. sqldir=mysql_sql
    & z! g0 y9 H* F8 ~. ^# M
  31. Drivername=mysql
    9 `# R- U& ?2 _9 n' j( K
  32. Database=Your_Database_Name_Here
    8 [: k6 Z+ T) X, S# v/ q+ i
  33. Hostname=The_PC_the_MySQL-Server_is_on, G, H2 \/ ?% e* _
  34. User_name=User_name_on_the_MySQL-Server7 t7 S" n# c/ A$ f3 K+ H5 n6 z/ d
  35. Password=Password_to_go_with_above_user_name1 W4 f2 n) O$ A) J- L
  36. GetDriverFunc=getSQLDriverMYSQL* [* s5 z) j6 U$ q1 s
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib4 w8 c8 ^1 M7 Q: C
  38. LibraryName=path_to_libsqlmy_libary
    8 w; w9 K' b6 j% f' T
  39. Active=1% L" Y. R* b1 L8 P) _- \
  40. ---cut here---
    , ~$ L, B, H" v4 H- g
  41. In my environment (a linux box with a MySQL server running locally) I have:$ B0 j& d# Y( b) r* h: J' \
  42. ---example---# O: }+ s) K1 X* t  Z
  43. [DBEXPRESS]
    % {: x4 v* i9 Y9 f( H$ y# Z
  44. sqldir=mysql_sql
    ; o; @* y$ w: i" d8 y# Q; n, C
  45. Drivername=mysql
    " o& x  ~- ~8 e6 N
  46. Database=test+ L! @9 Z$ k$ f% g( h8 z
  47. Hostname=localhost% {/ g7 T2 [2 X. H
  48. User_name=testuser. ?  N4 }# [1 Y0 g9 j
  49. Password=my_password
    9 r8 B4 A! _1 D8 o+ v+ l
  50. GetDriverFunc=getSQLDriverMYSQL
    / x0 n7 }) @. h
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.07 Q: M7 `: |% }$ D; x# _
  52. LibraryName=./libsqlmy.so" ?' K( l9 v' L' _
  53. Active=1
    5 P3 n7 \( W$ I. x
  54. ---example---2 h% S" D7 U# y

  55. ! ~9 d9 [) a& E) a5 ?  {
  56. On a windows box, also running the MySQL server locally, it would be:. j' G% L, }# j9 y/ H! Z$ ^
  57. ---example---5 s: b  |7 ~0 \1 C
  58. [DBEXPRESS]
    * ~- T6 _  q8 k
  59. sqldir=mysql_sql
    / A7 W0 ?9 C4 X6 T! E: i
  60. Drivername=mysql
    , `) a. b+ ?% u7 F: y- S9 d  g
  61. Database=test
    + U5 d4 K7 S; f# X% G: d2 m
  62. Hostname=127.0.0.1
    , k7 @" X7 L: A1 J6 G+ V
  63. User_name=testuser
    ) j! ^7 W4 p/ t/ [9 M
  64. Password=my_password
    - h6 h$ n! D) i" |- Y% r3 j% X$ @8 y8 u
  65. GetDriverFunc=getSQLDriverMYSQL
    % A" T+ X+ O4 [( L6 m& g6 Q
  66. VendorLib=libmysql.dll* y) d3 {# q/ j: a2 ^9 c
  67. LibraryName=dbexpmysql.dll
    - ^( l8 X: G% S3 v
  68. Active=1' X# B' l8 p# ]+ d
  69. ---example----+ W2 W3 e: ^$ m' J+ z3 p7 F- ~
  70. - written 02.03.04 by pwk.linuxfan
    ' s2 k- ]. F- C

  71. # N: b' n% M0 j7 W. K
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
' V. g( c8 v) n, ?) w4 A

  1. - t' G6 ^% r! G' ~* B
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    7 A' D& z! k. B

  3. 7 S. R2 o' u; K* u$ B% n
  4. # # #我们所需要# # # 7 c/ T( d" H/ h5 ]. w- i
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
      \( G$ k$ \! F# t- @: n" ]9 @
  6. 不会解释如何做到这一点-也有文件存在,为
    ! C, v0 \& q* M
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    # v6 A1 M# I6 p: T* R# r( y/ [
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ' e6 t, R5 m: o5 M
  9. 随着数据库。此外,你需要一个卖方图书馆安装于; s6 Z& j, t! N! a0 u/ ]/ }  w
  10. 本地机器,这是我的MySQL安装。 ! G, r: [8 U4 V: f; m
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    $ \% l2 U2 q8 a' W7 N4 R3 F
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ! u' s( ]2 l8 k& S  e* ~
  13. 数据库。 2 O( U' x+ ]% `* P+ @1 P8 Y, `+ Y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    7 @/ B- G, Q4 `+ M9 T& M) Y
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    $ M/ L- L: t8 H% e
  16. 在teamspeak论坛,如果你有兴趣。
    - h" E& D8 s3 ?( o2 x9 @" N
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    / a8 B+ H- u+ w8 G) `" e  H
  18. Borland公司使用。这个司机只能界面与客户端库+ W: I& A# t7 P( \
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这8 [% Q7 h1 _, D% {9 r
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为" u+ o2 a5 t( _2 S: I5 o3 n
  21. " vendorlib " ,并解数据库连接。
    ; N) z1 G: r+ H  i
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 - c; I) F$ Y& p4 ]1 C* a9 ]

  23. + H0 ^  R6 M: c$ U' M; r
  24. # # #做好工作# # #
    6 D$ V  Q8 s* p4 _) I
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    0 ?2 g$ g: R1 v& A  F, Y5 a
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    7 m7 `4 i" _$ g$ \0 `9 K
  27. 结束:
    : L/ d" H! E4 H# w
  28. ---削减这里---
    8 i$ F" L. g1 N, H' a: j, a5 b
  29. [ dbexpress ] ' }, v; s! o, E  V2 d# g3 Y
  30. sqldir = mysql_sql # P& x, i; G$ N- H  `
  31. drivername = MySQL中- M( j& `6 t7 H% W. g# m: U
  32. 数据库= your_database_name_here
    8 b5 Z8 H: n- Q6 F: A9 K7 Q
  33. 主机= the_pc_the_mysql - server_is_on ; h- [; O: x% u% ^
  34. user_name = user_name_on_the_mysql服务器2 v% e* U; u% q0 M* G  T
  35. 密码= password_to_go_with_above_user_name / P0 Y, B3 ]) B; S; T7 Z; ?) M  G9 H
  36. getdriverfunc = getsqldrivermysql , k% C( t1 E: |* a' ^  x* |& L
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    , [0 t! q9 E5 v3 v2 i( e
  38. libraryname = path_to_libsqlmy_libary
    ' R  [9 [* f+ \3 _& Z9 a7 N
  39. 积极= 1 + ~! a% {4 T* x) N5 ^$ @$ U
  40. ---削减这里---
    ; Y  V3 H. z$ ^0 E
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ; e( \% R4 B2 ]2 z+ N: j( H4 [0 H! t! }
  42. ---例如---
    1 \1 J8 Y7 ^5 X, H- b- y
  43. [ dbexpress ]
    8 ~" q4 f/ \, b6 }9 c& b5 }# h
  44. sqldir = mysql_sql
    . r+ s7 h, C' c/ N% [
  45. drivername = MySQL中
    , h2 N( c# \3 I4 B' B, w
  46. 数据库=测试& Y) y& w* B5 e$ X4 S9 K
  47. 主机=本地主机7 e# c, V: q6 }) _! ?* C
  48. user_name = testuser
    : @5 P7 x( f; ~6 W
  49. 密码= my_password
    5 A0 ^' m3 P+ T0 P* \
  50. getdriverfunc = getsqldrivermysql . J8 ~- w# o! y* l5 G9 b, j
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    . V+ _* _3 _5 B+ P! l
  52. libraryname =. / libsqlmy.so ' v6 ^# J3 K$ M9 D9 G
  53. 积极= 1
    1 {8 q' u- ?! Q* w
  54. ---例如---
    4 H% B# q, p: N+ ?
  55. - f0 m- c7 O/ E- n
  56. 对Windows中,也运行MySQL服务器本地的,那就是: & h% t& ]& E" ^6 N
  57. ---例如---   Y$ p9 u3 Q4 Z* g1 h
  58. [ dbexpress ] 3 d. A: j4 d! ]7 n5 V
  59. sqldir = mysql_sql ' i2 q3 M# {4 E' l! `
  60. drivername = MySQL中
    7 i' T* o2 H. `5 b$ ~- c8 [) M
  61. 数据库=测试6 G2 n4 f8 T7 D9 w$ U& G  a
  62. 主机= 127.0.0.1 : S2 K7 j4 a" r6 i+ Z& k* H$ r
  63. user_name = testuser
    $ ?/ n1 j1 y' k7 g
  64. 密码= my_password " D5 g6 ?4 y: n9 R; L. x% i
  65. getdriverfunc = getsqldrivermysql " e  F2 {% |7 I# l# Q3 E
  66. vendorlib = libmysql.dll在* c. ]2 t7 [$ s2 o
  67. libraryname = dbexpmysql.dll ; ?$ \& x% C5 Y) E
  68. 积极= 1 2 a2 K" G4 c$ P; p& `. _) d9 `+ }
  69. ---例如----
    ; c  `) Y8 L" D2 R/ o* o
  70. -写在0 2.03.04由p wk.linuxfan
    6 s" C  D: P2 i9 W5 p2 K$ W; z
复制代码
发表于 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' Z, E# |6 E1 X6 u& B2 N

  Q% a1 d# l: k, A6 m; F, jbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-12-2 00:24 , Processed in 0.057868 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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