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

2548 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
" {% H% k) j7 A# Y) e
: Q" X. S3 Y2 x6 I; S
  1. ! a7 c' t) G; L. y
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######  K8 H+ h  K) F6 _# F: E/ R

  3. 6 k2 R* M: `& ?/ P# h. j
  4. ### What we need ###
    4 m( x3 x# X5 T
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ( j5 S9 F7 j2 a8 a) p
  6. will not explain how this can be done - there are documents out there for the
    , g2 F1 ^0 G/ ^2 Q; Y& T) u
  7. interested. The requirements include a (empty) database for TeamSpeak to use0 O! v( b/ Y0 L
  8. and a user account (username + password) that has the permissions to do stuff0 l7 e* B( }( ^
  9. with the database. Additionally, you will need a vendor library installed on the
    ) U9 I2 Z% g+ x% O; o9 J
  10. local machine, this came with my MySQL install.8 J1 Y. s2 c7 A- h  z( g
  11. These instructions will not tell you how you might transfer your data from the
    ( j) b6 F3 M# J8 m, Y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL; I5 b( T  K7 C! A
  13. database.
    * @" n/ \' k+ q: M
  14. Some users have reported ways to import a SQLite database into MySQL, but at* j) {9 r# Q( j( a% L# B  i1 y
  15. the time of writing, there are still too many issues - check the current status9 v# k7 J2 f7 E& G% x
  16. in the TeamSpeak forums if you are interested.
    9 U6 C. w) a. p- S; ]3 \
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from3 O! ^( T$ e$ H; y- Z/ s3 D  U
  18. Borland was used. This driver can only interface with the client library that ; r' }2 X" ?2 _1 ~' d
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this2 B7 s: c  ]. v8 K& ^
  20. client library - basically all you have to do is to use a 3.x client library as
    8 p( f0 s8 |  D3 Z9 P
  21. "VendorLib" and a 4.x database to connect to.
    $ u; v0 x4 R8 |* ]
  22. If you need more info about dbExpress, you can contact Borland.8 p5 K) x! l, A6 e

  23. # x6 v7 {; ]8 h' P8 W3 t2 i6 B; \: K
  24. ### Doing the work ###
    2 b3 |& o2 @0 h0 t' x. G
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    : m/ S- k3 @: w* a7 K6 {/ ]
  26. the perquisites right, just open your server.ini file, and add this section at% u$ f# p8 V" k1 ^
  27. the end:
    0 O- e8 F* j& \1 o) D2 \  O
  28. ---cut here---+ L6 e& V0 k( r- U0 h/ d
  29. [DBEXPRESS]
    3 w% H' S% u4 N$ I% o
  30. sqldir=mysql_sql4 G4 g7 P: y" g( W+ G% h4 D+ x
  31. Drivername=mysql( B% i& x" G/ u1 \, r; p
  32. Database=Your_Database_Name_Here
    0 L$ M" p# w4 D* F
  33. Hostname=The_PC_the_MySQL-Server_is_on5 T, `' a7 G( T) q$ V
  34. User_name=User_name_on_the_MySQL-Server  V0 t% i, e/ t3 r9 p
  35. Password=Password_to_go_with_above_user_name
    : C  N; o7 G0 \# `2 g0 }' I, X
  36. GetDriverFunc=getSQLDriverMYSQL; Y/ ?4 h; f" `
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    * l. v$ H8 K7 n& C2 c6 K
  38. LibraryName=path_to_libsqlmy_libary( |/ K* p& W( }. `0 N3 \
  39. Active=1
    . Z: r( d1 y$ w9 S6 `
  40. ---cut here---
    9 {" T* R- |5 I+ H4 f" p4 s5 `
  41. In my environment (a linux box with a MySQL server running locally) I have:
    : l9 J3 D  ~7 O% L9 b
  42. ---example---
    ) y; f: g$ m' F4 B
  43. [DBEXPRESS], [& x! D: O; Z! d/ p
  44. sqldir=mysql_sql' [$ T5 x) u: d; P
  45. Drivername=mysql
    5 L. `7 u' o' h* h: ]' k
  46. Database=test
    ) w% q9 ^- \3 m/ V3 s: I
  47. Hostname=localhost
    2 \, W( i7 q# g( `  j7 \2 N( q7 i
  48. User_name=testuser3 X1 L5 r! m3 Q8 ]; u
  49. Password=my_password+ I" U5 [) Z; R% a
  50. GetDriverFunc=getSQLDriverMYSQL
    9 ^3 g( E7 D8 z3 Z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0; F$ S/ H7 P' k0 V
  52. LibraryName=./libsqlmy.so2 p/ |, R* ]1 z3 X
  53. Active=1
    3 H4 q0 @% [" v6 g5 y1 J- {
  54. ---example---7 s! I* E' [2 |+ Q2 ]7 q

  55. ! [* d* [. v8 E8 X
  56. On a windows box, also running the MySQL server locally, it would be:
    " H3 t& Y- g+ x0 h
  57. ---example---
    % o2 R- ~. |4 O
  58. [DBEXPRESS]' R) C! E/ c. l: ?, {5 q* U8 e  \3 O
  59. sqldir=mysql_sql$ [  N! `1 w5 P  @; D" Q% D/ Y
  60. Drivername=mysql; A& [$ ?. v4 E( ?- y
  61. Database=test3 D4 V& W& j7 w0 O9 r
  62. Hostname=127.0.0.1# k$ z+ a6 _. t
  63. User_name=testuser) W. \. I) A/ v
  64. Password=my_password
    8 }" c& O* O4 b9 i0 m6 Y
  65. GetDriverFunc=getSQLDriverMYSQL: V; \2 a7 |, x/ c3 a
  66. VendorLib=libmysql.dll  u( a% s+ \" [
  67. LibraryName=dbexpmysql.dll; ~- f4 P! B  Y% p6 c
  68. Active=1. |6 [& ~% Z7 W+ ]! n& J9 N  g  \
  69. ---example----
    5 W# p# c& M/ R) B  n
  70. - written 02.03.04 by pwk.linuxfan% H% P# A0 S( M# U
  71. 4 R. W. W. F0 s, o" g0 X7 C& P0 j
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
! W! I1 Z2 z1 O0 w% f: ^- ]- n
  1. * I: @) l, s* t  X# H+ P. K
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    / Q0 c  g( E7 c# o. A- x

  3. " g  ]- \, g4 u* G  {2 L
  4. # # #我们所需要# # #
    : P6 U1 Q) u% Q2 n9 S& G: @! r
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件4 A# O( j/ t. h  {6 t: Q  q
  6. 不会解释如何做到这一点-也有文件存在,为
    5 v* J3 C5 F3 I- a8 t4 i
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    0 d$ ]' @3 m# O  U
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西; Y' B# `" i! v- [
  9. 随着数据库。此外,你需要一个卖方图书馆安装于1 C4 D4 I/ u; A! k; ^9 {
  10. 本地机器,这是我的MySQL安装。 3 j  y3 u/ G/ `
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    / K1 }* A, l3 `  T% z4 S$ [
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ( K  m1 O) _2 Y8 X+ ]
  13. 数据库。 * z$ O9 S" R1 w# V# ]
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在3 d$ z% ?/ b, Y4 t
  15. 编写本报告的时候,仍然有太多的问题-检查现状( \# P7 O* T* ]3 N, q$ |4 x/ f( Z
  16. 在teamspeak论坛,如果你有兴趣。 $ L3 I" [0 i4 J
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    3 z8 N& \6 v% u1 X8 |1 \
  18. Borland公司使用。这个司机只能界面与客户端库
    , Y, }9 z2 d9 Z
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这* s1 n. ]% [; z4 k
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为. f/ [0 a6 E) j2 c1 K
  21. " vendorlib " ,并解数据库连接。
    1 _' y5 f! p4 S
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ) e( U* Y) q2 f+ f8 e

  23. 2 o; B2 g! r& b2 M$ b- b+ c. H
  24. # # #做好工作# # # 1 z( m1 @- l( d% K
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    1 i9 j, e6 C! R) B4 A6 w7 M5 _
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在, V' y+ ^: [& W8 {' P/ e* e' a
  27. 结束:
    " R2 p( r2 r5 `$ x; p
  28. ---削减这里--- 7 i) ]- r$ R1 `! a
  29. [ dbexpress ]
      _1 h8 W" O  f! v, Q( w: C$ G! `
  30. sqldir = mysql_sql
    ( C/ p1 E, y- B
  31. drivername = MySQL中
    ( M; o0 h. m) T/ y- r
  32. 数据库= your_database_name_here " c. @7 [% b; k% _$ ~5 Q
  33. 主机= the_pc_the_mysql - server_is_on + W8 W; R  J( K
  34. user_name = user_name_on_the_mysql服务器
    . E1 U$ K: k  O
  35. 密码= password_to_go_with_above_user_name
    + R, a4 s! F: u7 ?; j* O* U/ c* s
  36. getdriverfunc = getsqldrivermysql ' p( [% m4 L/ z& o8 c
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ; A& P9 U! v5 n, Q
  38. libraryname = path_to_libsqlmy_libary   k7 H# S! i3 `5 G2 k# ]. Q: l; r
  39. 积极= 1
    ! M! k7 H' e6 l+ i
  40. ---削减这里---
    " j) ^. b3 V7 a8 a/ ?, C8 H4 G0 X( Q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ; L) Z% W) w' L
  42. ---例如--- 7 g5 l6 X" B9 L2 Q4 C
  43. [ dbexpress ] 3 s/ Z% \( W, e9 |1 P$ o( D
  44. sqldir = mysql_sql
    # z7 {0 i3 \3 t7 _1 w4 [) j
  45. drivername = MySQL中; D* @3 `* M3 _; `/ W
  46. 数据库=测试" s( ?* K. J# b+ F% G
  47. 主机=本地主机/ o# |! t8 I* l' W" y
  48. user_name = testuser
      I4 ]7 ^0 N- q9 s- d) r$ m
  49. 密码= my_password 6 i# X% O! y; V% N! F& U. u
  50. getdriverfunc = getsqldrivermysql - v' G- {, n# w; t8 U- I2 x7 ?
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ; _3 a, h, @3 t4 X' _, t8 e
  52. libraryname =. / libsqlmy.so
    ) p/ V9 e/ B4 P7 [% \1 G
  53. 积极= 1 . b( G; O" {/ _
  54. ---例如---
    : \: Q' H$ E: }
  55. 6 H6 ^/ s0 Q6 ?' s' A9 s+ T
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    3 t* V+ R) G) b* a9 a5 T
  57. ---例如---
    : }( |5 V) g  l5 K. ~7 N
  58. [ dbexpress ]
    & L' g; e, p) C
  59. sqldir = mysql_sql
    8 [( n% F4 l/ C+ o8 }0 e1 ?
  60. drivername = MySQL中: l( r) f2 H$ u$ W
  61. 数据库=测试2 p- G4 m# L) r2 y) {0 w+ o6 Q4 P7 r
  62. 主机= 127.0.0.1
    3 r' {8 U1 @8 p3 f  s$ a
  63. user_name = testuser
    & w& k6 g. d& j6 k8 v& M4 |
  64. 密码= my_password 3 L/ s+ h( A5 o, `, G# M* U
  65. getdriverfunc = getsqldrivermysql
    . {/ m; P- C! J8 f
  66. vendorlib = libmysql.dll在/ A6 {2 S$ v. e1 M$ E7 ?8 A' R4 z
  67. libraryname = dbexpmysql.dll 3 f& i6 O9 {0 m& r2 t
  68. 积极= 1 9 _+ m. e6 |' y0 \# n
  69. ---例如----
    - q* {' P+ D$ f0 U' l0 a0 X" _, N
  70. -写在0 2.03.04由p wk.linuxfan
    % k6 U6 Z" g3 A8 }7 q$ \/ ~
复制代码
发表于 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
% u) }3 j* m* k8 F- O, z  Y7 b
7 g9 z/ I8 f; r7 x% _* }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-24 02:21 , Processed in 0.097818 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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