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

2452 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan + `% `. X; c" N/ C( j  }" N
3 S, {" O/ \" A" w6 H+ z3 p$ S

  1. # \( r! u+ P/ g4 U8 s% w
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######9 o- m2 L$ y" E7 n& z9 H+ m: R
  3. * U) G1 n9 E6 H" R& e& S! L
  4. ### What we need ###
    & \: `) M7 Q" E
  5. Naturally, we will need a MySQL server to store the data for us, this document
    & k! O3 i- M( U- u
  6. will not explain how this can be done - there are documents out there for the 2 n4 ^, }0 I' b) k) m% g8 W
  7. interested. The requirements include a (empty) database for TeamSpeak to use2 X- e& M. i( Y. Z* J
  8. and a user account (username + password) that has the permissions to do stuff; J* m6 }  M  I) u, j
  9. with the database. Additionally, you will need a vendor library installed on the+ V0 Q' O1 K, k2 c3 @  a8 D+ y
  10. local machine, this came with my MySQL install.
    1 M8 l3 w5 }. t  t
  11. These instructions will not tell you how you might transfer your data from the
    ; c$ \$ c: s3 \
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    / c1 A  [3 M4 U, c2 v
  13. database.: q% r. r) I- [. }9 ?2 \& i  ~
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    * e( |) U: W% A2 f: `
  15. the time of writing, there are still too many issues - check the current status7 t# m' u$ V, d9 a" }) p0 n
  16. in the TeamSpeak forums if you are interested.4 r; A* s, f% ?; b' o: x
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    . E, L. x7 h, u# m6 Y, [
  18. Borland was used. This driver can only interface with the client library that
    * `( v( ^5 v1 @6 V& i6 z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    . v6 e# V+ S9 I
  20. client library - basically all you have to do is to use a 3.x client library as
    2 E1 N* y) T/ L$ q) R& R
  21. "VendorLib" and a 4.x database to connect to.& G! `% b& f0 E3 ]. g. g. Z1 o) I
  22. If you need more info about dbExpress, you can contact Borland.
    + O7 d* B2 `7 F& h
  23. 9 a% ?1 C  s" S" y7 N
  24. ### Doing the work ###8 t& M/ u: o" z
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all, f: n6 M9 b8 K: m" J
  26. the perquisites right, just open your server.ini file, and add this section at
    4 r9 z: s, R: _7 X! v
  27. the end:
    4 a1 f$ d# _# v/ P* `* F; N
  28. ---cut here---" m, f' ^/ \0 N- f" K4 F# _/ k% F
  29. [DBEXPRESS]  m! Q$ m; J4 u6 A' o. @
  30. sqldir=mysql_sql
    5 ?) m7 ]* n' Y- z
  31. Drivername=mysql) c- s1 m" t1 M
  32. Database=Your_Database_Name_Here9 I9 B$ f- \2 R. L/ Z2 b- a# H
  33. Hostname=The_PC_the_MySQL-Server_is_on
    + G% t6 ]3 q3 ^  D, t
  34. User_name=User_name_on_the_MySQL-Server% B3 T, x, A8 g6 ~9 Z- l
  35. Password=Password_to_go_with_above_user_name7 I7 g, |- ^3 ?# U" L
  36. GetDriverFunc=getSQLDriverMYSQL
    2 W9 v0 C, [: R8 {6 {8 ?( N
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    / u9 H5 P& n. G/ T! m5 T  d
  38. LibraryName=path_to_libsqlmy_libary
    $ t+ q6 s5 K3 I. W' _
  39. Active=1
    , i# \- x4 a2 D6 R; u
  40. ---cut here---
    2 ^: t# s2 c5 e3 f- N4 n: ^
  41. In my environment (a linux box with a MySQL server running locally) I have:
    0 ?0 e  t( V# s9 _1 ~$ e
  42. ---example---& d0 W$ A! x- o6 H+ h1 K
  43. [DBEXPRESS]: X2 H  ?2 o' r6 u/ q1 ]) ^% w
  44. sqldir=mysql_sql' p. n6 @' l+ ~. z  {8 U) T9 Q1 L
  45. Drivername=mysql  t, M% J7 F4 K, k. g3 |" _  f. J0 K
  46. Database=test
    , ~0 ~: c+ f+ O% W' r3 U' B
  47. Hostname=localhost
    & j8 d& T) ^6 q% E7 `
  48. User_name=testuser" ?, i0 ^2 f9 X  ?: q
  49. Password=my_password+ l: k+ _# |$ |
  50. GetDriverFunc=getSQLDriverMYSQL6 r6 L' U2 j0 Z8 y
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0" h, X1 n$ Z6 E1 m
  52. LibraryName=./libsqlmy.so
    - s9 q7 I) t3 L# [
  53. Active=1
    $ D  j: ?2 d1 \/ K% C+ o9 ^7 U1 w
  54. ---example---
    + [3 F  p" A7 r+ q# F+ G
  55. * \3 G' T& E0 w$ n4 `8 V
  56. On a windows box, also running the MySQL server locally, it would be:
    ) a- ^7 ]/ {# ^  O  t& j/ A) x
  57. ---example---
    7 a7 W* g7 W% |4 h! F! E+ _
  58. [DBEXPRESS]* {3 G8 g( ]) K+ [/ a0 x: g$ p+ p
  59. sqldir=mysql_sql6 h1 e( ^# d3 s. L7 y2 l/ h
  60. Drivername=mysql
    + m$ O. E* r- d
  61. Database=test
    * q! P8 [, \2 T, e7 _
  62. Hostname=127.0.0.1- a3 [5 S9 ^, o0 E4 R) N
  63. User_name=testuser6 S* f. }( g! t# ]4 s2 H7 l
  64. Password=my_password
    2 y% `! D" l- L3 {6 u2 N5 s& ]
  65. GetDriverFunc=getSQLDriverMYSQL  N+ f* T. Q4 B7 K/ V4 N
  66. VendorLib=libmysql.dll9 v8 d( g% \( I7 U, `0 }: Z
  67. LibraryName=dbexpmysql.dll8 V* r' H) q6 s
  68. Active=13 S" \2 O# F9 ~9 P' p9 i
  69. ---example----/ E: j; B5 v6 A" q+ X3 s
  70. - written 02.03.04 by pwk.linuxfan) g  s# G+ u3 M0 M, q" M

  71. 8 n8 v2 h( J3 L& M) N: g7 t# @
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
! |6 k6 d* _5 \+ u

  1. 2 J% O! B- `* N; ]! B: C
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    / K! a' ~) T/ {6 Y
  3. 8 B* A1 }$ A; m0 T0 ]1 b
  4. # # #我们所需要# # # 8 F1 u# D/ P4 A) i
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ' V- `0 Y8 O' ?# |; t/ J4 [5 C
  6. 不会解释如何做到这一点-也有文件存在,为
    5 E7 [  W! L3 j, F. _2 l! _
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    * D7 B+ l- u5 _
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    9 B# x( t9 g3 ~# s" @" |& A
  9. 随着数据库。此外,你需要一个卖方图书馆安装于7 Y7 \  y) E# |% D8 \6 X
  10. 本地机器,这是我的MySQL安装。
    % _5 m' X; p, g, I0 u9 f
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从! U$ h5 n6 n9 a' o$ P
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL # [2 q9 O- y( I
  13. 数据库。 ) K/ s+ m' ^7 h& h% L) L
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ! s+ L. y: ^. P
  15. 编写本报告的时候,仍然有太多的问题-检查现状2 `7 u' u# X% f& K8 A
  16. 在teamspeak论坛,如果你有兴趣。 7 ~' A7 X9 I* l1 d" F0 a
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机9 ~: B( J3 E) T
  18. Borland公司使用。这个司机只能界面与客户端库
    # o5 N7 Y  `) s! j# w) ?$ u6 O
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    0 h5 K( p( h) h- @4 f* S0 @% _
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
      o: M$ b- v& _8 I2 @9 C4 |/ o
  21. " vendorlib " ,并解数据库连接。
    ( z% |- q' o+ Q4 o# D
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ' R; }6 Y9 t, ?1 d) ~, ]

  23. + _7 ^4 o, k  f5 q' A( ~
  24. # # #做好工作# # # : @# p4 y- ^. d! e0 h
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都4 Q) G% x3 P! j6 Z) F0 J8 M- v
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    / D' F( R% o5 u0 [
  27. 结束:
    ! M+ H1 `9 M+ D, Q3 z$ E
  28. ---削减这里---
    % k5 `. R- U4 y; ?& _8 |- G
  29. [ dbexpress ] % b6 r5 W! u; {! a/ q5 X4 B
  30. sqldir = mysql_sql $ W8 v! |6 C* N; X* l" D) G0 D) j5 r
  31. drivername = MySQL中
    & E8 o+ W. ?; A/ @
  32. 数据库= your_database_name_here # _: K: |; _, x
  33. 主机= the_pc_the_mysql - server_is_on $ `7 a& V: j6 g7 P
  34. user_name = user_name_on_the_mysql服务器
    7 _! t1 g, u( {: {+ u8 U3 F
  35. 密码= password_to_go_with_above_user_name : ^  W: g; t& s5 F
  36. getdriverfunc = getsqldrivermysql
    ! Z; i; J& `  k! C0 V
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    , @1 a$ E$ E& N; w
  38. libraryname = path_to_libsqlmy_libary
    ) \8 d+ J* E, b: n" T
  39. 积极= 1   J4 A/ v9 O1 k0 Z6 y* l  M) g
  40. ---削减这里--- 3 o( K- @& d" f3 u, E3 k- o- L
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
      e: [: G0 w# Z4 V# ?* u: @
  42. ---例如---
      w  w4 w! K- q
  43. [ dbexpress ]
    8 Q0 X- y( g  j. T- k
  44. sqldir = mysql_sql
    8 J4 }4 j: R- n: _% U
  45. drivername = MySQL中
    5 _6 Q: I% a3 |, b( i3 y: T
  46. 数据库=测试
    8 R0 Y5 }# g$ a+ \9 M7 v: |/ o
  47. 主机=本地主机6 u2 M- q0 w" {' A% o5 F
  48. user_name = testuser
    / g, v  @2 i+ J5 o7 K
  49. 密码= my_password
    . X6 }1 d8 c+ O( P- w0 m
  50. getdriverfunc = getsqldrivermysql
    " S; n6 Z! C- \  J, ~
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 : o" C0 w9 U" h  |3 \1 D) ]
  52. libraryname =. / libsqlmy.so ( p7 y; r' i; g% X9 i
  53. 积极= 1 ; c3 o0 l3 |. F3 R$ {/ |; Y& y( ]
  54. ---例如--- 4 e' B9 [0 z! |) D- z, c
  55. $ ]+ U8 m: w( r! R2 K- \5 d0 x7 E
  56. 对Windows中,也运行MySQL服务器本地的,那就是: % Q$ z! }; b; f0 ]' ?, V8 `
  57. ---例如---
    2 H$ h: Z! c0 d& {* Q8 _2 ^' w1 [
  58. [ dbexpress ]
    # ]$ I% F6 H( ~/ e8 @# s# i
  59. sqldir = mysql_sql - m: W4 ]2 a5 P0 {% `8 S
  60. drivername = MySQL中) J, @% w, o" c4 j/ B
  61. 数据库=测试
    , Q! W! [3 w' k3 e. P
  62. 主机= 127.0.0.1
    % w: q+ J8 X: [9 V2 \- m6 i
  63. user_name = testuser : d% {/ \) B$ f  `- I9 P
  64. 密码= my_password + b* ~- f$ L: y1 A, @! j, ^
  65. getdriverfunc = getsqldrivermysql
    7 @; c" G2 r3 N2 d' f
  66. vendorlib = libmysql.dll在4 D' E8 M1 U+ |' x+ @$ Y
  67. libraryname = dbexpmysql.dll / a8 f8 s' p+ e: _* t
  68. 积极= 1 1 k+ ~) ]( o6 g5 q7 S2 s/ w+ X, G: J
  69. ---例如----
    : w$ |' j) H9 y$ N6 ?* S
  70. -写在0 2.03.04由p wk.linuxfan
    / x+ l- d/ i5 D* y. Y9 |9 W
复制代码
发表于 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; F4 V9 d& K: q* {
4 R2 }% S4 U8 U
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-6 16:52 , Processed in 0.112449 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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