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

2948 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
! i0 y$ \) H+ Q$ [9 r
5 J' \5 O6 u1 G( S) D4 N

  1. 7 z' N5 t0 w$ c! p- [
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######2 w5 g: U2 A8 i9 W

  3. & n1 _' u# Q. {8 R8 L; Z  O
  4. ### What we need ###
    * y4 O7 ?7 j: K/ e% V
  5. Naturally, we will need a MySQL server to store the data for us, this document 7 ]% ]) x& L4 p& R
  6. will not explain how this can be done - there are documents out there for the
    % V+ v* N0 b9 q: A) r
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    * e& ]3 v  H  [) f' b
  8. and a user account (username + password) that has the permissions to do stuff
    $ [- k* b1 z$ z5 Y) S: T: `  F
  9. with the database. Additionally, you will need a vendor library installed on the# R- a! Y. t$ k* C; x# \9 N. `5 M
  10. local machine, this came with my MySQL install.
    4 L- [6 k2 r: ]/ ~: n3 O- n
  11. These instructions will not tell you how you might transfer your data from the
    $ q  e3 q' r5 P7 l3 h3 k3 |/ J
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ! a/ O: [% X" K7 `
  13. database.+ `# P1 j! m7 @: {# H
  14. Some users have reported ways to import a SQLite database into MySQL, but at, F2 G8 m# O: H$ O4 M0 Q1 ]5 b: i
  15. the time of writing, there are still too many issues - check the current status
    / M% R, }  H; v
  16. in the TeamSpeak forums if you are interested.
    6 J, E+ t* n6 V! L6 J0 \* k8 y
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from3 I4 O: u% S% W6 N
  18. Borland was used. This driver can only interface with the client library that 1 F: d1 o( M" Z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this9 @6 n4 Q$ O, F+ T5 m+ I+ X
  20. client library - basically all you have to do is to use a 3.x client library as
    ' x( r. k2 J) `/ \
  21. "VendorLib" and a 4.x database to connect to.
    5 H  {4 j! L% \% L! T) t8 t
  22. If you need more info about dbExpress, you can contact Borland." c+ x- \+ b7 h4 w! o/ h/ h

  23. 6 I! T) n+ ]# m! c
  24. ### Doing the work #### m3 }- [) G3 D3 C, c4 `
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all2 h, r4 m" O( d0 m; M
  26. the perquisites right, just open your server.ini file, and add this section at, O8 u+ h- p! S
  27. the end:: Y4 e* @! x+ w" u0 h3 r
  28. ---cut here---  G. D& j, Q0 o4 c
  29. [DBEXPRESS]- i7 p  ?) v2 ]$ W
  30. sqldir=mysql_sql! H1 B$ W& s# e2 g: c/ t# X
  31. Drivername=mysql
    " L# n' y% z0 k- J; X3 H/ J; C9 L+ C1 Y
  32. Database=Your_Database_Name_Here% b, K; S' T) K$ Z4 z  b5 O' ?% q
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ! }+ k5 S9 S* Y' x8 V  u
  34. User_name=User_name_on_the_MySQL-Server* a0 Y3 `! n; {  x; k0 E! p8 N! Y/ _
  35. Password=Password_to_go_with_above_user_name
    % r# x/ e& I0 s+ K
  36. GetDriverFunc=getSQLDriverMYSQL
    8 ~  U0 J3 E3 U. B
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib! U) \4 d4 z* f0 c0 w$ D) _* k
  38. LibraryName=path_to_libsqlmy_libary' n2 R9 g) q( A# g/ n
  39. Active=1
    # L9 z+ V8 b7 `2 i0 n
  40. ---cut here---
    6 ~- Q# N5 ~+ z8 |9 ?) B" ~5 `2 ?$ J
  41. In my environment (a linux box with a MySQL server running locally) I have:" b' {1 Q3 T, t" z: j9 J7 k2 }
  42. ---example---. X  G, c+ R8 h- y* A
  43. [DBEXPRESS]9 C3 l9 C- n) m6 k& h
  44. sqldir=mysql_sql1 w. {$ z& X* n% z5 B
  45. Drivername=mysql) b5 H* s" t# {4 G0 W% T) }
  46. Database=test
    6 z- G& D4 V2 w0 }5 l& D
  47. Hostname=localhost: t5 G3 G7 y) D1 Q# V. G
  48. User_name=testuser5 ^& Z2 t; h3 f! C4 H
  49. Password=my_password7 L" B$ P- |. w  ?7 x. P
  50. GetDriverFunc=getSQLDriverMYSQL
    1 m8 N" `/ }- m
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0+ N! D: M* |9 _* f- @  f; V4 ^
  52. LibraryName=./libsqlmy.so1 `; |1 f" _) X: d7 O
  53. Active=1: I- t4 Y3 O2 q0 ?* H4 A/ y
  54. ---example---
    , z9 p& A, k' J; ?, D, x2 {
  55. % g& M: O; J8 u+ h! u1 l
  56. On a windows box, also running the MySQL server locally, it would be:. v5 p6 Q" {( J' l; A
  57. ---example---9 q0 C% I3 N! ^9 A. t
  58. [DBEXPRESS]; G! Y! i7 W- }+ N  N/ \+ e9 X
  59. sqldir=mysql_sql
    : r) O7 v+ K( o5 n; U
  60. Drivername=mysql9 i- p& ~: U, k. f5 u
  61. Database=test
    , E9 F0 A. Y, p9 p( h; O+ y4 [
  62. Hostname=127.0.0.1( M8 W1 ]0 @3 n) ^+ ?; B
  63. User_name=testuser
    ; q; P! `2 c4 G) T+ e0 `
  64. Password=my_password$ x% I# ~+ ]; e" b4 E4 e4 m
  65. GetDriverFunc=getSQLDriverMYSQL( o. \+ N$ K2 ]. X
  66. VendorLib=libmysql.dll
    4 @8 Q7 V; G" q/ s; [6 K8 R8 N; t
  67. LibraryName=dbexpmysql.dll
    ; x8 X; w) K0 y# S) T
  68. Active=1. D) l6 `6 j. T  v
  69. ---example----
    . J$ V# @, c" T
  70. - written 02.03.04 by pwk.linuxfan2 \, Q! q1 |$ q( J+ H; ?8 K

  71. + R* s6 n# \$ H1 [# j. N  S
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看/ O4 ~, _+ m) E1 ?
  1. 9 H' q+ d1 M. `9 D
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    # a  D. I9 I/ `3 X

  3. 7 t& U# ~. b; I9 Z* S9 `
  4. # # #我们所需要# # # ; v( o2 a8 g* O" o7 \: }
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ; I* b' h; s) q* Q7 S  T, ^: Y2 @
  6. 不会解释如何做到这一点-也有文件存在,为# h9 b/ F3 X8 U) ]+ Z# P  v4 S
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用& r9 v1 f9 e/ m4 G3 H
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    6 F4 I+ \3 M$ z
  9. 随着数据库。此外,你需要一个卖方图书馆安装于* t, Y9 S7 V7 h9 \6 f" _' q
  10. 本地机器,这是我的MySQL安装。
    + R+ P  g1 p% _8 ~& Y2 a5 v
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
      i% y8 n$ U) ^/ [: m
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 8 n, ]- a1 I" |+ t; Q! w
  13. 数据库。
    ! S- R  j* h$ S, Y3 d
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    9 Y+ I3 Z, o- {# |0 q& d
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    - p3 S$ W3 g7 R  `! x% j
  16. 在teamspeak论坛,如果你有兴趣。
    0 L0 i9 v! t4 L+ o! r6 L
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    7 |1 f" b( V  ?5 w
  18. Borland公司使用。这个司机只能界面与客户端库
    / ~; h* A9 _# q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    * y' |+ g9 d0 F% W
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ; V2 l* d0 K, k% `# ^0 X- g8 Y% S
  21. " vendorlib " ,并解数据库连接。 ' @6 h; a- k( Z: F* Z, G
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 + o  Z$ u0 I! M9 o0 a

  23. $ m, m7 q* `+ C6 J- h* H, G7 R
  24. # # #做好工作# # #
    5 N# j! d: j7 Q1 c* I
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    0 A* `; e: D8 `; ~3 s
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在, I% P, I, L- I
  27. 结束:
    1 K' N8 M$ n0 t+ M
  28. ---削减这里--- - I) S1 p( O, H3 n" l; D8 X; M* I1 c
  29. [ dbexpress ]
    ) Z7 ?6 j% ?+ j- A0 v* M) K
  30. sqldir = mysql_sql 1 _: P# `/ z: R( s2 [! {/ p
  31. drivername = MySQL中- `! P; a7 n( m& U; H+ g3 [
  32. 数据库= your_database_name_here 8 ~1 d9 p4 c/ o( {" E
  33. 主机= the_pc_the_mysql - server_is_on
    ! s- |9 V  p3 @* m7 n% T! C
  34. user_name = user_name_on_the_mysql服务器5 M& o0 {# c4 V& ?+ D& t+ i
  35. 密码= password_to_go_with_above_user_name
    * ^, |  z3 |$ `
  36. getdriverfunc = getsqldrivermysql
    . y& M3 a1 L5 H/ v  h, r
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    " Y# N6 j: p2 @+ G
  38. libraryname = path_to_libsqlmy_libary 0 b+ Y) q4 b" U" Z9 ]2 V. \  C
  39. 积极= 1
    ) G9 h% m- r' B+ ^1 E
  40. ---削减这里---
    4 p+ \# d" K5 A$ Q+ {5 A
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 1 o: |9 p. i- ^: c
  42. ---例如---
    ' `6 b. l5 I; S: t2 X
  43. [ dbexpress ]
    3 B$ N& x% T7 z" o$ F, A* K9 \
  44. sqldir = mysql_sql
    + v% L: n- G3 r+ \/ G- p% P
  45. drivername = MySQL中- U# y: D4 w+ _
  46. 数据库=测试: s$ s4 v/ w; }' ?& Q( G0 s
  47. 主机=本地主机0 _3 g* d7 G# Y
  48. user_name = testuser
    - U+ x- W+ ]  R/ U, f# [
  49. 密码= my_password
    # v' V$ J! M' F5 v4 {
  50. getdriverfunc = getsqldrivermysql / O: N  r4 Z$ a9 a/ ?
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ! u2 ^( M5 Y2 _
  52. libraryname =. / libsqlmy.so
    ! U% s% A/ I% A, J2 x) i  O% l# z
  53. 积极= 1
    7 O* ^4 ]' L% F, }
  54. ---例如---
    1 m, i5 X) R* z! q; ~! |  }
  55. 0 Z5 I8 B- v  g9 @* S/ c2 a
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    / t- Q9 R& K1 d5 p; z
  57. ---例如--- . l, c5 p. _2 b( e5 \* I2 _2 v
  58. [ dbexpress ] 4 n4 J& D; C& x
  59. sqldir = mysql_sql & ]- p6 H+ m4 Y
  60. drivername = MySQL中7 p' U' x/ z8 N, u+ A/ `4 @3 X- r& I
  61. 数据库=测试: y, C! n7 E1 x
  62. 主机= 127.0.0.1 5 H( D8 h7 K) f# P
  63. user_name = testuser
    7 O) o9 c. m0 l' h( e
  64. 密码= my_password , d% ?+ n9 E( Q' Y2 C- z
  65. getdriverfunc = getsqldrivermysql : ^+ x5 y2 g; M% [9 z. k/ s$ K( L0 `1 m
  66. vendorlib = libmysql.dll在
    + d9 Z5 {4 n5 k' ]
  67. libraryname = dbexpmysql.dll ) \$ m. r: ?3 x
  68. 积极= 1 + x2 ^; j& |2 }
  69. ---例如---- ( A" w3 x9 u6 S1 b5 J
  70. -写在0 2.03.04由p wk.linuxfan
    - F$ y, q9 m& ^: F9 y7 o: I
复制代码
发表于 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
: v2 f( Q+ C2 R$ e
) X# g0 F* o0 _* a6 Q! J1 D+ |: m$ Xbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-28 19:05 , Processed in 0.095513 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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