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

3042 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
6 Y2 I! z7 J+ q# I; O7 x
& }4 s! e( i$ Y5 w

  1. ! @0 m7 i; X  @3 |% d
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######. K  x3 Y$ m; ]: y

  3. / h3 a5 h" `- @6 _. ~" N& R
  4. ### What we need ###
    6 n' a' ?% P( e, G4 t$ q
  5. Naturally, we will need a MySQL server to store the data for us, this document % o; e7 w% m0 g5 q
  6. will not explain how this can be done - there are documents out there for the & p& G5 i4 S9 S: j. ^/ f" F- W
  7. interested. The requirements include a (empty) database for TeamSpeak to use6 C; q0 U. q6 l% ]+ @
  8. and a user account (username + password) that has the permissions to do stuff
    9 z4 `7 C/ a" z; d( f* s
  9. with the database. Additionally, you will need a vendor library installed on the- e% L, c8 Z& X6 b! i- T# @9 W
  10. local machine, this came with my MySQL install.
    : O4 ~: E1 M9 g( N/ L' Y+ D5 J
  11. These instructions will not tell you how you might transfer your data from the7 X# g$ Y' I6 f8 Y! C
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL4 k! G4 y7 u' Z  m, M
  13. database.
    # x& S0 Q2 E7 K5 i7 y7 Y# \
  14. Some users have reported ways to import a SQLite database into MySQL, but at! k* A- x7 ]- P3 }) m4 j/ [
  15. the time of writing, there are still too many issues - check the current status& A! T. L+ q+ z  N0 [( [
  16. in the TeamSpeak forums if you are interested.+ A  n8 V3 J& v
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    6 R1 Z$ X  R: H# w0 b
  18. Borland was used. This driver can only interface with the client library that 9 r; T3 h5 ]5 s" T7 d; |# J
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    % \! c& `2 @. j3 c
  20. client library - basically all you have to do is to use a 3.x client library as . b3 a: G6 m( r
  21. "VendorLib" and a 4.x database to connect to.. b( h! Q% e# c# u( _
  22. If you need more info about dbExpress, you can contact Borland.% a' q$ c& L4 [6 T4 o$ _( I8 X
  23. . f) O7 Q4 r8 K' x* I* ~+ M" P
  24. ### Doing the work ###
    - E7 U+ x7 k3 j/ o! m
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all, H8 I8 K4 C1 x: S  Z# m3 T
  26. the perquisites right, just open your server.ini file, and add this section at) ?# p9 E) H0 j# P" O/ p2 u% N4 R
  27. the end:
      w. S6 V( ~- _& T: M% n
  28. ---cut here---
    1 a" c- S: |( c) E: m. I
  29. [DBEXPRESS]
    ' t4 u% R$ n( `
  30. sqldir=mysql_sql' ?+ X; m) ?$ A  ~. ?& U1 E
  31. Drivername=mysql7 e; [1 N+ \1 Q' G
  32. Database=Your_Database_Name_Here' Z- b% t. V* a. u1 t/ O! B
  33. Hostname=The_PC_the_MySQL-Server_is_on
    , \3 A, {8 g6 p2 \2 Z
  34. User_name=User_name_on_the_MySQL-Server0 c. Y2 X8 |0 D  Z
  35. Password=Password_to_go_with_above_user_name% P6 t+ W* K* `+ _% F. V
  36. GetDriverFunc=getSQLDriverMYSQL
    + k% ~: R  ?& N9 L  C5 M
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    4 w: V' F' B3 ]1 I: \
  38. LibraryName=path_to_libsqlmy_libary  O) F( H" M5 J
  39. Active=1. @1 N: Z; T: y! ?9 p
  40. ---cut here---  D) `# ~; f- O* A  I$ W
  41. In my environment (a linux box with a MySQL server running locally) I have:: s( G. s2 M/ z* ^( @. m' s, {- E
  42. ---example---
    2 G6 X" D0 W6 l' n6 u: F1 R
  43. [DBEXPRESS]( l/ U1 W  X& c
  44. sqldir=mysql_sql
    3 f" N) c, g3 U; r
  45. Drivername=mysql
    3 R6 z. Y3 P& {& U# l6 p, k
  46. Database=test* Y6 k: Q' Z: p, @/ F
  47. Hostname=localhost
    % z. D' W/ _  Z8 A
  48. User_name=testuser
    7 O8 y2 f; y1 V
  49. Password=my_password/ r+ R9 k7 g" r+ |
  50. GetDriverFunc=getSQLDriverMYSQL0 x. Q' ], l% `7 ^' _* c
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.05 [" Q7 \9 m1 E% x4 `3 q" C
  52. LibraryName=./libsqlmy.so
    ' M( j- Z9 i* _8 m
  53. Active=1
    " F7 r+ @! I& O# s9 j8 j+ M5 B
  54. ---example---
    ! j. F: R; K: c

  55. 9 O# o! f( q- H9 k4 f; y; F" ?& n
  56. On a windows box, also running the MySQL server locally, it would be:
    9 J  B2 g1 D. m7 t$ _) s# a2 e$ v
  57. ---example---
    . {2 d/ i9 c7 W" T! K+ B
  58. [DBEXPRESS]
    6 R0 e8 Y7 b7 {0 M
  59. sqldir=mysql_sql* D; d4 i, E& @
  60. Drivername=mysql0 g6 G  s- _3 y) D( m8 P$ P7 P
  61. Database=test  X3 Q9 a! c3 H9 z% k% ~( l+ p
  62. Hostname=127.0.0.1
    ) \' ^4 H# i  M8 O9 E
  63. User_name=testuser
    4 X" x/ m. @( G, `
  64. Password=my_password
    ) ^+ a6 {2 X! l) w, O# `* g$ F
  65. GetDriverFunc=getSQLDriverMYSQL
    1 Q) H$ G2 M  P/ `
  66. VendorLib=libmysql.dll
    ( y5 {. t2 D$ {  j8 Q
  67. LibraryName=dbexpmysql.dll& [* z* k; v5 y* V; @, I8 z
  68. Active=1
    " H9 k. }$ V- {0 n& m5 g* }3 l7 K
  69. ---example----
    ( @) r# d# y8 x  P# [+ u; `9 S
  70. - written 02.03.04 by pwk.linuxfan
    * E' b2 j! o- d/ ?5 U: H7 V1 f
  71. * N  \; B+ Q" s& s( x
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
5 @0 d7 Q8 J8 ~) a4 F( Q" l

  1. 1 ?- a% G; K( K4 G3 j
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ' w2 k+ [5 {% {2 O" D
  3. 7 K2 f# i5 `- V+ v
  4. # # #我们所需要# # # 7 |- y( c8 {6 H: f$ A0 H! R
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    / o* V9 b3 x" O$ f  z0 @% `. y
  6. 不会解释如何做到这一点-也有文件存在,为0 s$ a$ n( H( G( H& v
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用  M' \! n7 ~. T/ K8 X7 \5 K
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    - t4 P/ L% O4 f9 R2 k) O3 m
  9. 随着数据库。此外,你需要一个卖方图书馆安装于; a8 `# e+ `# i4 a2 F' s/ k# U
  10. 本地机器,这是我的MySQL安装。 3 J, U* e9 ]) b
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ! n# [6 a5 {8 X  f' A* ^) F" o( `: m5 f
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    6 y3 z/ l+ c: h8 n5 S
  13. 数据库。
    7 r7 f; I1 y( s# h- R& P9 j) t7 X
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    + H2 I+ O8 [9 M( ]8 q
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    3 O0 C2 u; @; @* j# ?- S+ m
  16. 在teamspeak论坛,如果你有兴趣。
    3 d! C/ U' K' f2 R2 _
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    / N+ i1 u2 g2 s
  18. Borland公司使用。这个司机只能界面与客户端库
    - E5 M8 P" b/ m2 x) p  x
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    " |0 D1 d: G$ {6 q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为6 u1 D6 z9 S+ B$ j# H  L
  21. " vendorlib " ,并解数据库连接。 3 X. `7 S/ z- \# I; y7 x
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 # I& |; F8 u; t- @2 r6 z3 m% S9 x
  23. - `3 k7 T# V# X& r
  24. # # #做好工作# # # + v+ p7 |. z# \. D/ s- d- X" N- \# Q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    . b3 I& A& q( S  G
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在# D4 @' _* ?+ T
  27. 结束:
    4 Z( K1 _6 y4 g" i! e0 |% m
  28. ---削减这里--- ) R5 \5 V% S/ z8 I$ c5 y. p2 u
  29. [ dbexpress ] / x0 c. w" r- c* F5 o
  30. sqldir = mysql_sql # W/ _' X/ Y0 v7 Q  B5 F
  31. drivername = MySQL中4 M& X" d! a! a- P2 h) g
  32. 数据库= your_database_name_here ! y0 I2 h0 x( b6 A7 @0 C
  33. 主机= the_pc_the_mysql - server_is_on 2 g( H) p7 d% U/ J% A2 G# h" g. I
  34. user_name = user_name_on_the_mysql服务器
    9 p  U4 v8 L1 v
  35. 密码= password_to_go_with_above_user_name
    8 D  t7 E2 q; A& I
  36. getdriverfunc = getsqldrivermysql 5 |" T, _2 ]" K0 s2 i
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 5 n! [* r5 I4 ^: N- S
  38. libraryname = path_to_libsqlmy_libary
    0 x, o, @( H% k4 ?
  39. 积极= 1
    5 J& N! O. x: v3 l1 i9 m
  40. ---削减这里--- $ V' ?0 K* T7 L5 n- e) {! p# K7 K/ c
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 6 L- C: ]0 n! ?$ r" X0 x  Q
  42. ---例如--- 7 Z6 k2 x. i1 i
  43. [ dbexpress ]
      S) _% f! _- k+ b( \3 v
  44. sqldir = mysql_sql
    & z9 j5 ~0 q) {. K" G
  45. drivername = MySQL中+ U% Q& @' _  [6 Z* f/ ^9 Q9 v
  46. 数据库=测试
    4 _# I' L( ~* k$ w8 N- c: i
  47. 主机=本地主机
    * A0 G3 @' _" \' G8 K
  48. user_name = testuser $ O. B; A+ P, I. h& \
  49. 密码= my_password
    ( {8 e1 y& y6 K7 G
  50. getdriverfunc = getsqldrivermysql ( w/ _; C& |* _  B1 u
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ( G8 G! @( L& t
  52. libraryname =. / libsqlmy.so
    3 J: W) R0 {/ Y, \+ ?7 D
  53. 积极= 1
      [9 h7 m7 h& Y. q5 k
  54. ---例如---
    ' B+ c0 V; o0 l0 L
  55. 0 T5 b6 }0 ~% o9 A
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    9 F+ g6 S% ~8 u1 I! x/ q. V
  57. ---例如---
    0 R  |6 v- F/ o9 D
  58. [ dbexpress ]
    % d- |1 l/ J1 L# q5 j
  59. sqldir = mysql_sql : G' p0 K0 v0 {- l
  60. drivername = MySQL中! J% \( O5 x+ b0 _8 v" C- R, ]! X
  61. 数据库=测试
    4 ?+ H( D4 ~4 k2 s/ D' C
  62. 主机= 127.0.0.1 3 D0 W  A2 Z7 z0 x3 U
  63. user_name = testuser
    , ]0 u, l/ N' A2 a
  64. 密码= my_password , |6 D3 {4 V% I
  65. getdriverfunc = getsqldrivermysql 9 @  U8 i$ _" ]( Q" c' F  A
  66. vendorlib = libmysql.dll在1 K: N3 z: G) w4 O8 L. U
  67. libraryname = dbexpmysql.dll ' m% T, x$ {1 v( p/ s& r
  68. 积极= 1
    : t" W* A% U* F- g! C) Y$ a/ c- h
  69. ---例如----
    3 @  w$ a1 W1 N% \& R, x
  70. -写在0 2.03.04由p wk.linuxfan
    ) C# F* ]8 [/ ?% `9 _; y( 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% K! a( P% C/ I& y: U
  C. J3 a, c/ \0 r) X
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-19 16:35 , Processed in 0.086734 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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