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

2598 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
, Y1 T" y0 \4 R3 r0 a0 m' s) B) |, h4 m
  1. ( `$ z( f7 |" L: W8 N& L. ~6 ^1 p
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    " H0 R/ `2 W5 w1 t

  3. - M, j5 B+ ?; M" i6 n2 v
  4. ### What we need ###
    ! k' F4 ^! ?2 T2 Y/ ^8 {( F
  5. Naturally, we will need a MySQL server to store the data for us, this document 1 ?( t9 P/ V9 p+ o
  6. will not explain how this can be done - there are documents out there for the 3 x4 P2 ?. {/ |# P. \
  7. interested. The requirements include a (empty) database for TeamSpeak to use) X  t0 k; H7 i0 X4 b/ J# {
  8. and a user account (username + password) that has the permissions to do stuff
    . Y8 N4 h. D2 _' z
  9. with the database. Additionally, you will need a vendor library installed on the
    8 V* S# o7 V, Y9 j
  10. local machine, this came with my MySQL install.' N! h9 q4 \, P& c( n( ?$ G. X- }
  11. These instructions will not tell you how you might transfer your data from the
    ; s; {/ T- \- C( l  d4 P
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL! A" \3 e4 y' L9 a# M/ n
  13. database.; P5 o3 s* M" S, e, A
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    0 \# M* @7 {6 W5 b( x$ V
  15. the time of writing, there are still too many issues - check the current status
      ?! G3 S7 i* Q9 V3 a6 p& F
  16. in the TeamSpeak forums if you are interested.* [' g. k! M; @1 p3 @1 T
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    8 w$ F8 o. l, x$ b
  18. Borland was used. This driver can only interface with the client library that 0 u- f( X4 w  F, v* z9 n2 A3 k/ x
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    " {; T( [5 P0 D# P
  20. client library - basically all you have to do is to use a 3.x client library as 8 Q6 D+ R- f/ M7 F6 Q
  21. "VendorLib" and a 4.x database to connect to.$ g1 H$ e. f3 p9 s: x! }
  22. If you need more info about dbExpress, you can contact Borland.5 o6 Y) P0 L5 j3 _

  23. , Y. r4 j0 ~% L1 ^( i" p5 A0 D
  24. ### Doing the work ###0 b/ `8 h0 K7 O% s) X8 r
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all1 Q# P) S- q3 L# N$ q* h" k
  26. the perquisites right, just open your server.ini file, and add this section at
    / B& v, y. u) |$ N( b1 j" ]/ E
  27. the end:
    1 d/ E# o2 W: @2 t" q; P( X
  28. ---cut here---
    2 m' R% p% p1 |* x' a
  29. [DBEXPRESS], }# Z" p! T, ]( L
  30. sqldir=mysql_sql
    ! Y# ?9 J, c& ?
  31. Drivername=mysql" Q6 [, c4 S3 S. m! b. ]' H0 G! W, z
  32. Database=Your_Database_Name_Here+ k3 w7 d+ _5 N% T+ \$ N
  33. Hostname=The_PC_the_MySQL-Server_is_on
    " W: ?* ^% Z! M- ^
  34. User_name=User_name_on_the_MySQL-Server
    ' A# t0 H6 _0 j
  35. Password=Password_to_go_with_above_user_name
    - R1 g2 ?& m0 `# ^3 m. w
  36. GetDriverFunc=getSQLDriverMYSQL
    . Q, o7 _. Z4 I# u0 x1 N
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib- m( c1 N6 \1 ~5 c# |+ R; p
  38. LibraryName=path_to_libsqlmy_libary
    0 A3 Q* _9 r8 N$ @6 K
  39. Active=12 S5 j: g! W. q- h& u- P# }
  40. ---cut here---
    6 K) |2 W8 b( q( V0 U3 g8 ^7 x
  41. In my environment (a linux box with a MySQL server running locally) I have:
    & p2 ~" ~) e6 _: [! C0 C& z6 M% X6 }
  42. ---example---
    6 y6 Z& W% D% n" v
  43. [DBEXPRESS]
    8 Q/ g+ ^- ?) G3 o
  44. sqldir=mysql_sql
    , l' \1 t7 V, y& `. p8 C
  45. Drivername=mysql
    , v' V& x" k3 k
  46. Database=test
    ! ^. m( N3 u+ f7 V* U% f
  47. Hostname=localhost# S/ l% C: j9 W5 X& W6 E$ t
  48. User_name=testuser
    : x, W  J+ t# [+ B  C. u7 \) v
  49. Password=my_password% p. b, P) Z5 P5 W& r
  50. GetDriverFunc=getSQLDriverMYSQL, T8 l  U) P5 Z6 o+ c2 l
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    3 ]% |9 s& b9 A* H+ B
  52. LibraryName=./libsqlmy.so8 C5 D0 Y1 j& X
  53. Active=17 L/ T6 R5 w% m% G+ d# \  e
  54. ---example---8 t  ~; [) ]) N* [8 e% C9 P( q+ N  W" I

  55. " c7 K5 O' g$ K' W" b1 j- Y% i
  56. On a windows box, also running the MySQL server locally, it would be:- O' M: x) V0 U1 i' t9 t5 H. `
  57. ---example---
    * C6 @7 ~/ w- S- ?! u
  58. [DBEXPRESS]7 z+ m) M$ h5 J' b8 B
  59. sqldir=mysql_sql
    $ D2 ^. a$ U+ K' A% E
  60. Drivername=mysql. M4 `+ U  C6 M/ M/ S) z& U
  61. Database=test
    8 s% r, b; l6 O7 I0 T9 f
  62. Hostname=127.0.0.1) }$ w- R& E0 V' C2 F0 r0 F7 E
  63. User_name=testuser
    6 v+ z# |' ~9 E% v# O7 b- L# L
  64. Password=my_password
    : k: O) c+ }! c( X
  65. GetDriverFunc=getSQLDriverMYSQL/ N( p2 y* {0 r; L% N( t( `
  66. VendorLib=libmysql.dll
    - X& h8 X5 I* ?  l% b
  67. LibraryName=dbexpmysql.dll
    + w! Q0 _" T" b$ f# l8 Q
  68. Active=1- |: V* V, J' D! B
  69. ---example----% D, _6 V; K# N
  70. - written 02.03.04 by pwk.linuxfan
    * a- {5 _# C( d- |

  71. , b3 z# `0 G. }
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
! O; J, N$ s9 {3 q
  1. : l" W3 A5 f( B; v1 I
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 8 f/ V+ x" h- `+ `$ z* H
  3. 2 J' O: e" p/ ^3 P7 d
  4. # # #我们所需要# # #
    8 `6 M  N* u; J( D8 R  X! }+ ]: J/ o
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件) m% o  y4 N9 T2 X) r) |- N
  6. 不会解释如何做到这一点-也有文件存在,为5 I" f1 k) F, l
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    * J( r8 A$ t, T% e( t& ?
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    - \/ i  R; V# m/ ?  `; n
  9. 随着数据库。此外,你需要一个卖方图书馆安装于! K% ?. |, q1 G* h" S+ O7 D2 z
  10. 本地机器,这是我的MySQL安装。 % B3 k7 _9 p5 }) M% x: o( V
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从4 o, G) U& k: B% D0 `  K
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ! I+ m* g0 I$ V. o# ]# T
  13. 数据库。 + u" b4 P) h2 |. e7 V! [
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    " b9 h$ }+ k( h% z+ Z, B2 _
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ; U2 K* N+ t. k, Y4 k
  16. 在teamspeak论坛,如果你有兴趣。
    ' i4 w% r* A5 Z0 p' [
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ' ?2 ^+ i2 a; S& D) c6 M
  18. Borland公司使用。这个司机只能界面与客户端库' t) b% s% W6 l! s% i- w2 e
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    / l, q$ X8 I9 n- l, W4 I
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    $ W3 |# W5 _) ^, E
  21. " vendorlib " ,并解数据库连接。 / z7 X1 Z* A/ U
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 2 A2 T* m. L4 ]: b4 @. e

  23. ' v3 m& Z% w$ G, k- W2 m1 O
  24. # # #做好工作# # # : n! N! h! J/ P
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都6 s4 S+ {  J6 l! l! W" `/ \
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在/ J" _( V1 w' f
  27. 结束: ( `" j7 x& \5 C
  28. ---削减这里--- 2 n. \1 e( d0 t! M9 o
  29. [ dbexpress ] , D; w: ?; v, k* I
  30. sqldir = mysql_sql * Z) K9 y, m0 W: Q8 r! T- U
  31. drivername = MySQL中
    ; _4 z0 u/ c3 f# u* s
  32. 数据库= your_database_name_here + d+ s! P6 L) ]$ x! e8 A
  33. 主机= the_pc_the_mysql - server_is_on
    ( Z" `2 _8 U" d+ v/ C
  34. user_name = user_name_on_the_mysql服务器
    & q4 e. L$ n, ]2 v
  35. 密码= password_to_go_with_above_user_name
    : g9 S  Y. h  O
  36. getdriverfunc = getsqldrivermysql : E) M5 V8 f; |1 j. k9 v
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    8 ~, P1 A0 i  L' W0 A* l3 x
  38. libraryname = path_to_libsqlmy_libary
    * q: m* D0 e0 j% p0 Q) `* L
  39. 积极= 1 8 ?, s+ u8 q/ G( R
  40. ---削减这里--- 0 {& V+ ]3 k0 I" I" w, c, o
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ; ~/ ?8 {& o. y/ O
  42. ---例如--- 9 v; x/ C0 m3 t$ Z; C5 _. w8 S$ z
  43. [ dbexpress ]
    : K  ]3 o0 T% L, K, }
  44. sqldir = mysql_sql
    / \# `1 U/ k# ?" s( A1 u
  45. drivername = MySQL中9 ^5 A1 o* X. T+ K
  46. 数据库=测试/ t& i" S" M7 I% J; a
  47. 主机=本地主机6 T& M2 z$ |  F) P6 o- |  g
  48. user_name = testuser 9 b1 R& d8 K  A* s; Q
  49. 密码= my_password
    7 D% |4 V; W% `: e( x
  50. getdriverfunc = getsqldrivermysql
    2 N3 k3 b) C* V5 F: i
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 / u. c1 g( c# z1 L) J  |! K" V2 X
  52. libraryname =. / libsqlmy.so
    # N9 w6 T8 I5 _+ \7 B/ H
  53. 积极= 1
    ) I+ e/ v: Y$ |8 j" t& [4 L
  54. ---例如--- 7 T% U! T, F. _" Z1 F$ O) u
  55. 3 d% W. N4 \- w  t
  56. 对Windows中,也运行MySQL服务器本地的,那就是: - H6 t5 S: M: `$ j
  57. ---例如---
    " X' \. f: ?. F. h5 z8 L* R( `/ V
  58. [ dbexpress ] ( f1 V8 l: I% a& H$ l
  59. sqldir = mysql_sql : j1 E" y7 ^" s. Z$ q
  60. drivername = MySQL中
    2 _. v+ P! ?4 B2 x& `9 S6 L
  61. 数据库=测试5 Y9 o0 |! X0 B5 O  Z/ {3 C' ^! @* s
  62. 主机= 127.0.0.1 & X) v; K8 o5 w# m, r7 {
  63. user_name = testuser
    3 ]) \6 h( X3 P) q1 p! I4 l* g
  64. 密码= my_password 5 g# x; V. y( f1 g" n. \" ]; ^  Q, f! ~
  65. getdriverfunc = getsqldrivermysql 1 B8 E/ g' |5 _3 ?
  66. vendorlib = libmysql.dll在8 q) ]/ ~7 `& R1 y, Y& q5 R
  67. libraryname = dbexpmysql.dll
    8 P9 a. F  E- `8 C. A3 f, D4 G  B
  68. 积极= 1 * F/ U6 K; \! |. N
  69. ---例如----
    : t) W8 L# ]( A6 Y0 a7 q" ~7 s! K
  70. -写在0 2.03.04由p wk.linuxfan
    ; }7 ~& E* L0 l' B: k
复制代码
发表于 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
( E: Q- g9 e$ p0 F# W3 x  n$ G9 W1 ^0 s
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-9 14:28 , Processed in 0.104268 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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