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

2898 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
9 i% `5 R3 a% ]) ~+ [$ I4 f& l) V* _$ I1 I9 s

  1. 3 G$ x5 {5 N6 H6 k; W
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ####### g7 j$ L. T+ J5 _5 u3 }0 W8 u2 e

  3. , e8 l) ^1 u) E7 ?2 _
  4. ### What we need ###) e( U7 W/ G/ s* H2 [
  5. Naturally, we will need a MySQL server to store the data for us, this document
    8 w  E; L- L4 t$ w: ~! ]
  6. will not explain how this can be done - there are documents out there for the 7 p) F) U3 u* ~: b8 w9 L
  7. interested. The requirements include a (empty) database for TeamSpeak to use2 F/ [$ y. L% V- C  ^9 j
  8. and a user account (username + password) that has the permissions to do stuff+ l7 Q) ?& i8 t% r% ]; b
  9. with the database. Additionally, you will need a vendor library installed on the
    5 c7 B( G" h5 o& d' z+ @
  10. local machine, this came with my MySQL install.& }1 J9 T) G% E# E0 V6 O
  11. These instructions will not tell you how you might transfer your data from the
    9 k! z1 t0 b+ H3 y" o
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL2 F' `. @. Z' W; Y5 j, J
  13. database." V) X$ P3 O4 k: [7 w/ F5 h
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    % }+ f5 u# z  W; }( ~7 ?$ _3 u
  15. the time of writing, there are still too many issues - check the current status( E1 R  y7 s( g- J* y
  16. in the TeamSpeak forums if you are interested.
    * ?: ^; c2 z6 c0 z3 n* k
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ) ~; b3 e2 v: g2 a& F
  18. Borland was used. This driver can only interface with the client library that
    2 N; e. x. c5 U2 J& ]* F: E: e
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    6 K6 v% w- h6 e
  20. client library - basically all you have to do is to use a 3.x client library as
    7 y# L8 b9 x. h7 j; w) ?
  21. "VendorLib" and a 4.x database to connect to.
    , e3 j) @8 m! p5 o  d
  22. If you need more info about dbExpress, you can contact Borland.
    $ g6 K7 V6 I& ?# q3 s7 y4 E
  23. 0 \" ]! y+ @* b) z
  24. ### Doing the work ###
    ' `8 m0 j% ]. I- J% k
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all% t) L" U+ U7 w9 L; x7 r
  26. the perquisites right, just open your server.ini file, and add this section at! m5 ^# y! @/ P
  27. the end:8 f, S6 H$ ?6 D4 z8 `/ h3 S8 r
  28. ---cut here---
    # i0 E( g9 n* o. t/ X
  29. [DBEXPRESS]4 _4 T& O& x8 f* U4 j
  30. sqldir=mysql_sql
    * X1 S: B& n3 p, O. ~
  31. Drivername=mysql
    ; b4 L/ ?3 `! o# A* {
  32. Database=Your_Database_Name_Here) Q* u7 Q5 o7 p6 I  ^) q- \+ B# W+ y
  33. Hostname=The_PC_the_MySQL-Server_is_on
      R* V% ?5 |: z
  34. User_name=User_name_on_the_MySQL-Server
    ! Q/ a+ j# [# O0 ~
  35. Password=Password_to_go_with_above_user_name
    / t8 s' [, a' S2 b: ~) M' L
  36. GetDriverFunc=getSQLDriverMYSQL
    4 e  F5 v6 H: ^
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib' E, \7 ]9 n& B; g
  38. LibraryName=path_to_libsqlmy_libary
    8 J- }7 A9 F& o) o9 o( j
  39. Active=15 x/ C- i5 X) [/ ^4 u$ a9 S9 t
  40. ---cut here---/ z9 E% o0 y' b
  41. In my environment (a linux box with a MySQL server running locally) I have:. O3 {, m( }4 o$ C' R
  42. ---example---) c6 V! }* q. `
  43. [DBEXPRESS]8 p- n/ o: g: W( x7 L# |4 I$ E
  44. sqldir=mysql_sql3 t! g+ l5 F+ n
  45. Drivername=mysql; Z+ M. l. b# A' w; N
  46. Database=test/ ?+ c. |. }. F7 i% J8 j
  47. Hostname=localhost
    - \/ {7 J& `/ ~9 d3 R" U( [& ]
  48. User_name=testuser
    ( K9 [: D, l) _: i1 F5 W
  49. Password=my_password
    % ]- \) {7 I* p$ E# `/ A, [
  50. GetDriverFunc=getSQLDriverMYSQL$ u/ |. R% \7 C9 m- P- w' `* y( N; F
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    / V3 a4 H# F3 b" {) l
  52. LibraryName=./libsqlmy.so
      b/ E6 l- h8 X5 h
  53. Active=13 p8 V" t' a9 _0 ?+ _" e
  54. ---example---
    ! Q% [" d. X) O2 C

  55. . ?  I5 x* c! g* e* n
  56. On a windows box, also running the MySQL server locally, it would be:
    " o2 m# u: G8 i
  57. ---example---* W3 f& o; e$ i1 r. D: v$ m2 r
  58. [DBEXPRESS]
    1 R6 _; e) K$ E$ P5 C6 U, k9 i
  59. sqldir=mysql_sql2 {/ m& o; ?8 _2 p
  60. Drivername=mysql
    " N# M) j( u, B- }( ]" c
  61. Database=test
    ! _/ y$ b/ O8 u1 `$ _- Q6 D
  62. Hostname=127.0.0.1
    6 a8 N) g2 q2 q8 F# b
  63. User_name=testuser- T  {4 n! a+ b/ v
  64. Password=my_password7 G: |  Q! Z! E
  65. GetDriverFunc=getSQLDriverMYSQL1 B) B2 V: ]+ F7 s3 @0 a
  66. VendorLib=libmysql.dll
    " Y7 K$ M& A& J0 i& Z1 t
  67. LibraryName=dbexpmysql.dll
    $ G$ P% X% m5 O) K: B# ?' i0 t
  68. Active=13 ^/ r( w" l) ?5 A, F
  69. ---example----
    , a1 |8 @' \, H  P# Q9 l
  70. - written 02.03.04 by pwk.linuxfan" c( T* @: ^9 ]1 M% ^, M) B' @

  71. * u4 M3 b. ?; ?: r8 v5 A  H3 D1 {
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看/ C; v  [4 ^( u3 S. Q: K$ e
  1. 8 D+ A! h  h/ B8 A
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### - Y# \: B" W, I2 E' q: B) |

  3. , m3 c" j. W$ L1 @$ n, G2 `& Z
  4. # # #我们所需要# # #
    , v0 ^5 s: L" c* {0 M! Z
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    / q. O9 a( n; N  C% C: y) o
  6. 不会解释如何做到这一点-也有文件存在,为- E- V3 ]+ C1 C5 z; s  E
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用) X) I5 e1 A' G' L
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西/ M) z' i& y9 ^+ R) O2 U# n2 L
  9. 随着数据库。此外,你需要一个卖方图书馆安装于; t/ z+ u% S* \$ l
  10. 本地机器,这是我的MySQL安装。 . Q4 [) t' G, m% K7 O
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从) o% l0 n7 l% O# l+ b2 V: J
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 9 }% G3 D# u0 [9 \9 C% I
  13. 数据库。
    , w/ b" ]0 p/ W
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在7 y: q/ Y/ f6 `/ o; X/ d
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    / Y: m2 o! U$ q3 m$ g, W% c* f; O
  16. 在teamspeak论坛,如果你有兴趣。
    0 A/ h) a" M9 H: T% `
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    2 U$ N( P3 E" _
  18. Borland公司使用。这个司机只能界面与客户端库
    $ z$ R3 R1 Y3 x) e
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这& z, V# `! a$ W: E2 ^
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    0 n1 G5 E1 a6 v# K: A* v: H
  21. " vendorlib " ,并解数据库连接。
    4 P" Y9 g# D: _8 H8 f: I
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 $ B) e6 n+ c3 y# y- ~
  23. & I( T1 b8 E0 n: Y; R) \6 p
  24. # # #做好工作# # # 4 t9 A7 _. R2 W, ^
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都% K/ P  i9 v& f
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    % n$ o, K/ R9 Y  @& g
  27. 结束:
    & A' n# }! w2 `3 _
  28. ---削减这里---
    # J* e; W) n7 o
  29. [ dbexpress ]
    2 E6 k  z3 f5 k- w& b2 U$ Q* w
  30. sqldir = mysql_sql % {) C: _$ L- |; Q6 e
  31. drivername = MySQL中
    " I6 w' V+ N0 D5 l
  32. 数据库= your_database_name_here
    8 N% R9 x& u! t* B: j$ |% f/ L9 ?
  33. 主机= the_pc_the_mysql - server_is_on # |; p' r) N# ?: X" }( _/ X$ `
  34. user_name = user_name_on_the_mysql服务器
    ' f, e- E- L. t' Y* e- r7 m6 I
  35. 密码= password_to_go_with_above_user_name ; @5 V. {% v/ m' `
  36. getdriverfunc = getsqldrivermysql $ }/ f8 a6 Y) V6 O
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib - z6 I+ u& U# X
  38. libraryname = path_to_libsqlmy_libary
    9 j) K8 v  s) b) e, U; I
  39. 积极= 1
    9 t( x1 @3 J+ v) \3 i) H7 F% w4 x, B
  40. ---削减这里---
    7 O& ~  Y6 ?/ J: e6 \5 E7 S
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: & N) q3 c9 A' o4 m+ j' K* z! e8 R
  42. ---例如--- * V1 M' A) ~. S2 ~' z1 f; s3 U
  43. [ dbexpress ]
    ; Q, u3 m& }1 e9 E$ E+ b/ j
  44. sqldir = mysql_sql 2 E9 P7 g% ?3 }" `- i* }+ t
  45. drivername = MySQL中; V* @4 J4 c" e8 L/ j# y0 p* w
  46. 数据库=测试) [7 b7 [3 o0 k, L- z- r  H2 R
  47. 主机=本地主机# Q0 f3 e: d# _4 w$ B9 m
  48. user_name = testuser
    " h: B6 _/ n0 d8 w9 j/ q& z/ @
  49. 密码= my_password # F( j0 g/ p& j6 }# D3 d! Q
  50. getdriverfunc = getsqldrivermysql
    % G' r6 N5 M. b1 L% f0 f7 V+ Q
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    - {' ?: ^$ x; i. H2 `
  52. libraryname =. / libsqlmy.so
    # l; v, P) Q. q, h+ D8 y
  53. 积极= 1 2 }  t# Z. x! G
  54. ---例如--- 2 c, Q+ U7 S3 r" H5 e  B

  55. % f7 j* X6 f/ I+ G, n( p
  56. 对Windows中,也运行MySQL服务器本地的,那就是: + n! B+ j8 N6 V: Y" a1 d6 J
  57. ---例如--- 3 w' w. r' r+ ^1 g
  58. [ dbexpress ]
    ) u8 L1 v' W$ d& B% Z
  59. sqldir = mysql_sql 2 }5 N& ~4 H3 h1 S% f! [
  60. drivername = MySQL中# _* q5 t& M0 ~! B, ?0 z
  61. 数据库=测试
    $ X& E+ {4 W5 c/ v
  62. 主机= 127.0.0.1
    ! E5 i: C4 d  X: V( f, Z
  63. user_name = testuser 9 ]5 x3 p- H- B) C! f' y4 M; {
  64. 密码= my_password * F  A3 D, j0 `- p
  65. getdriverfunc = getsqldrivermysql ' x6 n7 U" G$ Z9 p' v8 g
  66. vendorlib = libmysql.dll在8 f' \% u3 G) A5 T- F2 J
  67. libraryname = dbexpmysql.dll ( N7 ~3 z7 W* E" d# p( O
  68. 积极= 1 1 k. |+ G. r7 f
  69. ---例如----
    6 K2 @6 ^! w  G8 S& p: t  [
  70. -写在0 2.03.04由p wk.linuxfan* s1 e" D( |5 W* u
复制代码
发表于 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 C! r; ]. o( y  ~  x, X( M
/ h( h+ y" m% |# E1 e( Kbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-15 03:01 , Processed in 0.089605 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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