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

2989 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 2 c  H# v. W: g- O' P' U6 `

+ t2 y4 D3 n* h) X4 h" U  z
  1. ! @9 S( a# c' J. [7 g3 s. j
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######4 n3 p( y" z( V: h. N- X

  3. $ ~( k7 @6 O) \9 h3 @
  4. ### What we need #### c  s; ]( i: m$ u  a2 E# J
  5. Naturally, we will need a MySQL server to store the data for us, this document ( @5 r5 }( r" Q$ Y' H8 L
  6. will not explain how this can be done - there are documents out there for the
    3 Z7 E# y7 \) u
  7. interested. The requirements include a (empty) database for TeamSpeak to use4 U& U) V% a. w1 P/ v! ~) H+ P
  8. and a user account (username + password) that has the permissions to do stuff9 S5 Q5 ]+ T9 ~$ h& {
  9. with the database. Additionally, you will need a vendor library installed on the
    / L. G4 f- I9 A4 y
  10. local machine, this came with my MySQL install.- u0 Y% }  D3 g, S
  11. These instructions will not tell you how you might transfer your data from the# \/ F8 I0 p6 ]! H
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
      p1 {4 z* H. @( Z+ c& A
  13. database.7 A5 ~, F9 v  N( a8 c  z- q
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    % B8 W. L# b8 J5 d# |" Y! p
  15. the time of writing, there are still too many issues - check the current status- _6 d0 ~2 X9 D2 g! y+ @
  16. in the TeamSpeak forums if you are interested.& Z2 z0 R+ P$ `$ v( w) s" I' p
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from7 ^2 R1 G& H( g  t: x
  18. Borland was used. This driver can only interface with the client library that
    4 @! ^8 `! m3 y7 B* M3 V
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    / s9 W$ M. O; w! T  K
  20. client library - basically all you have to do is to use a 3.x client library as ( U' ?) z% {8 [. `: R& l7 S
  21. "VendorLib" and a 4.x database to connect to.2 `" L) o5 b- d
  22. If you need more info about dbExpress, you can contact Borland.
    1 N/ D/ e/ P, s( a& A( l& `

  23. ( F- t' J. f5 X" z) F$ C2 x# ~
  24. ### Doing the work ###
    3 O1 F" Y0 w, I' J  c6 v
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    . h4 |. I3 e$ j- e( C$ Z; K
  26. the perquisites right, just open your server.ini file, and add this section at
    , O5 }5 z, E, f& p. A
  27. the end:* V0 b. \' |& g6 {6 e
  28. ---cut here---( ?' U: s1 F+ |
  29. [DBEXPRESS]( }0 {( q2 ?, Q* }/ ^
  30. sqldir=mysql_sql  p& c# T! e* F5 t/ Z2 N, w
  31. Drivername=mysql
    - I1 f, y' r% F* {/ v
  32. Database=Your_Database_Name_Here* q% q1 W' I9 x* @( o" k( @& E
  33. Hostname=The_PC_the_MySQL-Server_is_on0 }1 M% `/ P" b- h
  34. User_name=User_name_on_the_MySQL-Server! z2 P6 L" y) K/ i7 ^
  35. Password=Password_to_go_with_above_user_name0 s. {5 h" S& G3 o3 C- H
  36. GetDriverFunc=getSQLDriverMYSQL0 i( q4 c2 C4 P0 _. I) S
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    9 l0 a" G4 i4 \
  38. LibraryName=path_to_libsqlmy_libary  G1 K4 N' j4 `+ P. `4 \" A
  39. Active=1
    2 [7 U. J$ F# _
  40. ---cut here---5 |1 x. N4 ~/ v& {; o$ A4 G- l
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / K5 L) Q( C8 c6 h% G
  42. ---example---
    + C# ^! x% V/ E" v" [! c
  43. [DBEXPRESS]; w+ e& D: b0 u! Y( Q7 n+ M
  44. sqldir=mysql_sql) r' K0 o9 b- u1 t4 x
  45. Drivername=mysql/ i5 L; R2 o- n* R# q
  46. Database=test/ P9 M8 j1 P0 d% R# s& S  w
  47. Hostname=localhost
    / j" b: N$ u) E8 L9 e0 ^
  48. User_name=testuser& d3 Q( X$ ~4 {& M# g1 |' O4 n
  49. Password=my_password8 Y. K( y# F# |1 F# _
  50. GetDriverFunc=getSQLDriverMYSQL
    9 y% U+ e. K/ c4 b$ c
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ; ~; d# W7 G4 O" \" k) T3 W
  52. LibraryName=./libsqlmy.so2 ~: Y+ o2 B- |
  53. Active=1
    + B* u/ [# G$ J( ~7 q- t) F
  54. ---example---
    ; d: S+ p9 G6 c

  55. 2 A. K0 B5 V! v* U" W6 a) U
  56. On a windows box, also running the MySQL server locally, it would be:
    , }7 Y" d7 u: i2 D
  57. ---example---
    2 [% o0 L8 q/ S0 J
  58. [DBEXPRESS]5 B% [/ [% w4 N
  59. sqldir=mysql_sql% G8 u5 s+ ?3 U) A
  60. Drivername=mysql+ d0 V) z" s: {  i. Y! i, j0 b/ c
  61. Database=test# o" j% o) C, G  u
  62. Hostname=127.0.0.1; ?  F4 Q/ ~$ M# [  T" L
  63. User_name=testuser
      w) j/ A0 `8 Q1 {: R& f2 |
  64. Password=my_password
    . O7 Y% e9 ^" b# a7 R7 Z) x- a
  65. GetDriverFunc=getSQLDriverMYSQL) B5 o3 e! n/ h& H+ S% d
  66. VendorLib=libmysql.dll  c! n$ k" n/ m4 A3 [0 |
  67. LibraryName=dbexpmysql.dll# x, z) e1 Y0 w3 e8 E: Q9 @% a8 h
  68. Active=17 S/ F2 P$ y  X. m! W1 X
  69. ---example----
    : l' n8 X: W  R# T; [; h6 ]
  70. - written 02.03.04 by pwk.linuxfan9 z6 h/ W  x' p& P( o: j$ n
  71. , N0 n: l; \8 N& N
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看: L  h9 D5 U0 y9 x; _4 V

  1. . S# u4 _" w9 a/ i
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    % p& H! c& B6 n! r2 d8 y

  3. ( u, h7 m: j- {8 I6 ^$ m" d# ]+ X
  4. # # #我们所需要# # # / a$ q) z# P1 g4 I3 @) V
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    " p; G) ]( w( @6 z# _9 ~/ v
  6. 不会解释如何做到这一点-也有文件存在,为
    $ b& e1 k0 x3 _$ A; _) M
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用" U  a5 s8 N% g
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西. P7 K% |8 k+ a  U. Z" M: r9 ^
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    - B5 F* q& k8 H0 ~
  10. 本地机器,这是我的MySQL安装。
    6 ^2 a- w0 z% ~
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    6 w4 E& F% h' B' J- E
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    / E% f- o# ]9 B: ~7 r
  13. 数据库。 7 `4 s, G9 r* [5 Z6 ^, l2 j: Y7 r0 [
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    / b& I: l0 u* a- i4 ^* c
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    . X0 k# z" s. Y# \
  16. 在teamspeak论坛,如果你有兴趣。
    7 X& G9 M$ h9 ^5 k
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    " X: g1 ~, q, ?! H" K
  18. Borland公司使用。这个司机只能界面与客户端库6 W7 d5 l+ Z7 M$ B* {7 l- @, [
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这; w: ]4 C+ R& @. ]. A
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为7 {+ q$ d( t$ Z5 V2 e/ M$ I  g
  21. " vendorlib " ,并解数据库连接。
    - l- k$ p) a% [
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 $ a& D: }: ^9 p- J, D8 t

  23. / X0 M7 p. K; s& S
  24. # # #做好工作# # # 7 ]. m' m& l+ m' E2 y* S
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    & Q$ c8 `) W% i
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    $ x! P+ W; \9 O7 W/ B) s  q
  27. 结束: : }6 v" w3 \1 Y) ]
  28. ---削减这里---
    ; A" F$ s+ e7 F. m/ T* H
  29. [ dbexpress ] : D9 q/ G4 h$ F3 m& ]
  30. sqldir = mysql_sql + L2 G* n; J  @% s& ~& s
  31. drivername = MySQL中( E% F9 z  v5 k/ d; w
  32. 数据库= your_database_name_here
    . A5 v; q9 |( D. Z4 A3 l; I
  33. 主机= the_pc_the_mysql - server_is_on ) `4 {. N; P$ k7 {, S8 H
  34. user_name = user_name_on_the_mysql服务器
    6 }' {7 p' y: l6 Y4 W
  35. 密码= password_to_go_with_above_user_name
    + H: W) a& B% k$ A, _" _
  36. getdriverfunc = getsqldrivermysql
    , I! l( V5 r9 z) z% C
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib + J% C) `, d& V; d7 [( I
  38. libraryname = path_to_libsqlmy_libary
    4 l& t. l" H6 U! [9 j
  39. 积极= 1 1 g) W6 Z& {  ]/ L/ A% T2 h# |
  40. ---削减这里--- ( a$ b; F# F/ l  v( C- o% l" o9 Y
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 2 W2 }/ x% t' x" o" t# m$ G4 z
  42. ---例如--- . R# g' R5 G- N6 X4 C& s) I
  43. [ dbexpress ] 2 e0 p7 z9 m* V& W, h
  44. sqldir = mysql_sql * j6 O7 t. v' p: J/ W0 ~3 z
  45. drivername = MySQL中4 k  @6 h0 H0 C& \' \
  46. 数据库=测试# s+ z  r/ ^  R; S. N
  47. 主机=本地主机
    6 f# Z3 r9 E( L% n$ S8 y
  48. user_name = testuser
    ) Z* Q: g3 t; c; B% |8 H9 I
  49. 密码= my_password
    % k+ a& B" C/ |
  50. getdriverfunc = getsqldrivermysql
    $ S) p# {/ G/ |7 z6 o3 v0 G: ^
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    6 Z% Q3 ]7 C; Q. \
  52. libraryname =. / libsqlmy.so & U% \0 p/ y8 \4 {4 t! P
  53. 积极= 1
    0 ^2 N% L5 X+ z1 |5 S  `
  54. ---例如---
    ; S' Y1 ]1 D, X
  55. 0 r$ s9 ?2 }! B5 `5 G* s
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 7 C  X" Q, j, J- V
  57. ---例如---
    8 k* g# J: K4 _7 J2 Q; _8 R
  58. [ dbexpress ]
    2 Q4 h+ f* d7 G* [1 ]$ t# x
  59. sqldir = mysql_sql ! O; K3 y" M' H" w
  60. drivername = MySQL中4 \6 `: h+ [& I( \; k. c
  61. 数据库=测试
    7 R. J2 X" C! L5 G0 V: T) W
  62. 主机= 127.0.0.1
    / D3 y5 d# y: D
  63. user_name = testuser # F. m  y0 }+ F! R- _" Z; ^1 v" Z
  64. 密码= my_password
    1 \4 Q" W. m2 g' S: f$ ^6 m
  65. getdriverfunc = getsqldrivermysql 6 l+ a9 ~4 U( l. M3 _$ w7 P7 n
  66. vendorlib = libmysql.dll在. y% L: G# p/ U8 K
  67. libraryname = dbexpmysql.dll 0 Q0 z6 b7 h. e# F, _" v
  68. 积极= 1
    : m3 x: n' \! e; I8 r: ^# w! U" |
  69. ---例如----
    * k5 S/ i* Y# y; b$ R+ I
  70. -写在0 2.03.04由p wk.linuxfan! R7 e! X  u7 v& M: d
复制代码
发表于 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% c! P7 M8 L; w4 }
+ `' O0 [  O9 Z
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-6 18:44 , Processed in 0.094974 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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