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

2950 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 1 p* H7 v4 k$ K* _+ M, [; r8 q
; F: U0 @* q! y9 k0 z% o, u

  1. ' @/ L7 U9 ~# F' M" O7 M' \7 w, s
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    1 P9 k, J: V  D8 D7 Z

  3. 8 R* X+ v" T/ B
  4. ### What we need ###
    1 B/ V+ n4 Y; s9 F' v3 z7 p
  5. Naturally, we will need a MySQL server to store the data for us, this document
    1 m8 ]+ ?  |+ {; e9 l: G
  6. will not explain how this can be done - there are documents out there for the # M: ^% @8 A8 M# X
  7. interested. The requirements include a (empty) database for TeamSpeak to use3 o0 A; ?. @* y+ p3 D. y, G
  8. and a user account (username + password) that has the permissions to do stuff
    ! B5 r0 b+ e6 o
  9. with the database. Additionally, you will need a vendor library installed on the2 s9 @. }1 ^! U* W0 O
  10. local machine, this came with my MySQL install.
    . S) S2 ]$ k3 e# Q+ K
  11. These instructions will not tell you how you might transfer your data from the
    9 v' k! s, D- |! s4 ^
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    8 \8 F' x: i/ U8 g  h) D
  13. database.
    * b' A8 q! K( t4 H% [
  14. Some users have reported ways to import a SQLite database into MySQL, but at  V- B4 R6 c2 \. ~
  15. the time of writing, there are still too many issues - check the current status3 Y1 y6 e, X6 j  E
  16. in the TeamSpeak forums if you are interested.
    5 h- B9 B, u, f2 L" J+ Q& P8 p- h
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    + D) Y2 o7 n% E( u' _/ i+ ^3 J7 b
  18. Borland was used. This driver can only interface with the client library that
    7 F- m4 x$ g. ^7 `
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this/ C" L' p6 A5 y9 S1 {
  20. client library - basically all you have to do is to use a 3.x client library as
    - O( l7 r. w6 T
  21. "VendorLib" and a 4.x database to connect to.
    . P# o4 y, Q) H
  22. If you need more info about dbExpress, you can contact Borland.- R5 j6 ^7 K- B  b3 a. m

  23. / t. t9 D5 H4 O8 M! F
  24. ### Doing the work ###
    . f; Y1 G, w' [, b8 Z! u  ~+ b
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all* L  ?4 x+ o! n, a
  26. the perquisites right, just open your server.ini file, and add this section at
    ! h  l5 ?% t$ Z- c0 B( H' r8 J
  27. the end:# G7 Q" f% F# n; v1 [
  28. ---cut here---! j0 f- g8 N- A+ l$ P( e
  29. [DBEXPRESS]2 {+ w" b# {. ^) i% j
  30. sqldir=mysql_sql
      y' m$ |7 K/ f2 A! c
  31. Drivername=mysql
    ; z' D# N1 _9 Q5 [4 d4 ]' q
  32. Database=Your_Database_Name_Here
    7 A/ d: X. V6 O. s9 E+ i9 X
  33. Hostname=The_PC_the_MySQL-Server_is_on  G1 q' w5 `3 ?7 m
  34. User_name=User_name_on_the_MySQL-Server
    : e5 _, m2 J& E8 U0 O( {7 K
  35. Password=Password_to_go_with_above_user_name' {. f6 P0 d- L& H: c
  36. GetDriverFunc=getSQLDriverMYSQL
    & C7 A+ e$ w* P3 V
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    - x4 w' [, j" P% K& c
  38. LibraryName=path_to_libsqlmy_libary  ~* J2 V, x9 |# Z$ g" N) E+ N
  39. Active=1
    - k% {, O7 Z/ {$ C6 M( k
  40. ---cut here---2 Z# b* }8 c4 X  D, c# L* R
  41. In my environment (a linux box with a MySQL server running locally) I have:/ x5 Q! ?% J# }) B, n
  42. ---example---( o, k4 X: Q$ r& l0 m, l
  43. [DBEXPRESS]
    ; @4 w& n4 u3 _6 g( |
  44. sqldir=mysql_sql. V; {4 \0 Q- J* A, J' \/ x
  45. Drivername=mysql
    $ |4 \7 }( H" j4 v! ^
  46. Database=test
    + H+ n/ p, F' X" @$ d' D
  47. Hostname=localhost% P, G7 B+ R' X/ h9 Y: ^
  48. User_name=testuser
    # g6 r* r) E' n( C: a  L) q
  49. Password=my_password' Z, R/ |+ y& ?$ K& B  y
  50. GetDriverFunc=getSQLDriverMYSQL- ^+ J. ]3 q1 j% l4 ?
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ) _( k$ I; X$ w. o% p1 N" P
  52. LibraryName=./libsqlmy.so6 \9 w5 y7 v7 S* v* i: D, X% I
  53. Active=1
    ) [8 f/ Q2 H7 D- H
  54. ---example---( d- l! {8 M/ V; d# I
  55. 6 S8 h- H/ C; U- s# P
  56. On a windows box, also running the MySQL server locally, it would be:
    8 H) N: c. E6 W6 M+ x
  57. ---example---: H  h# w6 O0 H
  58. [DBEXPRESS]
    ! ^/ o4 k% u( C4 i0 t" M4 G) f3 k
  59. sqldir=mysql_sql, W- m2 n5 A2 Y2 \
  60. Drivername=mysql$ U6 m" F& ]! w" K! u; D5 X1 x
  61. Database=test
    6 ?$ c, \* \) X+ n( `
  62. Hostname=127.0.0.1
    , e' F% Z; e( O+ Z
  63. User_name=testuser0 a: `4 u4 Q( O3 Y
  64. Password=my_password
    8 C  I( {2 }" ~: l$ m* ^
  65. GetDriverFunc=getSQLDriverMYSQL/ U: w* K0 f6 i! D2 B5 ?
  66. VendorLib=libmysql.dll, \0 D/ F; }, @& T. O) k5 n# P, g
  67. LibraryName=dbexpmysql.dll
    ! `4 n$ N+ q2 l/ B4 D* {9 x
  68. Active=14 O  ?- E' X+ C5 [8 m9 C
  69. ---example----# d% l8 S' o, Y1 ^" ^" C
  70. - written 02.03.04 by pwk.linuxfan9 c" |& p0 _7 k

  71. ( p# b! P5 J2 v3 E' ?2 f
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看7 H3 J/ h5 G5 G2 e' S/ z/ T. }
  1. ( ^# M! M8 E2 j& d8 u( V  T9 t
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ; ]" ]  j8 m/ |9 z$ u% C
  3. % _9 U+ p1 x( l- }
  4. # # #我们所需要# # #
    2 f! j" }- S& `4 W1 p
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    6 s4 x& A# E# K% L7 P
  6. 不会解释如何做到这一点-也有文件存在,为3 b0 D. o0 L, l/ ?5 }
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用- f: [5 ^' C$ n$ O
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西) b* v6 t( e; A* p6 G
  9. 随着数据库。此外,你需要一个卖方图书馆安装于2 g. M5 ~" A( R4 F, w
  10. 本地机器,这是我的MySQL安装。
    5 R9 B+ w  d5 i8 Y4 `- K* Z9 i
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从2 G  f+ |& n2 d& s; q7 a9 a
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
      [3 e. t- m; H& Y/ t. ~7 t# o! u$ x
  13. 数据库。 ) T5 f+ I/ c4 L! r
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在+ N: J! _; [  d4 h
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    1 M! _7 A+ A& c/ r( D# D6 d6 G
  16. 在teamspeak论坛,如果你有兴趣。 % I$ J  n, K, {0 Z& K( S
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机8 f" E- o0 o  }
  18. Borland公司使用。这个司机只能界面与客户端库: r  N% B! E9 v
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    , P4 Z/ W& ?; v. J, b7 T% J
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    - m1 \. s. u$ e$ Z6 A3 i/ f1 n2 y
  21. " vendorlib " ,并解数据库连接。
    " a, F3 g1 o9 e! Q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ) I7 z8 z- }0 `4 \9 i

  23. % a* r+ |2 b# M9 x/ e  c
  24. # # #做好工作# # # . y( z9 J6 Z, A/ X& m/ a1 ?2 Q2 G
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    0 X3 k4 A2 Y* ]3 E. w
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在2 P5 C( i9 `- }1 @4 n2 ]
  27. 结束: , L$ v* h6 H- B7 R+ w  ~; s
  28. ---削减这里--- 2 `' G+ x: K, U
  29. [ dbexpress ] 8 s5 }7 \% _. K
  30. sqldir = mysql_sql 4 \2 n; F5 R) F3 m/ R
  31. drivername = MySQL中
    & C, d- \3 e5 w2 v3 ~, D2 h
  32. 数据库= your_database_name_here ! a- n: _3 ]9 x) @+ X
  33. 主机= the_pc_the_mysql - server_is_on
    ) N4 T4 z. \- \" L# }
  34. user_name = user_name_on_the_mysql服务器
    3 ~7 A% s0 A. a; }" s
  35. 密码= password_to_go_with_above_user_name
    4 P: m1 i7 h5 {" i
  36. getdriverfunc = getsqldrivermysql
    " `4 V: E( S$ ^4 r/ n- d* {4 _
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 9 j) k5 F1 u5 P; s8 C" K# \9 H
  38. libraryname = path_to_libsqlmy_libary / P' I; j5 l' C" m
  39. 积极= 1 # A) V, l0 b& S, c5 D: s5 ~9 y
  40. ---削减这里--- , F. M  d9 z/ [: g1 Q: M. J
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: - n9 I$ w" T( {1 P! B
  42. ---例如--- 1 k* z* ^3 ~$ ?* E
  43. [ dbexpress ]
    9 n- O; g+ G$ U7 C: R7 s# b
  44. sqldir = mysql_sql
    5 ]0 ^0 |3 a/ S& o8 j* u' j
  45. drivername = MySQL中
    ' f" k4 n: l( D  k4 [1 T7 [2 M
  46. 数据库=测试) B0 Y! A5 d: e7 c# B0 k8 R% h
  47. 主机=本地主机
    % g$ A+ J0 w6 a3 l5 `. i
  48. user_name = testuser
    6 @5 y, a( w# E
  49. 密码= my_password 5 N# b, Q# i8 v4 h" {0 @4 E
  50. getdriverfunc = getsqldrivermysql ' J# _1 t  a' f0 B6 n* r% ]8 S9 k
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    , V, F- M& u7 F4 ?  B$ u% Y
  52. libraryname =. / libsqlmy.so
    ) _" e1 _- x4 @; R# A! U
  53. 积极= 1 9 ?/ C- [9 u3 Y/ F! a* w; t; M  q
  54. ---例如---
    - s/ X* I! T. I) S7 D7 w% u
  55. 8 c- @# ~" o2 L: r. N* {; o" C
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ' q, ^6 F  ^6 y& n6 n/ `
  57. ---例如---
    ' `- n8 H/ g2 w- T. L# _& I
  58. [ dbexpress ] # }8 ]4 d. j& ~$ j+ K4 x
  59. sqldir = mysql_sql
    6 _; t, s: h/ d$ S
  60. drivername = MySQL中
    3 d7 a7 l# K; S
  61. 数据库=测试
    ! k" ~. w: W: X7 ~2 X) u
  62. 主机= 127.0.0.1 - M2 Y# C+ o+ s, U7 w% _1 V
  63. user_name = testuser # L# F) `9 f& o6 f
  64. 密码= my_password ! U6 D; \8 O) ^. i8 I
  65. getdriverfunc = getsqldrivermysql
    * F5 k/ \& m, K
  66. vendorlib = libmysql.dll在
    0 J8 f# D3 a0 h! @" c4 r* r
  67. libraryname = dbexpmysql.dll 5 N8 ^9 ~8 B, x/ a0 ]$ F
  68. 积极= 1
    8 I4 g0 z2 s$ l  N1 w
  69. ---例如---- 4 b! |# o9 [+ B5 K- [
  70. -写在0 2.03.04由p wk.linuxfan( A% M3 j5 D4 s5 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" @( I+ P/ E; Z4 G! X

2 J3 [& h9 r, o9 V/ f0 q1 @but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-29 09:27 , Processed in 0.104727 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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