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

3003 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ) G3 T% D) @$ ]: x" ^, o( V0 ~
: m/ g; K' G7 {( n/ W8 P1 A& V; V

  1. % ^+ @! h8 q1 l, e) }) r8 Q8 D
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######' s+ d4 |/ s$ s, C

  3. * J4 B* A: b; O6 w
  4. ### What we need ###
    8 @2 J4 R" |  |, d5 d9 ]7 @% e: i6 D
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ) {  `( v8 ]8 L1 i8 u
  6. will not explain how this can be done - there are documents out there for the
    & i" R6 H8 f( f4 W5 ~8 R" o1 E
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    5 q; @* j9 H5 `2 l- _3 W
  8. and a user account (username + password) that has the permissions to do stuff
    5 [3 s: X9 E# J8 V. L8 h
  9. with the database. Additionally, you will need a vendor library installed on the
    * m& ]4 C) L7 r  f+ c1 ]
  10. local machine, this came with my MySQL install.- [! r# C$ b9 K6 I! {
  11. These instructions will not tell you how you might transfer your data from the" g; f) m" X/ R& E
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    1 k& w* D$ T8 q
  13. database.2 U! E" q5 m/ d- n
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    $ L1 K$ ~/ u5 K. t5 ^* z4 ]
  15. the time of writing, there are still too many issues - check the current status
    4 j) t* |" `- f. Y7 ?* s" |
  16. in the TeamSpeak forums if you are interested.0 w: c- B6 p; }9 i" u- ]& U0 J
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from8 G6 u( Z  s  I3 S7 m' b4 R
  18. Borland was used. This driver can only interface with the client library that
    3 \5 f$ @2 k' i9 m
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    1 `4 A& S/ ^8 V4 i
  20. client library - basically all you have to do is to use a 3.x client library as $ x  z1 @6 r; K& m" _! P
  21. "VendorLib" and a 4.x database to connect to.+ m  r  G! M2 p( y& y
  22. If you need more info about dbExpress, you can contact Borland.
    2 t3 g# z' L% m4 m( i
  23. 9 G' `% t# c  ~
  24. ### Doing the work ###, R5 i$ ?$ J9 S
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    0 Z& w( `, u$ R
  26. the perquisites right, just open your server.ini file, and add this section at
    7 f# a6 ^9 L8 J0 _% U- @: `
  27. the end:" n5 }, i# }) F- h" V: }
  28. ---cut here---/ F( m7 H2 W+ V! d% S7 v$ ^! ~
  29. [DBEXPRESS]
    , S- \9 k) g* }8 |+ K: T
  30. sqldir=mysql_sql7 ?7 D2 C9 z6 ~2 E
  31. Drivername=mysql
    9 {! B& K4 h9 r' ]$ v: _. r
  32. Database=Your_Database_Name_Here* w2 [; M. ^: r2 \0 j
  33. Hostname=The_PC_the_MySQL-Server_is_on
    # U% q2 ]" j9 ]4 F
  34. User_name=User_name_on_the_MySQL-Server
    ; ^5 ?9 h* C, i% d; P3 F4 d
  35. Password=Password_to_go_with_above_user_name
    " h8 B6 O* R7 S
  36. GetDriverFunc=getSQLDriverMYSQL
    2 r9 L! i1 W$ \( U1 b
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    + j2 _- x" F2 w" x& M  [  K- q- C
  38. LibraryName=path_to_libsqlmy_libary6 B  W/ a3 }! P9 ^) x: ~
  39. Active=1
    7 J2 ]  w$ d! o" a8 j
  40. ---cut here---6 ?  @- v- L5 |0 Z" @3 ]
  41. In my environment (a linux box with a MySQL server running locally) I have:& w% [! n8 x/ H; v9 {" D$ b
  42. ---example---
    2 }% g  f8 A2 c9 l& }
  43. [DBEXPRESS]
    3 s$ r2 c( Z8 m' F# x
  44. sqldir=mysql_sql
    * z* h! |, P2 X6 ?; P8 S4 X
  45. Drivername=mysql5 p" s/ b4 @7 Y' q# {4 \5 p
  46. Database=test2 Z" \8 ~: C- h/ q& b7 a
  47. Hostname=localhost- i' H5 W4 @# W* h, ^  z
  48. User_name=testuser
    : \% ^5 o9 o  v7 C6 D2 c. @6 i
  49. Password=my_password5 S. ?  x! x2 r5 d8 I
  50. GetDriverFunc=getSQLDriverMYSQL
    4 d4 D4 E1 a% H+ O1 A4 T3 B' d
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    - m. Q- Z# ~3 `3 |9 {
  52. LibraryName=./libsqlmy.so
    ! O$ ]9 L' c% B' K
  53. Active=1% N) [4 u* G( F
  54. ---example---8 G% ?, ~. F) u4 d
  55. " D  Y7 y- t# o# E* P; J
  56. On a windows box, also running the MySQL server locally, it would be:
    $ n1 h1 J* B* @- Z" S
  57. ---example---
    + T2 g" z  Y/ I' h0 V
  58. [DBEXPRESS]5 {, A8 y) i) b# w, W
  59. sqldir=mysql_sql0 f- m7 U) v3 Z5 z
  60. Drivername=mysql% l6 H. T( ?* D1 U6 w! p* b
  61. Database=test1 |6 x; F  e6 c1 g! E
  62. Hostname=127.0.0.1
    & q+ T2 a" N' T  y4 D8 X0 }0 l) S$ a
  63. User_name=testuser5 x5 V' {/ K. y" K, c3 D
  64. Password=my_password: |& u. Z0 n2 W( I% M7 @' e* X9 O3 {
  65. GetDriverFunc=getSQLDriverMYSQL9 e3 I7 E/ Y; Z8 I
  66. VendorLib=libmysql.dll6 |' \' x9 Y7 r& d" N
  67. LibraryName=dbexpmysql.dll
    * @: d' p+ e$ d" \$ h
  68. Active=12 Q! S, z% ~$ ~
  69. ---example----8 m4 ^1 k  W0 c$ D& n
  70. - written 02.03.04 by pwk.linuxfan
    2 |) Q) U( K. C( Y3 y2 s8 C( N
  71. ' L% V. A% F2 H
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看+ x5 F$ m* w* V8 _0 p: I' [

  1. # t5 t2 g# h  H. J& P4 b
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    8 c% w5 z1 M! k+ c, {

  3. 1 Z' I/ b0 h4 a8 ?
  4. # # #我们所需要# # # 9 ^" d- P# r" P. m
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件2 A" E9 O* `7 w( Z0 ^& D( q9 a+ ~
  6. 不会解释如何做到这一点-也有文件存在,为# y/ O* K( V6 \. z9 y5 k: k. w
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    6 `1 R9 [) s, o3 N! v6 H: R$ u
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    % t7 b4 v8 M3 A
  9. 随着数据库。此外,你需要一个卖方图书馆安装于  j+ |2 ^0 c* Y8 ~9 o/ E+ @9 ?' k- ?
  10. 本地机器,这是我的MySQL安装。
    ! X' \1 }  F! c1 C% }, X
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    . Q3 ]" Y: d' X2 m- M$ Q/ o
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL - Y  r+ O5 g+ O& b6 ^2 E
  13. 数据库。
    4 z# f, @( d/ o* K5 k- c8 u4 r5 k
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在$ A8 T6 G! V8 n; O& U/ o6 X: {! m
  15. 编写本报告的时候,仍然有太多的问题-检查现状& N& n1 q9 F% }; k3 O( J9 P9 W; x1 S
  16. 在teamspeak论坛,如果你有兴趣。 2 R0 K7 l" z- i) d+ y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    5 Z( Q6 ^' i4 x% [' g7 h
  18. Borland公司使用。这个司机只能界面与客户端库. T" |( J, O$ F
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这8 q0 b4 I- r( e+ `. K& v) f
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    0 x6 @8 ?. i' s! x
  21. " vendorlib " ,并解数据库连接。
    $ e/ Q: f% T/ g
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 * v: Q+ g2 Y/ n6 s) L3 v3 H9 P

  23. 6 w" i/ s) e! r
  24. # # #做好工作# # # : ]( a9 Y- K0 q0 I/ b& u
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都0 |7 u' ~9 a- k+ v
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在/ v& T+ |3 d7 Y# z$ F8 m
  27. 结束: . C  O. d& Y9 [3 i$ b% p- i
  28. ---削减这里--- * N1 V: F6 `" p9 }
  29. [ dbexpress ] 3 V2 x& r: ~2 z; X& F) [2 W
  30. sqldir = mysql_sql . ]& O% ]; D0 y% Q! j
  31. drivername = MySQL中
    ' P* J0 G9 P- @  f  s' g9 s
  32. 数据库= your_database_name_here 9 _, _  n9 S! p5 }1 N" h8 F4 u
  33. 主机= the_pc_the_mysql - server_is_on * `/ e, N9 U1 X* E# R" K  k
  34. user_name = user_name_on_the_mysql服务器8 }+ Q% C5 u% @$ d$ U
  35. 密码= password_to_go_with_above_user_name
    ! H8 r0 a4 c5 K
  36. getdriverfunc = getsqldrivermysql , b- I& m% G8 i. F) p% s
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 1 X$ ~3 L) z. I6 h3 A
  38. libraryname = path_to_libsqlmy_libary 2 d$ U" e: m4 {2 h- l; q  F! O
  39. 积极= 1
    - A+ N! G" V. u$ n4 Y, L/ h! T
  40. ---削减这里--- " B1 F; ^( C& x8 q" J: k
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ! f) n' a; O" ], I  r$ ~
  42. ---例如---
    4 Q9 l3 |7 h0 a+ O4 Q+ z0 O( X) t
  43. [ dbexpress ]
    2 G; l8 w2 J5 Z6 ~; i! B6 ]
  44. sqldir = mysql_sql 9 R' Z7 l! X; J" j: j: e4 |$ ^
  45. drivername = MySQL中
    4 I+ F# u7 I  Q! l! Y/ s$ S
  46. 数据库=测试3 J* z0 `( E( m
  47. 主机=本地主机
    - X; I( H( r" [
  48. user_name = testuser
    ! E- }! j* k4 S+ V" M; ]3 A4 ^- c  D
  49. 密码= my_password 7 m. h$ _1 u3 N3 m# {& j
  50. getdriverfunc = getsqldrivermysql " }; p( Y4 V6 e$ K
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 7 q; ]* _5 ?% j; y
  52. libraryname =. / libsqlmy.so
      l  Q0 v7 o3 D+ c' g
  53. 积极= 1
    1 x& @1 Z5 |. a, [3 w
  54. ---例如--- 2 h5 p. \2 E% ~" z1 j( p* W
  55. - c0 d3 e! C( D) a, g
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    9 P7 g" i# q2 a, I' g  E
  57. ---例如--- 9 U: T0 C  u. x& K  x
  58. [ dbexpress ]
    5 t$ R9 V0 Z3 v* K! l" F/ X) ~
  59. sqldir = mysql_sql ; q3 Y3 }8 Q7 [! ?- \/ a" L
  60. drivername = MySQL中
    ) l1 R0 |- Z- F% {0 ^% \9 s
  61. 数据库=测试+ e8 ?1 Y6 S7 f1 b$ b( Y1 [
  62. 主机= 127.0.0.1 ! H) o- S- Y3 y: K
  63. user_name = testuser
    : p. S2 O& Y; R2 s" c, @
  64. 密码= my_password
    ' q) T. w6 ^4 H8 ]+ ~
  65. getdriverfunc = getsqldrivermysql - S3 [* g0 F/ ~/ D8 [
  66. vendorlib = libmysql.dll在
    1 [) d0 F0 j' O" t* V% `  g- j, K' D
  67. libraryname = dbexpmysql.dll
    7 n! P- g1 p9 }) N8 L6 r
  68. 积极= 1 + h' l" V/ M* T
  69. ---例如----
    3 l  f  P+ Q4 K. p
  70. -写在0 2.03.04由p wk.linuxfan, N/ J+ A3 Q3 C
复制代码
发表于 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
# l* l0 a, W' x) A: c+ j! O7 ~' R
/ |/ L9 n$ x$ @6 m" Lbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-9 22:13 , Processed in 0.104583 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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