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

3239 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
# s" B) D# x5 J/ G# e$ x3 z& b9 p6 h) _; I+ Q1 r# ~

  1. 4 \7 Q4 d# w% A1 A, Y' N
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    5 {) }. t1 z1 Y) D
  3. $ K. h( _2 ]/ N" k. s' U
  4. ### What we need ###
    8 \% W$ H  ~3 N. J
  5. Naturally, we will need a MySQL server to store the data for us, this document 4 r/ {" Y- V  Q
  6. will not explain how this can be done - there are documents out there for the 4 W4 N# {  R- r, p
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    + r8 h8 A7 b6 s0 q, J8 L8 q; f
  8. and a user account (username + password) that has the permissions to do stuff
    " V, q) ?2 r7 W
  9. with the database. Additionally, you will need a vendor library installed on the
    0 y4 O" z& z5 y. _, K! V2 c
  10. local machine, this came with my MySQL install.
    4 D* E% A+ A$ E* p" y: o+ K" g- u
  11. These instructions will not tell you how you might transfer your data from the
    % ~' t9 T" c9 `- A& p5 \$ x# X
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    / w  H" z: g. M! c' y: H
  13. database.
      C8 f* Y/ @( J, g! g- ?
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    - a% H2 Y! o2 W- ^' T! N
  15. the time of writing, there are still too many issues - check the current status
    0 H  Z1 A3 Z* z/ R8 e# m
  16. in the TeamSpeak forums if you are interested.
    6 R! M2 y& p1 Y8 {0 j
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    - R8 c3 g$ O8 Q
  18. Borland was used. This driver can only interface with the client library that ! I& S6 P6 L1 |* x
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    / p" v: e5 \6 O5 q: Q
  20. client library - basically all you have to do is to use a 3.x client library as
    : J4 X" J% n2 l# o# \/ \7 H
  21. "VendorLib" and a 4.x database to connect to.7 E# w! P2 l6 [* p8 y0 v
  22. If you need more info about dbExpress, you can contact Borland.
    & ^- O4 r' W5 k) L, f( M2 F

  23. ( \9 P: R4 I/ p# ?  R+ r
  24. ### Doing the work ###/ x" S" h4 d1 [' H6 S
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    . b( k  \+ \! p* R
  26. the perquisites right, just open your server.ini file, and add this section at1 I$ ?% N' Z3 q: P& T$ n
  27. the end:
    7 w8 n. K8 H* K) m# F! V) h+ ~
  28. ---cut here---  l$ j- I  A/ I) r: e. `
  29. [DBEXPRESS]
    5 B2 l! c' M" D+ b& k& t  _6 A
  30. sqldir=mysql_sql
    ! `3 k3 q3 e5 P
  31. Drivername=mysql. R* _9 t$ R7 m' W2 y
  32. Database=Your_Database_Name_Here; |4 m8 }% r7 Q* B; z0 s# x0 Z% R$ @
  33. Hostname=The_PC_the_MySQL-Server_is_on3 E+ B! P3 o) `) g) Z7 B% \8 l7 ^
  34. User_name=User_name_on_the_MySQL-Server
      A: a7 N: W' a8 b& y5 ?
  35. Password=Password_to_go_with_above_user_name
    " Z; A3 l/ {( s. m9 f
  36. GetDriverFunc=getSQLDriverMYSQL
    . B2 i" ?* |3 Z( c$ v
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    & c  u# i* B5 k) Z3 q
  38. LibraryName=path_to_libsqlmy_libary
    2 k6 n' g: S5 X5 N9 o6 ]/ _
  39. Active=1
    3 q5 F$ d/ Z: g
  40. ---cut here---' z! i" ~. [3 U3 r1 _/ Q
  41. In my environment (a linux box with a MySQL server running locally) I have:2 D  W2 @/ Q9 G$ _- K3 l6 G
  42. ---example---
    * f. m4 _$ t- Q: M! _
  43. [DBEXPRESS]7 L1 O$ G0 T* H% G+ E
  44. sqldir=mysql_sql
    8 F4 `# m: b% a6 y" m! z5 A
  45. Drivername=mysql
    0 k& j: Y- [  ^$ J7 g* E9 V) e
  46. Database=test+ [9 o  ]- o7 v( S$ x. j
  47. Hostname=localhost
    ! G5 ]3 B. N. Q
  48. User_name=testuser8 e* \! {+ A0 t  f! u7 k
  49. Password=my_password
    / r2 i2 D4 e4 y3 u: T. i9 q3 S/ r
  50. GetDriverFunc=getSQLDriverMYSQL
    $ Q6 e& h7 Y1 E) H9 z/ O
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.09 r/ ]. k" l6 i! m! X+ l9 G2 X
  52. LibraryName=./libsqlmy.so1 {  X; s9 b8 j% `+ i
  53. Active=1
    $ @' F1 O' f9 E4 b9 G
  54. ---example---' I' I. j" J' M: k# `9 ~
  55. 9 O: ]. N" t, G7 t% @% E2 _
  56. On a windows box, also running the MySQL server locally, it would be:
    4 q1 s: \0 Y* a2 {. M
  57. ---example---) j% K: X1 O1 ^" @. N5 m# ~
  58. [DBEXPRESS]
    . u* P. X  S) C- k, [
  59. sqldir=mysql_sql; i3 a* ~* }% c! e, {5 {
  60. Drivername=mysql  O# G- v9 {& a% W
  61. Database=test
    1 j7 J5 z4 Q0 `$ Q9 n! O& {
  62. Hostname=127.0.0.1
    7 |6 \' l" K/ c. F5 ]( `! p
  63. User_name=testuser* V/ k7 K8 X0 w# M! i  F$ e( S
  64. Password=my_password( ?. J' y- `2 Q5 L+ U, ]
  65. GetDriverFunc=getSQLDriverMYSQL9 U6 s: j7 L+ o# ]7 X2 k
  66. VendorLib=libmysql.dll
    ! M( H+ f9 v* q5 b# X. E
  67. LibraryName=dbexpmysql.dll
    " ?$ d' s% ^; D9 `" v# k
  68. Active=1
    * A% K3 L# u; R# [% J
  69. ---example----/ C- y/ M! O  e. {
  70. - written 02.03.04 by pwk.linuxfan
    . J# Y* p! q* n& k2 d$ S

  71. " w* p4 E, ?3 a  g$ ~/ O9 M0 `
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
; f6 X" \5 w" Y! ]5 j* _
  1. 0 }3 B5 `" d' y2 H+ x
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
      Z2 J" k, W) v( O3 S: `2 c

  3. 0 y, N; J) K! w6 s, f, v: X
  4. # # #我们所需要# # # $ h* f1 k0 U; ~
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    6 G3 E+ _+ r" H* _. W8 R& ^
  6. 不会解释如何做到这一点-也有文件存在,为  k& P% y# o' i9 l( z4 `' [
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用# a' N0 d/ Y. ^# i! Z2 t; b! G- }! z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西: {4 t1 G8 A9 v
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    " }( X8 z8 Q1 k9 i! k. g( @
  10. 本地机器,这是我的MySQL安装。 8 E2 Q0 L; J, [! N; m
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从" w6 `& [) a: N0 ~  O8 y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL & t. t9 j- i' H
  13. 数据库。
      e- V# W$ k! B  z% _3 @4 G
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    4 i  T; d7 `; O! D
  15. 编写本报告的时候,仍然有太多的问题-检查现状! V9 i$ }$ L' C8 o6 d1 ~- s
  16. 在teamspeak论坛,如果你有兴趣。 2 W- c- l) \2 l- P
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    4 P) [; B! D) t  j: W: V0 A7 P
  18. Borland公司使用。这个司机只能界面与客户端库
      h, p$ K: F4 d3 X8 J7 ^/ M9 n# W* b
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这- K* G, J; n" \3 m2 b0 C; M
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为& n3 g5 ~; l$ c, B+ F* l- O& u
  21. " vendorlib " ,并解数据库连接。
    & F6 p4 N; t! L5 D5 r6 q2 B4 r
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    - [1 w$ Q+ Y; [
  23. * i$ T! u& _0 ]# C
  24. # # #做好工作# # # 1 P! w" p( ?" Q. l8 X2 S* a
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都2 m; k2 p- F4 f8 r7 v: M+ f
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在, X/ h  f/ x+ N2 W
  27. 结束: 7 A, x. b* Y" ]6 v; y# U
  28. ---削减这里---
    : t; M7 v1 I8 A9 V! @
  29. [ dbexpress ]
    8 _3 B1 o" Y, K1 ~# a3 u
  30. sqldir = mysql_sql 0 v7 r( U" S. s
  31. drivername = MySQL中
    : f: M6 y2 k* I
  32. 数据库= your_database_name_here 8 M5 L" a0 A8 V. W! k! Z
  33. 主机= the_pc_the_mysql - server_is_on ' c0 a3 {/ k. y5 H2 k2 F
  34. user_name = user_name_on_the_mysql服务器
    * V$ S8 K7 x( K6 M0 e$ s
  35. 密码= password_to_go_with_above_user_name
    4 t$ A$ O4 T8 `/ ]" Q# H
  36. getdriverfunc = getsqldrivermysql 0 I4 h) ^' b+ S4 n" [! |- o0 G' ^
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    9 W0 o  h4 j6 g( j0 I2 |4 _" N0 r
  38. libraryname = path_to_libsqlmy_libary
    - h1 Z. ~- K/ O1 @
  39. 积极= 1
    % P% O3 D% J2 b
  40. ---削减这里---
    4 m, q. G; F7 l; E, y4 P
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 2 G% L% x% W3 {2 U0 x* n
  42. ---例如---   f( V" z$ F5 K2 m/ @7 I
  43. [ dbexpress ]
    1 _8 w7 A# a! @
  44. sqldir = mysql_sql
    * o" m; x  |4 }0 c, E0 z9 D
  45. drivername = MySQL中
    # K& W" u0 ^5 x" e3 K, ^7 I
  46. 数据库=测试
    * A  W- K. h6 W# w  x. }. w
  47. 主机=本地主机
    ! j2 B2 T- X4 }$ G4 S
  48. user_name = testuser 4 ^' K6 |; Z, T- T
  49. 密码= my_password
    # d1 i4 I  [+ D* O( ?( D- l
  50. getdriverfunc = getsqldrivermysql 8 j' C) S4 O3 _. S
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 * ~- y7 m! Y2 f6 F$ c# D* |
  52. libraryname =. / libsqlmy.so ' p, ~1 Q7 n8 y% l% G
  53. 积极= 1
    ) Z' Z" Z3 ?" G, k
  54. ---例如--- 0 K0 G( ?& {5 _. V2 w1 G9 a% L

  55. 7 @9 C3 h" A' v  a
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ( D2 J9 Y* B( @! b  I! c8 J
  57. ---例如---
    2 I- a4 D; c% ]5 T6 y1 ]2 Q
  58. [ dbexpress ]
    ) @/ H3 i7 g' c
  59. sqldir = mysql_sql 0 r4 {  H3 T3 w% o% w
  60. drivername = MySQL中1 P8 X" B, R& T3 c* [0 X! D: c
  61. 数据库=测试' X1 u* t% g& w. c
  62. 主机= 127.0.0.1
    : ]& t" B6 G& x+ q% s
  63. user_name = testuser ; J& Y- o( A0 J9 k5 Q9 l
  64. 密码= my_password ( n. R& i: }" S) d3 I
  65. getdriverfunc = getsqldrivermysql
    3 \, Q4 U5 d" T" _. j8 I% O+ a; _
  66. vendorlib = libmysql.dll在
    3 Z! Q) V. `' C2 o# y: X
  67. libraryname = dbexpmysql.dll 0 R0 y& X0 b- r3 y2 @
  68. 积极= 1 ' M; l4 F; T  C3 f; N# `
  69. ---例如---- 9 @, k0 ?' x1 ^7 }! F
  70. -写在0 2.03.04由p wk.linuxfan
    + n) c3 C  U& F! t% ]! Q/ _. ~3 }2 V. |8 `
复制代码
发表于 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 words3 N& `# ~5 L* D! ~2 B; B

0 N3 N" ^5 E4 }: N& Sbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-27 00:26 , Processed in 0.098409 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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