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

3069 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
& c& ?, _8 ^" C5 L' Z6 o
' n6 S2 b8 |( N% d2 [2 ]

  1. * K3 @! N3 C  t2 V- W: t7 K
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######' N4 M8 n( x* a! w( S
  3. 6 K4 q6 H  {/ M, G/ W
  4. ### What we need ###
    % e3 Z1 [/ |$ l5 r; W& T, T' B
  5. Naturally, we will need a MySQL server to store the data for us, this document , N8 g( G6 @- y5 l3 c1 }
  6. will not explain how this can be done - there are documents out there for the
    5 \5 b  o* n6 r) N( ^: Y1 D! Q$ q5 z
  7. interested. The requirements include a (empty) database for TeamSpeak to use: s2 {% R* V8 J
  8. and a user account (username + password) that has the permissions to do stuff$ Y2 g$ I1 G; W+ I% f& L
  9. with the database. Additionally, you will need a vendor library installed on the) I1 ~/ E, B( t
  10. local machine, this came with my MySQL install.8 d$ g  L7 J2 k1 d. W
  11. These instructions will not tell you how you might transfer your data from the
    - `/ b# \3 ]8 p- v! F$ {  C2 ^
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL/ i$ C1 j. U% J- k
  13. database.5 Q" e2 E, d! \! p) K* t
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    0 t9 T. e; p1 \4 k( l# F3 t
  15. the time of writing, there are still too many issues - check the current status
    ' P! p& E4 L0 V8 @! s& G7 ?+ r
  16. in the TeamSpeak forums if you are interested.% R- k! A. p5 R. b# g2 U  s' j0 O
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    * `0 g! l% y( x( U- ^! O; s
  18. Borland was used. This driver can only interface with the client library that 6 K1 x) n2 S4 ?2 O
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this- }; N5 X& ?7 `) R/ _8 H- I
  20. client library - basically all you have to do is to use a 3.x client library as 4 P3 E7 @$ J. J; {7 i+ O
  21. "VendorLib" and a 4.x database to connect to.
    5 v" ]4 F) [( `
  22. If you need more info about dbExpress, you can contact Borland.
    4 p0 N; s4 U2 d! _+ c6 h

  23. % S* I2 e2 m; s5 W' k4 T$ V
  24. ### Doing the work ###
    - l* a* ]4 D$ A" G8 @
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    3 k$ g! G' Y4 I8 y6 {
  26. the perquisites right, just open your server.ini file, and add this section at
    ' N; [( K: l7 C' D# z$ {, }2 b: i/ m
  27. the end:
    3 t$ s9 y! c9 s
  28. ---cut here---5 p% Z! |, r3 ]
  29. [DBEXPRESS]: w, b' P  i3 V4 {1 P0 ~: K
  30. sqldir=mysql_sql
    ( c- k; d1 }) F/ Q" O6 M$ a
  31. Drivername=mysql& a$ B% `2 o9 u- G
  32. Database=Your_Database_Name_Here+ Z5 r4 [$ `6 q, g8 D7 n4 r/ \
  33. Hostname=The_PC_the_MySQL-Server_is_on; D# Z  R6 H7 _
  34. User_name=User_name_on_the_MySQL-Server
    ! h; V1 \; ?) h$ K" ^5 e. P) [
  35. Password=Password_to_go_with_above_user_name
    ) i3 r% d$ f, {5 P' [! ?: @
  36. GetDriverFunc=getSQLDriverMYSQL
    0 h1 e% v& h  `8 J
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    : H0 s& R6 s+ @2 q
  38. LibraryName=path_to_libsqlmy_libary$ s( }( t7 f& J: `' e1 b' E- y
  39. Active=1# H6 X! e/ p  S: t, ^: K
  40. ---cut here---
    & a! q/ k; R/ x; [
  41. In my environment (a linux box with a MySQL server running locally) I have:
    4 l  p0 U  Y7 u8 Q
  42. ---example---( S: W+ y6 X( I1 L  k" c+ G$ ]1 j
  43. [DBEXPRESS]$ _! }' U- p+ P2 F  Q) p, V
  44. sqldir=mysql_sql
    8 j% w, k8 C( w# S' N
  45. Drivername=mysql; t- `9 H( y; i! U* [+ r4 K
  46. Database=test
    & y( [) h6 x- v) e) Z
  47. Hostname=localhost
    3 G4 S# q! F  O2 c9 R
  48. User_name=testuser) D! J( T1 f. @
  49. Password=my_password
    1 Q$ D! g9 c9 M' {$ `' W0 N/ V
  50. GetDriverFunc=getSQLDriverMYSQL
    ' r* J* ]7 M1 @* y" r9 \$ u  E* J3 w
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0, \. _# F5 Y2 G
  52. LibraryName=./libsqlmy.so
    . v# L/ j1 |4 S) C* y; F* K
  53. Active=1
    ' ]- Z' U7 k3 x- ]; Z5 |5 P
  54. ---example---: v+ F  m! [6 r9 Y, I
  55. 8 y3 `) J1 }3 a+ r! H. e$ G
  56. On a windows box, also running the MySQL server locally, it would be:
    / v+ h, J, F8 ~7 E% |3 e: G2 ~$ ~
  57. ---example---( Y4 I1 O5 B4 \4 M( ~
  58. [DBEXPRESS]
    6 t" z- Y  Q9 M+ ]5 I; T4 h& g
  59. sqldir=mysql_sql0 x& T/ B8 i0 R1 r/ _
  60. Drivername=mysql: A' P! c& m( ~4 f: `% D# U
  61. Database=test
    / h; p: i9 a3 I. y9 Y; g
  62. Hostname=127.0.0.15 g- a7 Q" ^" C, Q" L& F7 \
  63. User_name=testuser
    5 f$ J. q7 w) P- _$ i- g* m3 t
  64. Password=my_password: ?- s1 x4 }6 f9 P& Z# j
  65. GetDriverFunc=getSQLDriverMYSQL
    3 A2 A* C! a7 g: V6 F# R4 H
  66. VendorLib=libmysql.dll' h8 I8 P' l, c$ `& g/ V$ z
  67. LibraryName=dbexpmysql.dll2 d. @5 \8 [! R1 r% z' ~' I
  68. Active=1
    + y( `0 U. [) W$ O8 ]% J$ F% `- R
  69. ---example----; G% ^! _% R3 x9 D* `, r5 ^+ f1 P
  70. - written 02.03.04 by pwk.linuxfan  L6 R9 ~) f5 t0 h% V5 z) G% J
  71. $ ]5 B1 _  Z. h: y6 r3 ~
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
7 [6 n) {$ K' \# I$ T; M
  1. 1 \% @; \4 j6 u  s' k; Q+ y3 |
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    / y4 u% I3 S' Z9 J
  3. 6 i+ p+ s7 V! M' d  w
  4. # # #我们所需要# # #
    + V6 p% I# L+ _
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件1 ?% h% a: s$ u/ u* |# j8 ~1 A& t
  6. 不会解释如何做到这一点-也有文件存在,为
    ( Y& h5 x) \* s, g: \+ C
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用% Z1 c+ F, z& q7 ]2 T
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    7 H$ d! E) ~- U) ]! Q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    % e/ h+ i8 ^  c
  10. 本地机器,这是我的MySQL安装。 : C' p, U! T7 R$ ^3 H, w
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    6 y5 M+ n! N6 H
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    / n4 R! H( _$ v, v$ H8 \
  13. 数据库。
    9 I" y! n% H$ C9 P
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在; Z4 P8 B6 n7 n( z! U* ]. h4 ~
  15. 编写本报告的时候,仍然有太多的问题-检查现状" A$ E# C: w- X  a
  16. 在teamspeak论坛,如果你有兴趣。
    ; r6 x$ I  Q2 I1 }
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    7 G& f" g! B; r8 W& l$ I
  18. Borland公司使用。这个司机只能界面与客户端库
    7 A* h8 l% w, H6 d1 B  t2 \4 t
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    / E' H2 f5 u  I6 U7 e
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为) }: Z+ F# t! c( V5 i5 K5 B! Q
  21. " vendorlib " ,并解数据库连接。
    + f8 f# `1 x7 u& q( j! R
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    - f: p" I- }8 q% C, t& I5 D4 A
  23.   ?$ `5 M6 l8 T2 w8 U$ i
  24. # # #做好工作# # # 1 @9 m+ F% |; f. T9 u+ t3 i/ {1 I
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都7 l! v; o! p( d; \; q+ q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在6 g) H8 h: C& C* o, e8 |- t4 g
  27. 结束:
    ( v* \- |6 F% K/ r% z1 w0 w
  28. ---削减这里---
    , z. d+ x( H' e( S
  29. [ dbexpress ]
    ) N1 v7 N0 `. c& F
  30. sqldir = mysql_sql # U/ {2 |" K3 C, [1 P
  31. drivername = MySQL中7 X. j* b& l3 Q8 p' i% u7 ^
  32. 数据库= your_database_name_here
    3 v) U/ C0 @5 ]6 X, H5 F) ?
  33. 主机= the_pc_the_mysql - server_is_on
    & B9 E- f' P; U- \
  34. user_name = user_name_on_the_mysql服务器  ]7 o  X' ~( s/ e1 i+ F
  35. 密码= password_to_go_with_above_user_name $ `2 L4 g9 R  D$ [
  36. getdriverfunc = getsqldrivermysql
    : {) w; A5 A3 N+ ?
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    " x' j1 l8 y2 l, l. f: h: n
  38. libraryname = path_to_libsqlmy_libary
    8 I7 o* C9 B& e% ?
  39. 积极= 1
    3 L3 a, Q9 N0 {2 Z/ w0 E' F
  40. ---削减这里---
    4 l# {  @& Z/ Z* N$ w
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: % b2 @) s, Z3 @: ]
  42. ---例如--- + [9 i+ _8 V/ W
  43. [ dbexpress ]
    4 P7 j; f+ w8 F0 Z4 h
  44. sqldir = mysql_sql 3 B8 J$ M( Y2 d" o# A/ ^1 \
  45. drivername = MySQL中
    : g( z( ~/ q+ l4 U
  46. 数据库=测试7 H+ A" [, c, k
  47. 主机=本地主机. u5 I; h8 j. L) \; g, @+ s
  48. user_name = testuser
    . H, h! i4 J, m( ^/ p% [6 }7 d8 g
  49. 密码= my_password $ J1 w3 q8 z( u& H" N3 x
  50. getdriverfunc = getsqldrivermysql 2 E: J5 z& D3 l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ) a" ~* R0 k) S  f9 V, r; \7 g
  52. libraryname =. / libsqlmy.so * ?2 V  {0 f8 `1 l0 w
  53. 积极= 1 ) q4 ~- Q$ J* E% V6 x5 u2 S
  54. ---例如--- 3 \1 m# t- z( V$ {- y

  55. 6 F0 J4 g& g' a& j/ ?
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    , |( \6 n- L! ?0 x: N8 J! D5 v
  57. ---例如---
    * g# f5 ~( C( t# O3 }7 ^; |
  58. [ dbexpress ]
    / j/ |% D' g) }% r
  59. sqldir = mysql_sql
    6 ^5 `4 f, U/ e8 |  q; m+ R" m
  60. drivername = MySQL中( a( e1 t4 y; ~; c8 k
  61. 数据库=测试
    / R2 q8 V4 {8 A# s7 B! r
  62. 主机= 127.0.0.1 + e) |9 B  I$ [) K
  63. user_name = testuser 5 t- U- [2 T9 j$ O, c
  64. 密码= my_password * b4 H5 w- J; _; _; y' D3 w+ K, A" b
  65. getdriverfunc = getsqldrivermysql
    5 Y6 N( O; Q0 u4 S
  66. vendorlib = libmysql.dll在
    2 q+ T9 |3 k5 R; d
  67. libraryname = dbexpmysql.dll 9 S) w! l0 P+ e4 i
  68. 积极= 1
    $ r+ k. ^, T5 ?2 L( X
  69. ---例如----   t- u8 P+ x0 }
  70. -写在0 2.03.04由p wk.linuxfan5 [+ b# o. b  B! ]! 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
$ D, _8 ?5 \( U# L9 P8 X4 b2 R/ |: M; i7 M+ l
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-25 18:58 , Processed in 0.093766 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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