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

2344 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan : J2 R: \" x. c/ f2 y! o
0 N' r7 b4 a% g2 w7 L: n

  1. 0 H& T$ i3 ?* l9 \
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######+ C) C! F  D& o. d# N
  3. 5 {' s0 j: a4 v' X; D
  4. ### What we need ###( t& ~1 v$ ]3 r/ t& x
  5. Naturally, we will need a MySQL server to store the data for us, this document ( v' j. T1 X- y# N* N
  6. will not explain how this can be done - there are documents out there for the 0 }; f4 Z0 f5 m- q* S0 R2 V, U8 `" K
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    7 E5 a/ z! @' `( ~3 ?- a& v
  8. and a user account (username + password) that has the permissions to do stuff
    , g, e. [7 Q/ L" ]' x. R
  9. with the database. Additionally, you will need a vendor library installed on the  w" _* G6 i' z9 Z6 n! q
  10. local machine, this came with my MySQL install.+ G; x. o; U5 {) Z
  11. These instructions will not tell you how you might transfer your data from the( U1 B; ^) y0 a9 b
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    : b- }6 E+ K  O/ {8 E# Y/ t) e' _: z3 L
  13. database.5 T+ {) n( w/ w: k" J  U" j9 Y1 K6 H
  14. Some users have reported ways to import a SQLite database into MySQL, but at, ?# r! {3 r) s- c5 x
  15. the time of writing, there are still too many issues - check the current status
    ' M) T  Y8 I  q+ i" g1 k
  16. in the TeamSpeak forums if you are interested.( V$ M( @& ?0 b3 @- A5 N
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    4 B3 t7 W- k. A  K4 T- G, U
  18. Borland was used. This driver can only interface with the client library that ! P# a- A& F) |7 A
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this7 e# C: |1 Y/ Z6 [7 X
  20. client library - basically all you have to do is to use a 3.x client library as
    # Y0 Z5 g/ h7 X+ u! i* f
  21. "VendorLib" and a 4.x database to connect to.
    , @. K% W, J1 e5 t1 |3 a: m' c
  22. If you need more info about dbExpress, you can contact Borland.
    1 z9 j  r9 B: w# r- |
  23. 4 ?# \" s% o. Y4 z: M
  24. ### Doing the work ###
    1 V0 H# F) X$ ~8 N, y6 h
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    & _# e- {" h- i
  26. the perquisites right, just open your server.ini file, and add this section at
    - X& B+ U7 y' n4 x5 R4 T
  27. the end:
      g/ Y) H& \/ A  ~
  28. ---cut here---+ E" t  r9 g, |1 L
  29. [DBEXPRESS]
    2 F' c& e; A8 {" Q) b
  30. sqldir=mysql_sql) d( t& M2 z8 ~4 n& G/ L4 M
  31. Drivername=mysql
    5 e0 [- v  o" n1 S- a
  32. Database=Your_Database_Name_Here; E; q3 R+ y& C* T2 f
  33. Hostname=The_PC_the_MySQL-Server_is_on
    6 Y% v: J4 D, S; j# C
  34. User_name=User_name_on_the_MySQL-Server
    * B* b" L4 Z0 ]8 t6 c. R5 {
  35. Password=Password_to_go_with_above_user_name
    & Q6 B8 G5 w2 F+ @$ [( j( q+ {$ h+ B
  36. GetDriverFunc=getSQLDriverMYSQL& P/ p) j. @+ O5 |$ [$ \9 }
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    6 G$ ]  j. w0 S8 d; o6 A
  38. LibraryName=path_to_libsqlmy_libary  T7 ^2 N1 D5 z" X( P1 O5 `
  39. Active=1* t8 r3 u. f( W8 |: t0 Q
  40. ---cut here---6 ?2 R/ d% L; j) ?0 I0 x5 Q
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ; ~- Q8 b1 u6 g- j! n1 Z' C
  42. ---example---' R1 h7 m: s' _
  43. [DBEXPRESS]9 k5 g9 K# D6 G) l0 I5 J; b+ C
  44. sqldir=mysql_sql+ Q+ S4 }4 L, J! a
  45. Drivername=mysql7 M/ f9 g, L$ t& x
  46. Database=test
    / o1 O6 b+ |- O- l2 Z
  47. Hostname=localhost
    0 ~# j+ r: t+ E
  48. User_name=testuser4 q- R* q5 u7 i) p
  49. Password=my_password; k4 A" Z* g. w, N; y1 s
  50. GetDriverFunc=getSQLDriverMYSQL
    ( R+ A6 I5 m% E) |0 u
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.03 x9 l' \$ h: T' w
  52. LibraryName=./libsqlmy.so
    2 ^" h: S* {1 z7 g; p& c4 f
  53. Active=1/ T: i0 L# z: W! e, c
  54. ---example---
    + h' s' p4 P2 j+ ^

  55. . i& H& i' _( n1 {2 ^
  56. On a windows box, also running the MySQL server locally, it would be:# M9 F2 Y, |8 U
  57. ---example---
    * c6 R3 P' E, ~8 b% o  {" Q: j
  58. [DBEXPRESS]6 o. m. D% k/ J  f9 T5 j& `* e
  59. sqldir=mysql_sql
    % y! Z& C) ^/ P2 J
  60. Drivername=mysql
    $ Z6 }7 g2 q0 s. Y  b3 @
  61. Database=test
    ( h$ F' I0 ?; Q; I+ y( t. Y
  62. Hostname=127.0.0.1
    / g  J0 @* m. q4 L5 P
  63. User_name=testuser8 T! t5 |* ], r/ Y
  64. Password=my_password
    ) V: t# ^  I' K0 q/ P
  65. GetDriverFunc=getSQLDriverMYSQL: g9 z6 |" ~* V. p! Z
  66. VendorLib=libmysql.dll
    6 A! p( u6 Q! o, H
  67. LibraryName=dbexpmysql.dll
    0 S% a2 X* [: G+ p7 n3 u. X% M' Q, m7 v
  68. Active=16 f( ?' U  O3 q& D, V+ ]7 A
  69. ---example----2 H: \( ]2 c' t; F6 |2 _3 x
  70. - written 02.03.04 by pwk.linuxfan: U0 j0 M$ J3 p# D3 U- N

  71. 9 i  f+ i& l  O4 b7 W" f2 ^
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看: y8 g8 }, W: M4 o8 ]" b8 b6 c

  1. ( z7 j4 |0 Z% S4 F5 n. P& J8 B
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 3 r1 {( H- N! q9 T3 r( I, O( v

  3. 7 q1 o9 O+ {$ t7 S/ P% ]  G& H+ L- k
  4. # # #我们所需要# # #
    ( i9 t8 ?; x. {3 i* d# o
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件' N  \" [& x1 o' o6 T
  6. 不会解释如何做到这一点-也有文件存在,为
    ! L6 e( ?. D3 p+ Z' |
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用1 f2 E3 V, Z9 s1 x, R& y; v2 u4 @
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西$ q* p  }1 E5 {2 d3 t$ B1 M& I+ U
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    & h" j. B; b. v( E+ `% T: h6 H9 Z, B
  10. 本地机器,这是我的MySQL安装。
    . f- {% C  N7 X1 u9 }9 H3 s; L
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ) U7 N, E# H& B# c/ x
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 6 A; b2 w( r7 b$ X& P5 u0 ~+ B  m
  13. 数据库。 $ a5 W- F* N3 y" Z4 u" |* [5 {
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    % q6 s! c* q; `7 j) Z8 Y
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    3 d4 t  T$ M! a9 V3 ~; l
  16. 在teamspeak论坛,如果你有兴趣。 + n# M7 V: u/ N2 s# s* ~$ D
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    1 r5 {5 J; _# C+ W* q# F! E8 [
  18. Borland公司使用。这个司机只能界面与客户端库
    ; a# t# `6 d$ R3 C% N9 e
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    / ^4 N. t1 A- a9 _
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    $ o4 C( ?9 b1 G5 v, I, }8 v
  21. " vendorlib " ,并解数据库连接。
    7 o2 F% l* o* {' A3 G
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 : N  B5 y: A- M+ U0 ~7 ^
  23. * y+ r( \8 K" o7 {3 f' n
  24. # # #做好工作# # # - ]& @4 e7 x' I0 |2 g* m
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ! M2 t9 j4 y7 K& w% S
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    . |& y: C" [# Z! e& J
  27. 结束:
    4 U7 ]+ X6 @: }8 W$ j
  28. ---削减这里---
    ) ^; y, F- U- ~! H* i2 W5 X
  29. [ dbexpress ] # Y% ^  V: d. q# e# z/ }
  30. sqldir = mysql_sql
    5 H) u' _6 r! L) q( u7 K- N
  31. drivername = MySQL中
    5 ]0 ?1 E2 H: ], g# W: j
  32. 数据库= your_database_name_here 0 n2 s# m5 Y- M) t! d( I; P( V
  33. 主机= the_pc_the_mysql - server_is_on
    - N( t4 ]  B* `$ i5 W- p9 N
  34. user_name = user_name_on_the_mysql服务器
    ; G0 n( b( N3 U1 L8 p6 B' D
  35. 密码= password_to_go_with_above_user_name
    9 u# ]. \0 g* ^. R2 v2 N3 [
  36. getdriverfunc = getsqldrivermysql
    5 D2 D' o) `; l7 s/ f$ i  N: b/ T
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ; k0 i7 b: {( w1 ?! o
  38. libraryname = path_to_libsqlmy_libary 4 i0 s; x# Z. i9 q: f
  39. 积极= 1
    5 E' N7 L1 q- @
  40. ---削减这里--- : M# t  g; S" q7 ^
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    & m4 V/ ~% h& l3 T, t& F0 L
  42. ---例如--- 0 J) a( C* `) v6 M) q
  43. [ dbexpress ]
    1 c1 G' a5 [' Z6 a+ A
  44. sqldir = mysql_sql
    $ D. k" k. M6 f
  45. drivername = MySQL中
    ; I2 g9 [$ |8 m
  46. 数据库=测试
    ; Y4 L8 y  r/ w3 b& p% }: @# u. M
  47. 主机=本地主机
    2 ?! e' w# {8 `1 L6 p. N
  48. user_name = testuser 2 c9 W% n, R9 A0 J
  49. 密码= my_password # r. h, P) q" p5 m2 Q" E5 @
  50. getdriverfunc = getsqldrivermysql   {8 [* z) m1 \0 B4 J( W' e
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    * X  z1 k" E) @* d! O
  52. libraryname =. / libsqlmy.so 3 A8 G- R" {8 X) m! X
  53. 积极= 1
    : m3 U) T/ z9 q, B3 Y
  54. ---例如---
    7 o; T- w; t" ]4 s. C

  55. 7 l0 _- c. j7 }
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ; ^/ {+ ?* e  \+ t. I! K( T
  57. ---例如---
    8 d+ ?* K+ h2 M( p( r0 I
  58. [ dbexpress ]
    ' R3 ^' _$ S; ]0 j
  59. sqldir = mysql_sql
    4 S: w# h- a2 y* Z9 @9 z1 I) T
  60. drivername = MySQL中6 C: e) g7 d: I* j7 u' N
  61. 数据库=测试
    ) w3 K; J: K) ~. q
  62. 主机= 127.0.0.1
    . b) y8 d, U' V: Y8 T8 G
  63. user_name = testuser : W) l3 Z8 g* p, @, ~
  64. 密码= my_password / t9 L2 ]" Y. C6 _: h; @6 w
  65. getdriverfunc = getsqldrivermysql
    9 w# h' O: h6 h( x( ]+ P
  66. vendorlib = libmysql.dll在
    # Z- U, Z, n, q6 g; n
  67. libraryname = dbexpmysql.dll
    ; `3 b% o2 m4 J0 V; A. F
  68. 积极= 1
    7 t8 A* f3 q9 }# p& F
  69. ---例如----
    * s; y: j% D9 y5 y, U
  70. -写在0 2.03.04由p wk.linuxfan' L4 t* L2 k7 L1 H  ^; @
复制代码
发表于 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+ F  L! q8 ~. ~, O4 B0 B6 s

/ |4 x- H5 `, B/ B4 z" fbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-27 20:46 , Processed in 0.107823 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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