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

3243 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 1 O. ~  [: A3 m( Q' S! F" ~

" u% h( {- e3 r" O7 x

  1. * K9 ]! M  Z0 G- n7 W! |6 G2 e. E
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######9 ^: u5 O. [( X2 E7 @, i: k- Q! K
  3. 2 `, {# _2 G( e" R' }9 r
  4. ### What we need ###) n4 e4 a/ k8 C9 x5 j' V" V- X
  5. Naturally, we will need a MySQL server to store the data for us, this document - c# U; ]2 P, i+ h2 B6 ]
  6. will not explain how this can be done - there are documents out there for the
    & k# g: ]- `2 T; _5 H% J
  7. interested. The requirements include a (empty) database for TeamSpeak to use, p4 R/ \$ h+ C; d4 v
  8. and a user account (username + password) that has the permissions to do stuff
    & S0 }" w' O. R8 ^+ O! c  Z
  9. with the database. Additionally, you will need a vendor library installed on the7 R& P6 c# ^$ n$ Z9 [1 Z9 ^
  10. local machine, this came with my MySQL install.
    4 O/ n0 u9 e4 e, u$ u6 W
  11. These instructions will not tell you how you might transfer your data from the
    - R, S0 O, i% K; ]+ I( b$ U
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    - T4 A7 R7 Z2 T3 g( \4 @
  13. database.
    : H4 M( _7 N& Z
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ; c6 u$ K5 u* s) r
  15. the time of writing, there are still too many issues - check the current status
    7 z5 H  A9 k9 l$ l
  16. in the TeamSpeak forums if you are interested.
    6 r, L7 P7 o* h3 s
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    - ^. w3 U* g& ]4 _3 ~+ \( R* S/ [
  18. Borland was used. This driver can only interface with the client library that
    * [( T  J6 H6 ?1 P$ c: t& p4 m9 k
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    # k/ o* q- r, _2 u* s  U/ q
  20. client library - basically all you have to do is to use a 3.x client library as $ m* v, w* i2 |+ a' z( v8 @6 T
  21. "VendorLib" and a 4.x database to connect to.
    + Z$ I* Q/ x2 f  r
  22. If you need more info about dbExpress, you can contact Borland.* L# V4 r; x4 e
  23.   A. w. O. r5 H* k" A
  24. ### Doing the work ###
    " I& f0 j# ?) j
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    " X) Q8 y: W" g6 R5 x1 D% q( p: ~
  26. the perquisites right, just open your server.ini file, and add this section at4 m3 j( z! o: O
  27. the end:
    : z6 H8 X5 O3 R& F' W
  28. ---cut here---
    9 J5 y, l/ i' y7 @# a9 V
  29. [DBEXPRESS]  T0 e" \! f4 R- |2 _- C
  30. sqldir=mysql_sql& o" f1 g9 Y" O( H
  31. Drivername=mysql$ l" n; t5 V! ~" g' v% O( M4 B2 H8 b
  32. Database=Your_Database_Name_Here9 R: c7 S  [: |6 b; a: c& p
  33. Hostname=The_PC_the_MySQL-Server_is_on0 C, h7 X( C. S6 `
  34. User_name=User_name_on_the_MySQL-Server
    ; m, s8 C# P5 O2 O% z  x
  35. Password=Password_to_go_with_above_user_name
    5 {' b# @' J) b' Z# e! z1 I
  36. GetDriverFunc=getSQLDriverMYSQL" H, U; ?, `- D$ a3 z) q6 t, k
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ( o" Z. w  m( k6 q% _
  38. LibraryName=path_to_libsqlmy_libary& U4 [* M2 u3 N, R
  39. Active=1! \9 `  E6 x7 O  {  {
  40. ---cut here---3 f4 W. }4 {; x8 f( {: K- U9 i
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / T* w) `) o% `
  42. ---example---  ^$ z# x+ j- E' V1 H
  43. [DBEXPRESS]& T4 [- B, I3 j0 x
  44. sqldir=mysql_sql
    * d8 F' b7 L# q0 |2 e* N& ~
  45. Drivername=mysql
    5 A- R" P8 L- k: w# N$ j2 F
  46. Database=test" K' M4 j  {' h5 }
  47. Hostname=localhost
    - [" Z7 X. L9 }
  48. User_name=testuser
    . m3 g0 r; U9 B9 e) M( O" w
  49. Password=my_password( s( J: m  Z2 M# K" M
  50. GetDriverFunc=getSQLDriverMYSQL9 v8 v4 p. G5 z3 W9 N- o- V
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0* l  ]' k9 P6 ?$ G% G( u3 e" x: ~
  52. LibraryName=./libsqlmy.so2 z8 y, M1 ^/ {# t/ g! {* z! a
  53. Active=1
    0 a! ?' |5 |  B4 F
  54. ---example---0 R# ?5 d7 c5 {* n

  55. # W# E, b, X6 J- f
  56. On a windows box, also running the MySQL server locally, it would be:5 b- g+ D, \/ S' _; `0 J! L
  57. ---example---
    " A" u  o7 O8 C- x4 M& k3 O# V
  58. [DBEXPRESS]
    0 }! N1 m* r3 u  Z3 j" C6 H! v
  59. sqldir=mysql_sql
      W2 c/ K; v6 V7 I5 a
  60. Drivername=mysql
    . Z+ k$ D) e6 \$ N6 S+ b
  61. Database=test
    2 K8 X. S' P& V! W
  62. Hostname=127.0.0.1
    , v: U0 D( d6 P! g' p
  63. User_name=testuser
    ( j( a: I  V* p5 R. ]
  64. Password=my_password
    2 l! {, y# i" v- A  V
  65. GetDriverFunc=getSQLDriverMYSQL2 ^& ]+ M& N3 R& V. X& h' f
  66. VendorLib=libmysql.dll
    9 s6 d0 g( q2 p  R0 k2 A
  67. LibraryName=dbexpmysql.dll
    ' H- j0 a$ h) r: \
  68. Active=16 I+ s* l6 h9 F& w0 r/ A
  69. ---example----1 T% p6 e" w, B* I  d, w" K0 d7 t
  70. - written 02.03.04 by pwk.linuxfan
    ; Q8 N- f, P3 i1 n
  71. ; p* S. ^# q8 v$ p
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
. v" V- `; o+ E' R: q5 P

  1. : M: |2 e! d" i* E2 G8 _. {6 I6 u
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### & _* a7 w2 c+ D8 O& f
  3. / `' e: C4 Y3 i0 x. o3 j4 T% y
  4. # # #我们所需要# # # 2 q) q" C; _5 z( m1 Z& g( d. D
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ; ~1 `* W4 s* T
  6. 不会解释如何做到这一点-也有文件存在,为
    ( m4 ^3 Z) c3 k8 z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    6 e" [7 d3 c9 C1 E
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西" ^8 `6 S) h. W/ @) Y& S; d. P! R8 s
  9. 随着数据库。此外,你需要一个卖方图书馆安装于% L) v' F" A3 H# Y; R5 p5 @3 e
  10. 本地机器,这是我的MySQL安装。 7 F& Q' q  i# Y, e- N$ x/ d7 F
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ! K( |; u% o* z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL : b! I% w7 e: K. R: }4 b+ t
  13. 数据库。
    9 q' i# h+ I/ r4 ]6 A& s1 s
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在1 y' o: ?# C6 h  ^
  15. 编写本报告的时候,仍然有太多的问题-检查现状2 h/ T) Z9 C- w5 r# a
  16. 在teamspeak论坛,如果你有兴趣。 * c, ^0 @9 t- ]8 S4 o
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    1 n: |: j, E# I% b% ]1 Y' g9 p
  18. Borland公司使用。这个司机只能界面与客户端库
    1 M* |& t# S6 N+ h( B
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    & V7 ~2 f7 c3 j
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为) p5 X/ K: C' i4 Q
  21. " vendorlib " ,并解数据库连接。 * |4 t4 y; C5 N: j7 \" p; j- Q4 \
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    / I: w: M. T" d0 R1 L/ e1 z  B; D( _+ y
  23. $ t* o# ~1 G; u: J3 E
  24. # # #做好工作# # #
    ' l' H! K" O5 d& Q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    9 u9 I& u6 m8 y( u/ l% N; H
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    : x. q  P) j0 a! R
  27. 结束: , b0 L& D; A* j" a! e% a# ?
  28. ---削减这里--- " a0 Y1 r# L# a6 [0 O( I% W# p
  29. [ dbexpress ]
    3 k6 @( z+ a3 ?+ p: `4 _
  30. sqldir = mysql_sql 4 r2 C' {- a4 v' Q; ?* x0 n
  31. drivername = MySQL中
    : Q) s" t2 I) x- Z% E& f
  32. 数据库= your_database_name_here
    8 O; e/ j+ _- m. L1 n
  33. 主机= the_pc_the_mysql - server_is_on
    + r* H7 y; ?/ A' U& [/ u7 ^
  34. user_name = user_name_on_the_mysql服务器
    9 r# K- }2 d- ~4 k
  35. 密码= password_to_go_with_above_user_name $ T1 D  A4 K% D
  36. getdriverfunc = getsqldrivermysql
    . q0 J# b! \  n! C3 }) i$ b
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 0 {5 _2 R) \; [3 @. O/ Q
  38. libraryname = path_to_libsqlmy_libary
    $ ]% h* s+ Q, M- O8 S. f+ l7 G! ^1 K
  39. 积极= 1
    8 v7 H: l4 N6 j: `% a1 {( W7 t$ g
  40. ---削减这里--- / P0 g- P4 ^6 P* f2 F3 V
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: & \- s3 b: E! ^! F& P, U
  42. ---例如---
    & Z" G, B& n& s5 ]  P3 w
  43. [ dbexpress ]
    $ t4 P( U# {' K" z% G
  44. sqldir = mysql_sql , ~" t9 K. f2 w9 {
  45. drivername = MySQL中
    ; h2 q3 w; u. \  {
  46. 数据库=测试
    ( O) e/ N* c- \  D  }; R; q
  47. 主机=本地主机: T. a& \; D0 K5 N* R
  48. user_name = testuser
    * O" V! l6 x  M0 L6 x
  49. 密码= my_password : W* c8 k+ H$ e. n' B* c+ v
  50. getdriverfunc = getsqldrivermysql
    7 G, j' m5 }4 U: J, {9 g
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 : g2 G3 ^0 L/ e7 S
  52. libraryname =. / libsqlmy.so + h& p# o* a; h* U% p) ~) L2 I+ T+ f! c
  53. 积极= 1
    + d5 Y6 S" p% Q! g: P  u3 Y* a
  54. ---例如---
    ; B8 d  X# Z$ M& L, o
  55. : d5 A+ Z7 T' {6 S% |
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 9 M# j$ r$ m% A5 X7 x/ s" ^
  57. ---例如--- 9 D4 q0 u" {2 W, |1 b3 O- [/ C
  58. [ dbexpress ] + T) `2 U; J7 x$ @, m% W/ R
  59. sqldir = mysql_sql
    5 P. }2 g0 o$ M9 M* p3 l3 y. t
  60. drivername = MySQL中
    0 C; e! v9 r+ U9 P; c* V
  61. 数据库=测试4 s* b* C& C( s3 b' S! F, {
  62. 主机= 127.0.0.1
    " y- W. o( ^( O0 O
  63. user_name = testuser ; G$ |" j' U2 P5 [- N
  64. 密码= my_password
    6 w( G7 q6 W! M, j- a. S  d/ O
  65. getdriverfunc = getsqldrivermysql
    ) W$ k- M9 ?6 S: r
  66. vendorlib = libmysql.dll在
    9 I& ~0 ^+ O! T- A) N/ E& Q0 S3 X
  67. libraryname = dbexpmysql.dll 1 s6 W# u- X; V+ |; t
  68. 积极= 1 ( s- U5 r  v5 s
  69. ---例如----
    " l/ G+ t7 V4 J" o" P- O( k4 f: [3 @
  70. -写在0 2.03.04由p wk.linuxfan1 }5 a5 N9 |6 V# x  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
+ l8 W7 [$ G9 x) |* w
, ~/ q  B6 V8 Ebut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-27 18:39 , Processed in 0.099670 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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