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

2492 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan   k3 E1 k; N0 \- V8 {* ~

* `( H4 w& a  S4 `2 n- T

  1. ; }3 y0 ?  b5 v& H$ d2 |; R; }
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    , k/ u" F+ A$ T& z4 W) E

  3. & a; b% b. {+ E% q5 d) V7 _
  4. ### What we need ###) k5 A& {2 t5 E- k
  5. Naturally, we will need a MySQL server to store the data for us, this document 3 f9 C$ p* i8 @1 G1 T1 E6 x. B
  6. will not explain how this can be done - there are documents out there for the 5 \; H4 u# `7 C' ?1 [; L) W& K
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    $ o, K" l' w4 d; v
  8. and a user account (username + password) that has the permissions to do stuff" {, o5 l! F1 L9 n' b9 r% p. W
  9. with the database. Additionally, you will need a vendor library installed on the
    5 l; }# V* g! n& K" B% v
  10. local machine, this came with my MySQL install.
    3 D7 L% O) j: n& e7 v/ Y+ g! N# C7 g
  11. These instructions will not tell you how you might transfer your data from the8 d  A7 d' a8 v' W! E- ~" l8 @
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    , W* G+ B$ r* J, L/ H
  13. database.; Y0 x8 e4 r  U0 w
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ( W$ `! |3 n0 z9 k- Y$ Q3 p" ]+ z
  15. the time of writing, there are still too many issues - check the current status
    & v, L- ?5 p; A
  16. in the TeamSpeak forums if you are interested.
    0 e. a" Z3 M/ Y% G  e- E8 ^
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ; ~) q- g3 \& r$ j
  18. Borland was used. This driver can only interface with the client library that
    % ~+ a/ i+ g, z- e! r% @- c
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this, a" Y! V+ E7 c! ?: {5 J- C
  20. client library - basically all you have to do is to use a 3.x client library as 3 X- e! y+ C6 P) i
  21. "VendorLib" and a 4.x database to connect to.
    ) W2 z( X+ \6 w( [+ F$ G  u' ?
  22. If you need more info about dbExpress, you can contact Borland." M) i+ L1 F& I) }- X! f

  23. 9 i* n- j: B9 a$ z
  24. ### Doing the work ###- j$ ?) ]  y& U- I7 m+ v! v) ^; A3 h
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all) G) Q( D: g! \& p0 g
  26. the perquisites right, just open your server.ini file, and add this section at! ?" B: R5 y# T9 G. J# ?4 e* e
  27. the end:
    & S4 z8 n/ X8 g: q! J$ m2 I
  28. ---cut here---
    - r: m) z& ]/ ?# `& r+ C
  29. [DBEXPRESS]
    1 n( O, q$ M7 f/ `
  30. sqldir=mysql_sql
    ( F5 K: a' C8 S  d
  31. Drivername=mysql
    & x% I! o, W) H7 |, s. o
  32. Database=Your_Database_Name_Here0 V1 R) r4 ^/ w& {( U! _
  33. Hostname=The_PC_the_MySQL-Server_is_on- A6 r& T5 Q7 x: K) l
  34. User_name=User_name_on_the_MySQL-Server: @6 B0 @0 \' A2 K& m
  35. Password=Password_to_go_with_above_user_name6 O3 Z9 ]2 r8 `* |  b
  36. GetDriverFunc=getSQLDriverMYSQL
    9 s0 s! m0 e) T% C1 D7 T
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib( l7 n# r  I2 n. o# L
  38. LibraryName=path_to_libsqlmy_libary+ P# N6 R' N& X- H
  39. Active=1! y0 X: }4 G8 ]% `
  40. ---cut here---! k5 l1 E, k/ W/ Z5 i: Q' S$ X9 r$ f
  41. In my environment (a linux box with a MySQL server running locally) I have:2 f' x2 C. j- T
  42. ---example---
    $ Q% ~# B5 P( h
  43. [DBEXPRESS]  ~, z3 e. ?# S# y2 \
  44. sqldir=mysql_sql
    % D/ ]. C4 k( H' a0 @
  45. Drivername=mysql2 N$ S! T; [* u2 ^
  46. Database=test
    ! y* j2 T& C4 E: R
  47. Hostname=localhost. J# Y/ Z# L' X  Y: I1 L
  48. User_name=testuser/ E1 g2 `3 v" j3 w/ g" @
  49. Password=my_password
    & j+ w2 \/ P% x" t3 v* c. y
  50. GetDriverFunc=getSQLDriverMYSQL. E" H5 E; y/ E" ]
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    3 j/ ?. g5 i  T7 v4 B8 b4 s% _( a+ Q
  52. LibraryName=./libsqlmy.so
    % M5 A: j  X' x; [' L/ s
  53. Active=1
    ( I  m+ z( E- O! \2 `
  54. ---example---
    & t$ t! A' Q$ P( H

  55. 3 D. M  i$ X: k5 J8 ^/ W% b3 ^
  56. On a windows box, also running the MySQL server locally, it would be:! S- e/ ]) _& h4 b- }  u8 U
  57. ---example---$ n2 O- H8 O" ?3 z
  58. [DBEXPRESS]0 G6 M& J! y  u: ^
  59. sqldir=mysql_sql0 \. O) ], h0 k: o& c& v
  60. Drivername=mysql* U. M, B7 h7 \# ^
  61. Database=test& w$ e6 w# c: s! F/ i
  62. Hostname=127.0.0.1
    9 }3 Y' f  ]6 r0 c
  63. User_name=testuser: B! F; b# A( P, c. ?
  64. Password=my_password
    ) m1 q7 }: b! ~- m  H- R8 O0 Z
  65. GetDriverFunc=getSQLDriverMYSQL
    ) y$ V+ B* g* [* M
  66. VendorLib=libmysql.dll
    ( D" R! X7 O2 I3 M- M, D
  67. LibraryName=dbexpmysql.dll5 Q( l' {; l" B* t' z2 Z
  68. Active=1& n" T' K4 G  k' D( }
  69. ---example----
    # W3 ]) J! K' R5 w
  70. - written 02.03.04 by pwk.linuxfan. w8 u3 p# G  |" `7 |5 x, `
  71. . h/ g( b% {& ~, m$ r
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
2 L* ^3 Y& K1 c2 ]

  1. ! L" t4 ?: j$ v# y6 Q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### - ?0 B) W* e$ y! w6 f5 o1 w" U% U

  3. " k- S; s0 Q, R% D; b) z/ k1 Q
  4. # # #我们所需要# # #
    2 l* I/ b- U0 O/ ~- Z$ d; ~" f
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    # N+ O6 D! o! I" L( Y6 i3 {" |* w
  6. 不会解释如何做到这一点-也有文件存在,为
    + r# l, u! y. |- H
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    " E5 v; x6 H9 r% D1 s3 d
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ) C, n" ~, y; e( N7 U2 p8 [8 _
  9. 随着数据库。此外,你需要一个卖方图书馆安装于; w: l0 M( h  C% @9 y/ }
  10. 本地机器,这是我的MySQL安装。
    6 V& v4 V1 r, E' }/ B
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    / M$ l2 D) N/ l: c/ G
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ) ?) z0 B  K$ u6 z) U5 N3 U
  13. 数据库。 $ q* ^% z: @5 w& ~6 J
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在' _/ U7 f' M3 ]; i! P* Q
  15. 编写本报告的时候,仍然有太多的问题-检查现状: a2 \- B4 D, [$ s
  16. 在teamspeak论坛,如果你有兴趣。
    0 z/ \: s6 P" L
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    - y8 g) b8 h" t5 |0 \
  18. Borland公司使用。这个司机只能界面与客户端库& [4 T$ d6 T$ g2 v
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这% p# y, j" T* l" q# h& C+ I
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为# B7 ~3 i& r! d7 i. j
  21. " vendorlib " ,并解数据库连接。
    " [3 {# R0 W. u
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 " X! j- i4 ]) O# J# f

  23. ! t8 @( i8 u  [- f$ E/ W, i
  24. # # #做好工作# # # ( n1 }/ A# a6 W; X5 C* s2 j7 R+ C
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都, a0 m5 @  k/ A) ?  r, `
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在8 H) h$ Q+ s8 H3 J. P. ~+ {7 I
  27. 结束:
    8 T5 N3 I3 N6 W- x8 ]( c
  28. ---削减这里---
    2 ^& f  D) U* T  \; F$ q
  29. [ dbexpress ] . f' C2 x1 Q$ @0 p# e) x
  30. sqldir = mysql_sql 0 ?; p6 ?, h% Q  Z4 N) B
  31. drivername = MySQL中. a1 g' G( _, n* x, n( n
  32. 数据库= your_database_name_here 9 k! ]- T5 T: v6 w, Y
  33. 主机= the_pc_the_mysql - server_is_on * L0 d- N% }) X& P
  34. user_name = user_name_on_the_mysql服务器2 r. R, s% M2 ]4 T( o3 D  V- N
  35. 密码= password_to_go_with_above_user_name 5 E) ?! M# Y  z# J, \; f" R9 i
  36. getdriverfunc = getsqldrivermysql 8 C' F( C- s, l- m" A8 T# ~9 V
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib % w2 q$ |, T2 j3 y. t7 I3 h
  38. libraryname = path_to_libsqlmy_libary
    3 u9 ?1 I  @' Z. y# N7 q& J* b5 \
  39. 积极= 1 $ o2 p+ M! j" \( T
  40. ---削减这里--- ( _) S/ |% ]8 x: Y
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    / K8 L7 n+ g8 U. \+ t& `
  42. ---例如---
      ]9 R6 `* g4 Q" H
  43. [ dbexpress ]
    / R, h. \0 W6 _- l6 l
  44. sqldir = mysql_sql 2 ?2 ^7 Y9 e/ ~
  45. drivername = MySQL中
    / Z3 o$ m/ Z# Q0 ?+ `
  46. 数据库=测试, k4 h4 }  S! d9 [$ H
  47. 主机=本地主机& j4 |- X2 a* X+ f6 _! d  Q4 o9 u$ F
  48. user_name = testuser
    , K6 K5 _# z" s/ Z# x9 z5 K
  49. 密码= my_password 1 _8 ?* g6 p1 O) C5 v, X
  50. getdriverfunc = getsqldrivermysql # q' D$ n4 Q6 [. {4 g
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
      h% ~7 \9 P" L4 i( c4 L
  52. libraryname =. / libsqlmy.so
    7 j+ W( w( F9 K  C
  53. 积极= 1
    * `# x" X2 P. i; N$ t8 K! b
  54. ---例如---
    0 i+ m# }; X1 R% n- ]. K

  55. 7 Y" o7 H* r2 v9 P
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 7 b# T  T4 f3 l, E; \
  57. ---例如--- 2 Q1 A# x/ k' k- h  ~) ?! T
  58. [ dbexpress ] 5 C6 D9 \" P, e* w6 j9 o2 r! D
  59. sqldir = mysql_sql : o; L6 d( R* A5 v* P1 \  J+ V  a
  60. drivername = MySQL中
    # ^7 z3 B* z6 Z& M9 F* O- U
  61. 数据库=测试3 L: a- Q4 [' F/ h5 Y9 V2 L% m
  62. 主机= 127.0.0.1
    ' G1 K4 c& A: ?+ m$ P/ R5 S: l! H
  63. user_name = testuser 5 F5 ^2 }& ?% f0 _: ?/ ?5 Q, p+ D
  64. 密码= my_password
    " f+ N& f2 c( V, K' {
  65. getdriverfunc = getsqldrivermysql
    0 O9 [' H$ B# ~# s# b  t
  66. vendorlib = libmysql.dll在1 {( D5 L  B3 Z3 v0 }4 }: E
  67. libraryname = dbexpmysql.dll # P' K- f$ g6 G- w9 o
  68. 积极= 1
    ) h5 F& U; l1 d' ^& c& y. y
  69. ---例如---- 3 d( R% V) L, S' D: G: ?" f
  70. -写在0 2.03.04由p wk.linuxfan' m9 b- ?0 V" }/ m7 O2 o  J$ l
复制代码
发表于 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
2 b  B1 l, B# i2 t2 R. {1 y! \1 c5 P( P1 I% O* a7 i  [
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-10 04:28 , Processed in 0.095923 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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