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

3297 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
3 O, c* {* k- f% g0 F( L- a5 T& H7 A
  1. 2 R! ^1 g& B) [$ E# D
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######6 W1 Z2 \  h% Q7 o
  3. / A4 ?' C, y% G$ ]3 N/ U( s
  4. ### What we need ###4 `; u. S  F% o  x+ k: d" r. b
  5. Naturally, we will need a MySQL server to store the data for us, this document ( L; {, ?% q( h3 l) r
  6. will not explain how this can be done - there are documents out there for the ) o  s  B# P9 U( N
  7. interested. The requirements include a (empty) database for TeamSpeak to use' @9 p9 B. ?, Q) Z: ]# g7 S* X. N1 ~
  8. and a user account (username + password) that has the permissions to do stuff% N8 q% _" E9 x% N
  9. with the database. Additionally, you will need a vendor library installed on the- }( Y- t4 o5 s0 E( ^% ?) L4 W
  10. local machine, this came with my MySQL install.
    9 M0 h! J- A2 C# X5 z( u* M
  11. These instructions will not tell you how you might transfer your data from the9 ]( u5 e% V4 O' I% _
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL; i3 l/ z0 e7 R: q  Q% |
  13. database.# l) m/ g$ s. \
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ; A* ]* ^' o2 j: E
  15. the time of writing, there are still too many issues - check the current status
    : q& y) S3 g* g. F- I. o
  16. in the TeamSpeak forums if you are interested.
    ' L* y2 Y- S5 L9 x+ B- Q" F" a8 \
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from5 k6 }$ I% |4 o3 N* e
  18. Borland was used. This driver can only interface with the client library that # D  ^2 j8 r& L1 t' X
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    & N8 n% x* n5 a
  20. client library - basically all you have to do is to use a 3.x client library as
    0 k8 i) x. J- U4 u
  21. "VendorLib" and a 4.x database to connect to.
    8 z( ~1 _/ j: \: n
  22. If you need more info about dbExpress, you can contact Borland.. Y% ~( s- z8 F1 N' m5 B6 k
  23. 4 V; w+ ^/ f$ H4 ~2 i
  24. ### Doing the work ###) g( u4 Y5 w, {/ M7 R1 y2 d
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all& g$ B8 E  T* J9 ]/ s" ^
  26. the perquisites right, just open your server.ini file, and add this section at7 W2 h8 L& U6 f4 _
  27. the end:
    % Z+ I3 T2 E; {- a4 M
  28. ---cut here---
    8 B" ~. f( b8 o* M+ q& p
  29. [DBEXPRESS]$ {' p! T0 K' o8 Z
  30. sqldir=mysql_sql
    ! T6 L# F" B* O/ {& S
  31. Drivername=mysql
    7 _/ `0 O) e" o
  32. Database=Your_Database_Name_Here$ K5 ?( J" J& W( O# I  D& N; Z+ B
  33. Hostname=The_PC_the_MySQL-Server_is_on
    2 }  ?& u6 g; u& q2 [2 t
  34. User_name=User_name_on_the_MySQL-Server
    0 n9 Y3 |' k$ }+ W# t5 f6 N. L6 s
  35. Password=Password_to_go_with_above_user_name8 ^# a( p: J: s( d
  36. GetDriverFunc=getSQLDriverMYSQL
    ; |# M1 B7 Q4 _, h+ p" q
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    1 \* i0 u: g5 f5 R
  38. LibraryName=path_to_libsqlmy_libary
    * e: B) e2 |1 l
  39. Active=1
    - q4 c3 m3 P, o: E
  40. ---cut here---
    % [1 O& L) X2 z' f) x
  41. In my environment (a linux box with a MySQL server running locally) I have:
    % R  \. w2 t4 r$ t# b1 U/ m( o; A( `
  42. ---example---
    , [2 }$ M( ?: r- D
  43. [DBEXPRESS]( m" h/ s! K5 q* N8 o8 u& u
  44. sqldir=mysql_sql6 v% V5 B0 r' E0 w" J% y* d
  45. Drivername=mysql! u! g& Q7 z1 C, \* c1 r  b
  46. Database=test2 f  e3 {" J& j  w
  47. Hostname=localhost
    ; S. o$ X) ?5 {1 M
  48. User_name=testuser* i5 d* L, J( S$ s4 U
  49. Password=my_password! L5 O, C! T' z! U; c
  50. GetDriverFunc=getSQLDriverMYSQL
    1 ~" }/ ]) P; N5 I$ s% r) S2 h
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    " F0 O. U7 n6 ]
  52. LibraryName=./libsqlmy.so
    & s4 U; D' M$ ]
  53. Active=1# ]2 u- a  N7 o4 J3 b! h6 A7 ~8 V: `
  54. ---example---0 ~, B/ g: o; C9 z
  55.   k& B) b1 w. }8 F0 |% L' _
  56. On a windows box, also running the MySQL server locally, it would be:
      _) e$ m& f- m1 D
  57. ---example---7 F; v) P) Y/ w; n! c' E& l  L
  58. [DBEXPRESS]# R9 y" O$ j! U2 V7 j
  59. sqldir=mysql_sql
    - Y$ {. R2 \; t, x+ X. X
  60. Drivername=mysql: S2 e3 V) n: {  C  l
  61. Database=test0 t' }9 \# m" r& T- |% e: u9 Q+ ~
  62. Hostname=127.0.0.1
    $ ?  f; z$ S+ k6 i$ g3 _, Z, |) e
  63. User_name=testuser( V2 D# h; U2 j6 {8 p# h1 C* c6 n
  64. Password=my_password
    / u% h& E, A* ^: W6 b% O0 G
  65. GetDriverFunc=getSQLDriverMYSQL4 A5 S# ?  C$ a, ~3 T4 {
  66. VendorLib=libmysql.dll* h" J, U& {4 x' s5 e( N
  67. LibraryName=dbexpmysql.dll
    * `' K8 f  K; o  H5 p* F
  68. Active=1
    3 Z2 ~5 G6 P5 l0 p" A
  69. ---example----
    " V" P2 q5 |, X1 `. L( l
  70. - written 02.03.04 by pwk.linuxfan
    0 E: G- Z! M2 r( j  d
  71. % ], Y  k  e9 ^3 |" K! m6 K
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看( T: S, P1 Q4 w

  1. 0 s' l# D2 I, n) t! ?* \7 S. ~8 t  ~
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### . \6 n2 U) x: {) ?# B& O5 x3 k
  3. & c4 {+ K+ N* _( ?* m
  4. # # #我们所需要# # # # x$ D7 b  y+ _4 c
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件4 I) ?. W7 k* w  c: l, _  H6 B4 Y" Z( g
  6. 不会解释如何做到这一点-也有文件存在,为
    5 H7 W4 O4 C5 m3 h  `! Z9 n) y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用1 t  X% J  e6 V- ^$ O+ F
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ( A8 R* ]" K$ w6 @5 {2 J, L+ l
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ! {: K! U) c8 E) l% a- E
  10. 本地机器,这是我的MySQL安装。 2 L: v+ o1 M2 {' G5 Q  @9 y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    7 v1 ~4 {5 ^2 x
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ' L; j- e1 v/ B' j4 n
  13. 数据库。 ; b% U6 m/ ^4 w: ?4 a6 X1 @7 r
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    9 p) U9 v3 Z3 F
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    3 D. p! f, c# F) v  b& s, S' B, k! ~
  16. 在teamspeak论坛,如果你有兴趣。 6 x# \3 J" @- x! k8 Z7 T! ^  t* r
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 A1 l6 X* `! Y& q! z+ _
  18. Borland公司使用。这个司机只能界面与客户端库
    * k* {, }) Y# `# m" c. m
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这" l% b7 Z7 d3 A3 S3 Q: E. ^
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为' [+ ~+ R+ h# w$ z6 I& o
  21. " vendorlib " ,并解数据库连接。 / a* X& N* T* Y# a, r* o  Y; P8 w- o
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 2 z9 J! a& `- ~& B  E" l
  23. 7 l  Y1 M. z* c" n# Y
  24. # # #做好工作# # # ; {6 f7 t1 b. J' m, v5 o- p
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    5 x! k5 W+ o; {: F% S: n1 H
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在# ]$ a. |4 p$ A) \
  27. 结束: + t1 Z6 X- u+ D* F' J/ `+ J+ F9 T+ u
  28. ---削减这里--- % O5 I) {! c9 l  O
  29. [ dbexpress ] 1 B9 A( L8 n: P
  30. sqldir = mysql_sql 5 |; D+ o4 [/ {8 i
  31. drivername = MySQL中
    ) q$ f8 y" Z/ Z7 V3 u
  32. 数据库= your_database_name_here
    4 O9 M! F9 p) [; s  O, q9 ]
  33. 主机= the_pc_the_mysql - server_is_on
    / q9 e9 H+ ^/ J6 T; T6 E. u8 b/ I
  34. user_name = user_name_on_the_mysql服务器
    * z7 ^4 f0 o0 d
  35. 密码= password_to_go_with_above_user_name
    # J: _/ q6 u! P# B4 j$ U; P. {
  36. getdriverfunc = getsqldrivermysql ' E4 L! ]. O6 O) M& ?/ v& w
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ; T: g7 H3 C+ `- z% Y& G$ P6 n
  38. libraryname = path_to_libsqlmy_libary * h. |4 c5 }1 p7 w" k+ T% C( l
  39. 积极= 1
    ! B" ]; ?3 X7 [9 ~9 b
  40. ---削减这里--- / C- Q; v! `5 D' v9 q5 b8 J# Q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    - T  B% H  ]% X& n. C
  42. ---例如---
    & h. a$ I7 J: I4 S
  43. [ dbexpress ]
    7 b. ]* d3 o7 e' G
  44. sqldir = mysql_sql
    ( L/ W+ s' ]7 @% Y" O9 k7 b, E0 |
  45. drivername = MySQL中
    3 P& k6 ^, V6 ?% o' q+ w
  46. 数据库=测试
    1 z- E' n  x. o' E
  47. 主机=本地主机
    3 Y8 i, Q7 _3 |; r; _7 V7 }- }
  48. user_name = testuser 7 C, f0 k- K0 J/ ^
  49. 密码= my_password # R8 B- s8 A7 _% a1 q" r3 h: ]
  50. getdriverfunc = getsqldrivermysql
    4 ?/ o9 U$ f/ P0 W/ `, R, X9 r
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 3 {1 v+ C: e% d, s7 k& A
  52. libraryname =. / libsqlmy.so
    6 y* ~: f8 W  q) n5 B
  53. 积极= 1
    5 Z7 p- N5 o4 B
  54. ---例如---
    , c: V2 I: T" H: @$ e
  55. $ B' q+ g* \2 v0 |$ R$ b
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    / Q' B( e- A+ L
  57. ---例如---
    $ A/ ^  e* C  C5 |
  58. [ dbexpress ]
    6 e* [! I  O. g# ~8 b+ y0 N
  59. sqldir = mysql_sql
    6 T( @0 p: K/ S; P$ W
  60. drivername = MySQL中$ a# X2 q4 p8 C
  61. 数据库=测试! H( ~/ c  s6 A4 U% T  t  B
  62. 主机= 127.0.0.1
    / f' D  j, A( q  u8 p  f  `+ [
  63. user_name = testuser . u( c( e0 [* P% ?8 T) O; m
  64. 密码= my_password
    ) j7 }9 v% i2 E2 X) o
  65. getdriverfunc = getsqldrivermysql . J  o7 F  S0 R. ]
  66. vendorlib = libmysql.dll在
    ) b  \% q# Q2 r; U' d$ d2 F, W2 K; u
  67. libraryname = dbexpmysql.dll
    $ s$ {2 G3 Y% y  a6 M
  68. 积极= 1
    ' O0 i& \% `" K8 A& A5 r$ G# M
  69. ---例如----
    ' e3 k- I3 ~! N' F+ x$ o! v/ F
  70. -写在0 2.03.04由p wk.linuxfan' j. Y" o# [$ T  }! [/ Z: X
复制代码
发表于 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 words5 W3 u9 e; Y1 r( K
  {, b3 W/ O. _
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-6 18:13 , Processed in 0.103611 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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