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

2719 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
8 W. s8 k7 K9 ]" ^) ]$ w  Z- @/ ^& D; q0 l, }' h4 F) J

  1. ( `4 _# ~9 l! x6 d
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    2 j! J, r. @1 C
  3. , z+ s, B! H: \" s- i
  4. ### What we need ###
    4 m& c6 `& H* L0 l. _
  5. Naturally, we will need a MySQL server to store the data for us, this document
    , e3 [- F, m$ `1 D) l0 P% C) @
  6. will not explain how this can be done - there are documents out there for the
    $ K' r1 N& z9 n, B2 D
  7. interested. The requirements include a (empty) database for TeamSpeak to use0 y* w; K+ T$ G6 b
  8. and a user account (username + password) that has the permissions to do stuff* S3 O, x+ O3 W' J! U& q- T7 n
  9. with the database. Additionally, you will need a vendor library installed on the
    0 A( o. j% T- e% ?% B; {; J( V: r
  10. local machine, this came with my MySQL install.8 P8 m# F0 j# O/ B3 H1 G
  11. These instructions will not tell you how you might transfer your data from the
    9 j3 m0 h; A" T9 N+ n" r% ]
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL* R4 L+ s' q. c$ ~) H1 n7 n& z8 I
  13. database.
    # B4 L) k4 E0 X9 H
  14. Some users have reported ways to import a SQLite database into MySQL, but at( [( [" s4 T* m+ `4 ?; S
  15. the time of writing, there are still too many issues - check the current status8 N/ ]3 Z: {5 l& P$ ^8 y
  16. in the TeamSpeak forums if you are interested.0 W  K7 Z/ o6 F0 E* ~
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
      v- m# S! t" [, P& L  l
  18. Borland was used. This driver can only interface with the client library that ! d$ ]$ ]2 V3 F. g! ?. V
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this6 |* D: Q& e( @# ?; C% Q
  20. client library - basically all you have to do is to use a 3.x client library as
    1 b+ B, b" g8 J* Y* x
  21. "VendorLib" and a 4.x database to connect to.
    2 @9 A$ l* ?* V1 W
  22. If you need more info about dbExpress, you can contact Borland.! m* A8 J1 k' T& m* s; X9 @
  23. ; \8 d0 |9 R2 t& O8 u8 b6 A' q$ Y
  24. ### Doing the work ###
    $ F' T0 ^9 @& n" x: W' M
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    4 [4 v3 L2 k2 @: z+ w
  26. the perquisites right, just open your server.ini file, and add this section at1 _5 q! M3 d/ p: h, @
  27. the end:
    " O3 b5 i, g" \* X% S, E! x
  28. ---cut here---% Z% G: y* ~3 q9 b5 ^
  29. [DBEXPRESS]8 L8 L/ t& V* q0 T% U6 O) o
  30. sqldir=mysql_sql
    0 Z. U4 t+ ]) W" z2 l
  31. Drivername=mysql1 c% }' l: C: l8 D6 q
  32. Database=Your_Database_Name_Here! F& G* b$ v' K0 ~- D
  33. Hostname=The_PC_the_MySQL-Server_is_on
    8 F/ [$ D+ C: p
  34. User_name=User_name_on_the_MySQL-Server4 r! }, Y6 M/ I: S
  35. Password=Password_to_go_with_above_user_name# b' X# P5 O. ], a! k5 `
  36. GetDriverFunc=getSQLDriverMYSQL
    9 g; m- ~* ~# m1 N
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib- `3 A; o2 E5 V7 v: y: v7 L# T) O
  38. LibraryName=path_to_libsqlmy_libary- P6 S5 y' r0 w# r
  39. Active=1
    1 {1 g, X; O4 d( {
  40. ---cut here---
    - C7 u* R5 z) X- ?- E
  41. In my environment (a linux box with a MySQL server running locally) I have:. Q* }( Q4 P5 v2 T
  42. ---example---
    & I& P: \0 \  O6 u# w
  43. [DBEXPRESS]
    ! U' L0 B6 {0 m: ~# f4 Z, p( C
  44. sqldir=mysql_sql( u$ s3 P- g8 E" X
  45. Drivername=mysql
    $ W  B/ ?! p: N3 m( x: i) l# r" W" l
  46. Database=test5 e  O* j; a. O" o; R$ b
  47. Hostname=localhost
    , K0 V- @  Z) W3 r
  48. User_name=testuser8 g" Y( p) R, N+ h
  49. Password=my_password0 G- z/ x" a( O+ r# o8 N
  50. GetDriverFunc=getSQLDriverMYSQL
    / ?% B) X+ I0 J
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    + l2 U+ q* d3 z+ U7 m) _& h! n
  52. LibraryName=./libsqlmy.so9 l- m9 ~" W1 p! i  x# ^
  53. Active=1& D( k% q! X8 e: K( O
  54. ---example---
    * {( v6 {. J0 p3 D0 Z$ ?; ^( z6 Q/ g0 |
  55. 0 h. b) Y: @6 K8 J- b6 t7 F* Q2 {3 j' P
  56. On a windows box, also running the MySQL server locally, it would be:2 u# C) Y! d$ g
  57. ---example---
    $ |( T& e) H9 Y6 g6 a2 P
  58. [DBEXPRESS]
      n; L3 q7 L, J" ?/ ^0 A
  59. sqldir=mysql_sql
    + W$ B  q/ q' s! C3 U) u0 b' p
  60. Drivername=mysql3 c% d+ I5 j/ @8 K+ a
  61. Database=test0 f1 V- ~8 ?. D  ^- s- X5 m% H( c: B
  62. Hostname=127.0.0.1
    1 [  h8 _- _7 z$ m9 H( }+ N8 n
  63. User_name=testuser
    6 h6 Q" Q5 Q; `7 D* c# Z
  64. Password=my_password
    + `2 |5 Z) h7 `/ j( Q. j  v
  65. GetDriverFunc=getSQLDriverMYSQL
    3 u2 u6 s* e7 O8 Q2 w
  66. VendorLib=libmysql.dll- y3 Y- B3 q% o; \2 l9 n' T
  67. LibraryName=dbexpmysql.dll; W; X7 H- v' [) a6 `; H: Q
  68. Active=1
    5 G3 H! ^5 Q  {, G
  69. ---example----
    / Q1 U4 m  T6 w+ Q6 t
  70. - written 02.03.04 by pwk.linuxfan; c; }% }. S+ h  B1 S

  71. 3 R& I1 A, [7 o! K. t4 [" e
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看8 ?6 H; t0 p" _3 z

  1. ) Y7 c! \7 b' V
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    " W) M: f# D$ {" g  Y) q; H  c7 c
  3.   D2 H0 W# T" n7 C3 B* M
  4. # # #我们所需要# # # 8 g- P$ U5 B7 x4 X4 S. ~
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
      \( P7 J0 ?. `1 l" ^
  6. 不会解释如何做到这一点-也有文件存在,为- E9 ^: }- u; D# C7 k! _/ ]
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用: s$ ]% I- h3 H  ?, q$ D
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    8 @0 o1 V1 Q1 j! \
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    % G4 Y) a. O6 A
  10. 本地机器,这是我的MySQL安装。 1 ^! {! i: `7 B/ `2 \
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从* c2 S  _& u/ L7 _- d
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ) W, U' V) |8 q2 f+ G
  13. 数据库。
    4 I& L0 G% l4 T: ?& a2 ^, V
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在: I( J7 T* G: [, X
  15. 编写本报告的时候,仍然有太多的问题-检查现状( y9 x7 y; R9 z
  16. 在teamspeak论坛,如果你有兴趣。
    $ ?; Z+ j  z$ P- q3 b& W( v
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    " O' O$ }6 R1 r. b, |
  18. Borland公司使用。这个司机只能界面与客户端库
    - J4 I3 \. @8 Q7 I: O  M( }3 O3 o
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    8 W% V5 j, L2 J" y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    & @2 \, M6 ^0 j* f" ?
  21. " vendorlib " ,并解数据库连接。 + i* e. v2 E( F: S0 a- D' X
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 9 f2 p' F- O: ?0 L
  23. & l, N8 c! u! W" R; R
  24. # # #做好工作# # #
    " G# o: M0 d; ^1 N; |' c7 D
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都5 F2 m/ p" Q6 L- c
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    % M' A  b; x2 Q- [1 q" ^
  27. 结束:
    : }! J; _+ _( r- L) g( A; F
  28. ---削减这里--- ; h7 l! T" k' V
  29. [ dbexpress ] 1 q1 G6 j$ }2 R! ^/ ~$ E( Q
  30. sqldir = mysql_sql 2 Q- P/ C9 A- K' I
  31. drivername = MySQL中
    & o7 C, K& D7 R: u, [: V
  32. 数据库= your_database_name_here
    # ?5 _8 ]9 U% Y, O; Q* Y+ O5 J
  33. 主机= the_pc_the_mysql - server_is_on
    - E: |3 {7 f2 Z) X% F! B8 H/ r# B
  34. user_name = user_name_on_the_mysql服务器
    # g! S$ T( j7 a
  35. 密码= password_to_go_with_above_user_name ( U& O, y+ r3 E6 {# a% Q
  36. getdriverfunc = getsqldrivermysql   `; U9 j0 R* i4 ]2 a
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib   B. P- d, K; [# u' L
  38. libraryname = path_to_libsqlmy_libary
    . ^1 V' O2 ?# }; w( n% `, i) D9 N
  39. 积极= 1
    1 ~7 L: k8 @9 _  ?  G
  40. ---削减这里---
    ( H) P$ ]7 D0 Q. ]
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: * K  y4 \* Z8 g# Z& t
  42. ---例如--- 1 k9 i' i) f- n8 U
  43. [ dbexpress ] ; \5 J/ H0 Z6 d: P# b# _
  44. sqldir = mysql_sql
    2 g3 p( ^/ x2 W! T' }) t
  45. drivername = MySQL中
    8 f3 J* `9 k  s6 x% X5 B. Z' i9 R5 h
  46. 数据库=测试7 C" g# ~2 B/ j4 w6 n# k
  47. 主机=本地主机) S8 n4 k7 A6 J- a3 f9 @1 ~  Y+ n! J" z
  48. user_name = testuser 7 V6 i7 p# p( h9 w
  49. 密码= my_password
    $ B7 L" c( n: H3 ^' t
  50. getdriverfunc = getsqldrivermysql
    9 a/ \8 ]+ W" h6 o; |6 z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 $ K: q: ^9 h; P) e
  52. libraryname =. / libsqlmy.so + l% G! |5 r9 v3 V
  53. 积极= 1 : Z$ o* v' ~' v1 o
  54. ---例如--- / L! k9 u' J' V/ \" y
  55. 8 J3 A% A; |+ u9 Z  M" I
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    4 u2 o# V0 |  _& K6 [
  57. ---例如---
    , S% t! x" x% v) {" l
  58. [ dbexpress ]
    0 u+ A. F$ w( f/ o' H
  59. sqldir = mysql_sql : r) h4 b1 W1 P) x8 D% Y8 T: P4 f
  60. drivername = MySQL中
    : J; F: G! z2 N; K, h
  61. 数据库=测试  V' _. Q; B% X! A
  62. 主机= 127.0.0.1 ) q# V, i' L2 l3 v% U6 R
  63. user_name = testuser
    7 {. U4 V7 j3 B; _4 E
  64. 密码= my_password ) n: b' n1 ?" z( o
  65. getdriverfunc = getsqldrivermysql
    * h9 }7 G4 k! h. b
  66. vendorlib = libmysql.dll在! S, q! v( M+ m) U
  67. libraryname = dbexpmysql.dll
    $ t% ?# {- b# w- w7 y
  68. 积极= 1
    * S; C; k; a' S( K* a, }8 i5 c
  69. ---例如----
    $ Y, _2 D% ]* B$ A7 |6 H) |& ?5 V: L
  70. -写在0 2.03.04由p wk.linuxfan- G/ W( A! W7 Z" v
复制代码
发表于 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
6 l2 d6 N! Q8 L) H
) ^+ X. S5 ]& g# ~4 Pbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

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

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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