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

3058 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
3 D0 v$ X8 [' c0 v" {* r. |% y- f. |
  1. + ?: r' w$ M: K9 `  |
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######4 p; t# z0 J$ z8 S+ b% p$ Q
  3. 8 S  \/ Y  ^) t# u3 I* `
  4. ### What we need ###. @0 q8 V& t% x. L- w; U
  5. Naturally, we will need a MySQL server to store the data for us, this document
    * {5 E- r2 ~( L4 s6 Q- @" A4 `; ~
  6. will not explain how this can be done - there are documents out there for the + P  e4 d+ z% S( t
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    % ~; Q' h' e3 n* O# z
  8. and a user account (username + password) that has the permissions to do stuff
    ( l& |1 }; @7 t4 [( v* H
  9. with the database. Additionally, you will need a vendor library installed on the
    ) g+ `3 G+ F* _
  10. local machine, this came with my MySQL install.
    : b5 z# o) c8 h3 h6 C
  11. These instructions will not tell you how you might transfer your data from the( O) b. `9 w% S$ w3 S
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL2 y% c1 ^' v+ u. l' J7 V
  13. database.& d8 X/ o* U3 w  r0 c
  14. Some users have reported ways to import a SQLite database into MySQL, but at/ o7 X2 U) ~: [; H' x" ]4 p
  15. the time of writing, there are still too many issues - check the current status+ ~1 x; n7 u& q& O3 j
  16. in the TeamSpeak forums if you are interested.$ W2 B, @+ W' P2 i- U) i# D
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from5 p' |4 p2 _3 v+ P
  18. Borland was used. This driver can only interface with the client library that
    , i1 }, [0 E* h6 X% o3 Z0 L
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this. D7 g1 s% _( f0 V" @' a
  20. client library - basically all you have to do is to use a 3.x client library as
    : D! M$ s9 T0 [/ `& U  X
  21. "VendorLib" and a 4.x database to connect to.
    8 T4 q3 P. J  ~7 {: P, T
  22. If you need more info about dbExpress, you can contact Borland.( \- S. ?4 Z7 @  A  }; j
  23. - X! u7 t" g5 Y% p
  24. ### Doing the work ###, M! d6 e. x6 }2 k, I
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all3 d. M& [4 L* C# p5 D" [, k
  26. the perquisites right, just open your server.ini file, and add this section at
    ; l0 h+ a+ |" a5 V% k9 q
  27. the end:# _1 I* {) Y& N: o' F
  28. ---cut here---
    2 ?9 I$ x- Q; ]
  29. [DBEXPRESS]
    ) q( U5 D, T: b
  30. sqldir=mysql_sql
    9 a$ f8 A. V: r. p
  31. Drivername=mysql
    ! b0 K5 F; t% i7 K1 P7 T3 Z
  32. Database=Your_Database_Name_Here. o9 O/ o5 {. I: P9 S' T; T
  33. Hostname=The_PC_the_MySQL-Server_is_on
    # T- ^  @' D  {4 ^8 u9 [
  34. User_name=User_name_on_the_MySQL-Server
    1 ^: S8 E) f, p* [4 j& j
  35. Password=Password_to_go_with_above_user_name6 i/ D- p2 d5 d7 M2 A
  36. GetDriverFunc=getSQLDriverMYSQL
    3 c( j; r6 w- D: @
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib. k! l- ^0 b. y+ a" O& ~3 ?
  38. LibraryName=path_to_libsqlmy_libary
    / H/ P4 [+ A; G! K% Z7 j
  39. Active=11 R4 f; R+ P) x& \. I. ~: B
  40. ---cut here---" \2 j7 n, B9 d  k+ N( i
  41. In my environment (a linux box with a MySQL server running locally) I have:2 d  A  I9 h5 E% `  _. a% z/ @% G
  42. ---example---
    2 _! D1 W0 z! Q! J9 w; e3 [
  43. [DBEXPRESS]
    ( |% l8 F. x) D
  44. sqldir=mysql_sql+ ?  V& i, J5 F# m+ d, E% t2 p& g
  45. Drivername=mysql
    1 Y! m9 ^1 `* R8 ~. |6 f
  46. Database=test( L! T- i1 \. \3 c6 K
  47. Hostname=localhost) m9 j3 d6 F2 r* v6 i
  48. User_name=testuser* N+ I8 N) S4 q0 Z/ n: a8 q
  49. Password=my_password
    / P3 B8 z. H6 p
  50. GetDriverFunc=getSQLDriverMYSQL+ d, T  \- q1 x4 \7 D
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    - G5 m+ d. G6 w+ _% l0 i
  52. LibraryName=./libsqlmy.so( K7 J0 @" o0 L( w* w4 d
  53. Active=15 A; w2 m3 l  q7 l  W
  54. ---example---( ]' q2 [. K" ~$ |: Z
  55. & k1 Y' J! R9 }9 s
  56. On a windows box, also running the MySQL server locally, it would be:
    ; J7 N- v/ ?# A, d, m
  57. ---example---  ?; X5 x6 O, `. e
  58. [DBEXPRESS]
    6 `. `' y8 l3 p1 c; X
  59. sqldir=mysql_sql/ d/ K$ x8 z+ t
  60. Drivername=mysql4 d3 a" ]8 [) \) H" x
  61. Database=test
    6 o. K5 E$ s! R9 _
  62. Hostname=127.0.0.1% ?' \( A5 R' Y4 `+ k
  63. User_name=testuser0 r7 g( q, O) Z3 ~6 f
  64. Password=my_password
    ' |# C/ z" a! d
  65. GetDriverFunc=getSQLDriverMYSQL7 i/ s& l; n7 \; C+ C( y$ c
  66. VendorLib=libmysql.dll
    3 x& @7 N/ }  h- |# L! U
  67. LibraryName=dbexpmysql.dll: R  N" v/ u4 q
  68. Active=1* c% Q: g1 s3 ?5 p
  69. ---example----7 C9 l7 R6 Y) q" F& ]6 Z5 ^9 I
  70. - written 02.03.04 by pwk.linuxfan# v/ o; s+ C0 j. o) u* Z1 Y

  71. 3 q" \6 j  u6 }& k: N) B
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看. J3 W- t. z" c; X# T) {. S0 V
  1. ' L4 H% G+ C+ T- j9 K
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    + T. B+ w5 K, h& o* s
  3. ; R# F8 L+ p3 Q6 L/ t) J
  4. # # #我们所需要# # # 4 \2 ]( {& C) l( ?
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件& l( X3 P/ D- }0 R* b
  6. 不会解释如何做到这一点-也有文件存在,为' ]- G9 I0 F/ o. C/ I, S/ V+ o
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    , @; t0 e: }5 K1 ]
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    1 S8 Q3 R* ?# ]9 D
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    + H$ b4 X; a* v
  10. 本地机器,这是我的MySQL安装。 ! ?, E2 d  H0 n6 Q' Y! _% s
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    # s" j7 t" n8 t1 R0 L5 V# Y/ f  T
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    3 e5 y  `: T$ w& B7 ?8 b
  13. 数据库。 1 R* y/ D: S) `' U! L1 c* u, A
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ( Y' ]  X7 N: r: E! X2 ]
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    / r' l5 J4 a0 C: ~! V  _9 Q+ @' u
  16. 在teamspeak论坛,如果你有兴趣。 7 u  p6 I0 ?7 x8 g/ G+ M4 G1 M
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    : z& [0 q8 `+ M. {
  18. Borland公司使用。这个司机只能界面与客户端库5 ?, L, Y* D8 J/ L- l
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这) m1 D- ^2 k' [8 f$ J
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为2 W, d; e  [  n7 L3 n# w+ F5 _
  21. " vendorlib " ,并解数据库连接。
    + d: q  e) C! d  Z. w
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    $ K& i! }: {4 O' E4 m1 ^. ~. Q
  23. ( s* W, h2 R4 R# X; c# }
  24. # # #做好工作# # #
    4 U$ s: x, H0 X& l
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都- n1 V1 U4 [2 x" d* h
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    # W7 m/ e' e8 V0 b; J" M
  27. 结束: ' e5 k5 e. W2 ^& L* r. z
  28. ---削减这里--- 6 h" j2 a' F, n* J) @6 T4 l% V- r
  29. [ dbexpress ]   S. }  e4 o, O8 @  h
  30. sqldir = mysql_sql
    ) R0 `" O& o- X& C+ ^& f2 A
  31. drivername = MySQL中
    ( Z: ~6 N9 F! S: S+ a
  32. 数据库= your_database_name_here
    4 s. a/ N7 F: t* B/ m9 W
  33. 主机= the_pc_the_mysql - server_is_on 4 a2 L3 X2 ]5 v; _
  34. user_name = user_name_on_the_mysql服务器
    & M! `( K1 e1 f; f- q& ]3 F; O% S; l
  35. 密码= password_to_go_with_above_user_name
    - U7 E2 L6 Y' u$ T
  36. getdriverfunc = getsqldrivermysql
    3 Y( c3 h" ^' c% C& u+ k
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib # }/ a/ `7 T: x* c7 B2 Q6 Z
  38. libraryname = path_to_libsqlmy_libary
    , P: E6 L1 M4 q/ c
  39. 积极= 1 9 v8 I" P# |8 g  j% J: Z
  40. ---削减这里---
    : S9 [1 [* I6 `% b
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: - _5 W2 N7 }% h
  42. ---例如---
    % h' q4 d9 O6 B( K8 P
  43. [ dbexpress ]
    / |+ T; s! X1 f( M
  44. sqldir = mysql_sql
    5 y+ P/ p- A) W' k$ r
  45. drivername = MySQL中6 h( g; u3 N! o3 C7 \( {3 X' u
  46. 数据库=测试
    4 k- Q- N4 T& `$ [9 e9 H: Z
  47. 主机=本地主机- N3 x- b6 [; y" f
  48. user_name = testuser ; V1 d2 q; C0 z1 D' V- N/ S9 z
  49. 密码= my_password 9 O4 @, R+ i, _6 S! Y( B8 p
  50. getdriverfunc = getsqldrivermysql
    0 G$ S# M3 C6 x" i2 \9 G
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    + t! t  a3 ]! i3 I- r  B& k
  52. libraryname =. / libsqlmy.so
    $ K+ B% c6 t" s* ~( d
  53. 积极= 1 + Y; J1 K# T# U. H$ Q5 @
  54. ---例如--- & o+ \3 c) x# A6 R1 C; [

  55. ) P  I1 O- [. }) B1 T/ h
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    # D1 f- q; y4 L( f
  57. ---例如---
    2 @8 R# v7 F/ R6 k* `$ T
  58. [ dbexpress ]
    3 ~* b5 T% u% G: L: a4 j/ \  W
  59. sqldir = mysql_sql " N" D' X) l& L6 U
  60. drivername = MySQL中
    & S6 Z* F* r9 ^! V; q
  61. 数据库=测试% N: a6 u; W% c- I
  62. 主机= 127.0.0.1 3 v0 {  V) L6 A8 |* U# O
  63. user_name = testuser
    : S" T/ P7 Z2 I# Z# _2 G
  64. 密码= my_password
    . ?: C, m. U; ?# }. g
  65. getdriverfunc = getsqldrivermysql 8 v8 _+ N8 O7 L  Y4 R$ P! d
  66. vendorlib = libmysql.dll在
    8 N$ o: [- ?3 J0 O, ~! d7 L4 _. p
  67. libraryname = dbexpmysql.dll
    . ?+ z' O- T4 l/ P5 Y0 m, m
  68. 积极= 1 , n9 |. G6 x3 W
  69. ---例如----
    # @0 J* x7 u5 a" O& q( ]4 n7 I
  70. -写在0 2.03.04由p wk.linuxfan
    / }4 A& p) `3 |6 J9 R
复制代码
发表于 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
- o$ y: m  T4 Z( l, a# A, T1 B' a( U
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-22 20:45 , Processed in 0.092554 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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