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

2295 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
4 b8 n% e1 o- W$ V& Z( o, ^! }
  1. . O3 ?7 ~4 c# x6 w1 L0 R
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######6 v4 p5 P& x( y1 P$ y
  3. 9 x+ g7 R7 j5 Q6 c) ?5 w% u
  4. ### What we need ###
    . \7 K: F$ i5 A$ p( a* X# Q  ?
  5. Naturally, we will need a MySQL server to store the data for us, this document
    3 f9 W* E6 V: `/ Q6 y  e  L6 R
  6. will not explain how this can be done - there are documents out there for the
    5 L6 n( {% E# F. z
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    : v; _# R" G* f6 K
  8. and a user account (username + password) that has the permissions to do stuff7 @- p5 h) x1 k# _- F8 d4 Z* K
  9. with the database. Additionally, you will need a vendor library installed on the
    $ ]. g$ J. h, G
  10. local machine, this came with my MySQL install.6 Y; [0 ]1 ?* Z1 z( {
  11. These instructions will not tell you how you might transfer your data from the% C$ `/ e) M3 H6 {' o- h+ J0 v) A9 c% d
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    7 ?# v% [% F# ?  y# F
  13. database.
    2 ]& }/ |! i; O5 a2 f; P: L
  14. Some users have reported ways to import a SQLite database into MySQL, but at7 B) @( N, L" x/ }$ S+ P' o
  15. the time of writing, there are still too many issues - check the current status
    ' S4 G! y/ z, z" [$ w: @4 z* m' B
  16. in the TeamSpeak forums if you are interested.
    % H6 d7 _8 m3 S
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from6 @) S6 Z. X$ k4 z  l+ m! L: `* ^$ D
  18. Borland was used. This driver can only interface with the client library that
    - l8 f3 }/ ]; m, Y" J
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    , d3 ?% N3 o$ N6 w' A
  20. client library - basically all you have to do is to use a 3.x client library as # T8 X) W* r7 P0 v2 ?/ g1 ^/ y' L
  21. "VendorLib" and a 4.x database to connect to.
    1 X* V5 [' d3 `% Q' g+ M
  22. If you need more info about dbExpress, you can contact Borland.6 S; y7 r* [3 |8 z, r' }
  23. - f, d8 u8 R1 Q$ F: t
  24. ### Doing the work ###6 B2 r, V- z. L1 L( m3 \; \
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all2 s# ~7 l  |% Y- @; H& Y- I6 L9 B
  26. the perquisites right, just open your server.ini file, and add this section at
    . d. R( Z+ Q  [4 n) P" F, |
  27. the end:
    # x' R! W' A2 s5 ~
  28. ---cut here---. {0 p8 l3 {# X- h+ r7 x
  29. [DBEXPRESS]# L1 T& `1 C/ `% m; F: H  S
  30. sqldir=mysql_sql
      B$ k% o5 ^, q& R# {6 q4 f0 {( P
  31. Drivername=mysql* r2 y6 W6 o2 r8 E0 @% l( e/ d
  32. Database=Your_Database_Name_Here
    / w6 `: |3 R" ~( U3 c
  33. Hostname=The_PC_the_MySQL-Server_is_on
    0 u# ^% H8 c: A! M9 B5 V5 ~
  34. User_name=User_name_on_the_MySQL-Server
    , M' u) @; Q3 ~% R2 v+ @
  35. Password=Password_to_go_with_above_user_name
    % F6 H% N( h5 e) h# [/ b$ A/ @
  36. GetDriverFunc=getSQLDriverMYSQL! {7 u1 k! ]6 g- C& T
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    / U: Z2 p7 a9 S, h9 T
  38. LibraryName=path_to_libsqlmy_libary
    5 M0 [( R9 t: T; ]- C3 n! m8 g
  39. Active=1
    : F& ^" v# s  A* Z) [4 X' n
  40. ---cut here---  d3 U1 }' n; n4 D; @7 @& Y# b. D* `
  41. In my environment (a linux box with a MySQL server running locally) I have:" e" V' V3 X( \' _% t8 z
  42. ---example---1 Q" b) W4 r/ U0 E9 O' x, y
  43. [DBEXPRESS]% ]! u2 A" V( J! ~' a6 \, z. O
  44. sqldir=mysql_sql6 I: z6 L( i- R! X/ C' F
  45. Drivername=mysql1 {: n- q: L6 x8 Y& l# v2 o
  46. Database=test; v. t* f# X( X* w2 J
  47. Hostname=localhost
    2 S( o% u. r( _! v
  48. User_name=testuser7 l4 |1 x/ k" p# a" t8 z
  49. Password=my_password5 {7 b  E) e- C7 u4 D3 w0 [) d. R
  50. GetDriverFunc=getSQLDriverMYSQL2 m) @! `' j$ C' g
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    - o( w, d9 R. h& D
  52. LibraryName=./libsqlmy.so
    $ g# ~7 e6 T, w8 I  x6 f2 j0 l' ~2 B
  53. Active=15 O1 p0 S" I. A
  54. ---example---
    1 B) [" Q1 H  {5 x; b( a& Z

  55. ; [4 Q) M2 v) i
  56. On a windows box, also running the MySQL server locally, it would be:& M$ Z. l% ]6 j# ?: C& L
  57. ---example---
      q5 F# y; l  f! K5 e6 D( w
  58. [DBEXPRESS]. ]. h3 \* z8 D4 k7 [5 V
  59. sqldir=mysql_sql8 A5 H' Y3 P; v# h3 M
  60. Drivername=mysql1 N* u/ l2 p1 s; l5 Y
  61. Database=test/ l1 }8 R% K0 ]  N' s0 k: ]
  62. Hostname=127.0.0.12 |5 x% d! H9 j8 A
  63. User_name=testuser( Y' i$ Z  q% `0 T. t3 Z( U
  64. Password=my_password0 H7 y+ @6 k. x/ |3 ?5 S4 v
  65. GetDriverFunc=getSQLDriverMYSQL
    # v# t& \! ?3 P( R( p' ^
  66. VendorLib=libmysql.dll
    ( D6 H% o2 v. }, g% W% c/ x4 l
  67. LibraryName=dbexpmysql.dll
    + X5 M6 V0 O- W! T
  68. Active=1" c7 ]6 A, Z7 j+ C2 r  s+ `" x4 K
  69. ---example----
    ' j& D) K0 u+ p8 b' A/ z
  70. - written 02.03.04 by pwk.linuxfan
    5 d4 C. i' a/ f7 ?" l9 S7 v

  71. # ?# m+ e( H/ Z  c2 W
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
' c& _$ W$ o2 F1 j( i  D

  1. $ m4 |' E( M8 I" @1 Y6 f. \9 ?% q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    & ^  X( [  r. s! |" U& N* W

  3. 8 r( R! b3 k. A8 P& Q* M3 X0 p
  4. # # #我们所需要# # # 1 [  j/ D$ G0 G
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    $ `2 O" ], [$ \+ \$ G6 y
  6. 不会解释如何做到这一点-也有文件存在,为
      r; d. |6 ?9 X* a
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用6 p0 ^" Y1 p+ ?9 j6 r/ b' m
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    2 c% k- a( C$ _3 }( y/ i- e
  9. 随着数据库。此外,你需要一个卖方图书馆安装于, V6 x) i4 B! f- z4 F5 ]& {) q
  10. 本地机器,这是我的MySQL安装。
    9 C3 V2 o8 Q/ E0 Q$ Z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从: R5 h) G1 k, O$ x
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 6 C' T" ?4 R& |8 X; P
  13. 数据库。 ) n1 K/ m- i; C
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在. z+ @  }* a& Z+ z% t4 q
  15. 编写本报告的时候,仍然有太多的问题-检查现状2 {$ N  g# y6 V: I6 Z2 P# B
  16. 在teamspeak论坛,如果你有兴趣。 5 _4 }0 I, X  B, I) m4 a! S
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 D+ t0 \$ y2 z: x. n3 Z' M1 @
  18. Borland公司使用。这个司机只能界面与客户端库
    & s$ D! T6 v3 V# T" \6 k0 [
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这* Y+ @- P4 q/ u7 m+ ]
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为6 l0 Z5 D5 e! K, M7 P# _/ T  y
  21. " vendorlib " ,并解数据库连接。 : V9 }: ~9 O- M- n% b
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。   J: h6 l" j, Y0 u7 u6 y; F/ C4 P

  23. ) P: t& @- A* D4 J
  24. # # #做好工作# # #
    , M: V& E  T# P
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ( G7 ^8 f' Q* Y( [: [6 _
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在3 e; e! {$ H6 C
  27. 结束: " `+ {0 ]3 M' d$ n8 G# Y& w: S
  28. ---削减这里---
    ( C& _7 g  H- W. @
  29. [ dbexpress ]
    + a$ O8 q, }, H8 u
  30. sqldir = mysql_sql
    ( |* w8 W' I0 a$ c
  31. drivername = MySQL中
    % t/ y( m( K# W+ D" Z2 W
  32. 数据库= your_database_name_here
    / C! J; Y! y# p) [# a& V" B2 W! ?
  33. 主机= the_pc_the_mysql - server_is_on
    - \* E8 N1 \% g5 K$ L+ c1 ]7 c
  34. user_name = user_name_on_the_mysql服务器
    1 v8 G( x2 y5 z; n
  35. 密码= password_to_go_with_above_user_name % X  u+ U7 k( D! \1 Z, _3 e
  36. getdriverfunc = getsqldrivermysql ' S2 r% W9 v; ~
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib * K  A0 d: C4 X) V& p: r1 |* b
  38. libraryname = path_to_libsqlmy_libary
    / S7 `5 |8 j; q
  39. 积极= 1
    0 x6 r( Y: ?( Q1 \5 w
  40. ---削减这里--- # M6 }, x' ^: E, P3 }4 ]; M
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 3 x! M! v7 M" c  B! @, M+ E
  42. ---例如---
    $ }, K2 g# Y5 j7 k8 x
  43. [ dbexpress ] ' N/ ]) g3 B/ \6 w. y. F  i- `/ ]' G
  44. sqldir = mysql_sql % v3 C' Q. F, o! o, z7 h
  45. drivername = MySQL中  O3 n$ k$ f: ^0 `
  46. 数据库=测试# `0 A2 G+ U. g' U6 N7 `
  47. 主机=本地主机
    2 P& `) l$ z- [' t$ ?. k% r
  48. user_name = testuser # Y2 Q- f" H4 u+ o9 \
  49. 密码= my_password " Z4 m! o0 }( D
  50. getdriverfunc = getsqldrivermysql
    ! g1 z2 D( O9 ~% g; k1 k* l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 & i5 m& ~  l  I
  52. libraryname =. / libsqlmy.so " O- T  ^) K& U0 K* g( V( \
  53. 积极= 1 $ Y* h* V4 |3 G: `4 ]% z4 [
  54. ---例如---
    ! |9 z0 D+ S" D0 _1 c: n: m$ z: G  E
  55. 7 \/ S  p; {9 {: j: g
  56. 对Windows中,也运行MySQL服务器本地的,那就是: - |% z4 [# b8 @6 o+ k* m/ W
  57. ---例如--- & h/ h+ `# ~2 y* z
  58. [ dbexpress ]
    $ B$ u+ ]$ V; Q; {/ t3 e4 H% Z
  59. sqldir = mysql_sql % i* M! l( x" `
  60. drivername = MySQL中
    3 F; C9 Z% Q6 @9 B1 S+ S- k6 @, ~
  61. 数据库=测试
    5 d) b6 w9 z2 b9 f# B2 I6 g
  62. 主机= 127.0.0.1
    & ~+ o. u( e' Z& a
  63. user_name = testuser
    7 q; r: |8 |8 W# K: e
  64. 密码= my_password
    ; {' F8 n# b9 ?3 k1 G! C" S
  65. getdriverfunc = getsqldrivermysql
    7 f, W! E0 p  Q5 E" }0 T% o" N
  66. vendorlib = libmysql.dll在  `0 ^4 F( c( E1 W% q
  67. libraryname = dbexpmysql.dll 6 J6 Q" Y* o, e* |$ c
  68. 积极= 1
    ( E: T  {: Y+ P
  69. ---例如----
    ) }9 H4 i7 p8 l! t. d, C
  70. -写在0 2.03.04由p wk.linuxfan
    / I5 y4 `% U' e' }
复制代码
发表于 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
1 _2 e0 f$ |/ j$ y$ Q; h
; i9 Y0 e! w* t/ u$ E; Y9 i6 Y0 Sbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-14 13:55 , Processed in 0.107452 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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