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

3301 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
) V7 T0 G! A! {! e8 A" T" w  n$ }! P
! N& I) z  ^3 L8 G$ b: h6 |

  1. - ?1 X( Y( u  g& B, u! S5 o8 [4 t
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    6 I7 E6 m  k4 @- b9 W; N

  3. + X0 ]* F( `+ ~5 P
  4. ### What we need ###/ s" [( _- A5 W0 `% w2 w
  5. Naturally, we will need a MySQL server to store the data for us, this document ' b( t4 ?- W9 @" V
  6. will not explain how this can be done - there are documents out there for the # V3 P) t' y, I
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    3 |0 o( X) e$ l3 }* d
  8. and a user account (username + password) that has the permissions to do stuff
    " ^" _* x1 M! g6 |1 E
  9. with the database. Additionally, you will need a vendor library installed on the8 S/ T3 h$ B! k: a8 U2 T, s
  10. local machine, this came with my MySQL install.
    ) J! C) A, [* ?8 m: }
  11. These instructions will not tell you how you might transfer your data from the
    : [) b- H/ P! K: i- U0 J9 E* g
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    3 Y; {9 C( O; ]1 Y1 H
  13. database.
    6 W- @% g  X' [% i& Y: l! s
  14. Some users have reported ways to import a SQLite database into MySQL, but at7 V! I0 d* t! X
  15. the time of writing, there are still too many issues - check the current status0 A7 I# z' @5 l3 C' P
  16. in the TeamSpeak forums if you are interested.
    6 _9 X0 p* O, T& r2 z1 O
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from3 R; L- b; M- c: {, Q$ x- M, \9 ]+ N8 \
  18. Borland was used. This driver can only interface with the client library that
    # X+ Q/ j4 N; y6 A
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    : z8 C% M6 ^$ y
  20. client library - basically all you have to do is to use a 3.x client library as 3 d% @, t0 `) @/ C% Z0 W3 l
  21. "VendorLib" and a 4.x database to connect to.+ P6 t' G8 ^0 C4 a5 ?" I
  22. If you need more info about dbExpress, you can contact Borland.
    " p- q- s' e6 Q/ l/ D$ E5 M$ @' h
  23. * @- D/ b0 G# b0 e0 \
  24. ### Doing the work ###
    + B& M+ R8 L/ W
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all7 n" [8 J2 p7 {) X* }! k
  26. the perquisites right, just open your server.ini file, and add this section at
    ! e) t6 T1 f2 v/ V
  27. the end:
    0 y# O$ g2 E5 z/ h; Q" M# Q
  28. ---cut here---
    ( l7 g' R6 Y' g! L4 G9 H9 e8 \
  29. [DBEXPRESS]
    2 R6 U& P' g: G+ R
  30. sqldir=mysql_sql
    & {: z1 O3 S( l: E) S9 W4 e, n
  31. Drivername=mysql) {# ^, S* }* B
  32. Database=Your_Database_Name_Here
    7 b! J% n* Q. D
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ) V" Y, {3 ^) V# U
  34. User_name=User_name_on_the_MySQL-Server$ Q6 S- H; @5 E5 ?2 d
  35. Password=Password_to_go_with_above_user_name
    $ p  i; |: s* ]4 u" q" U& d
  36. GetDriverFunc=getSQLDriverMYSQL
    0 v/ G  t" x1 f: W8 K
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib; J3 g  h1 C5 h
  38. LibraryName=path_to_libsqlmy_libary
    5 E1 s% \5 o# J9 o. Z) F
  39. Active=1- T9 ^* I* x3 t( |, ^# e4 s8 B. |
  40. ---cut here---$ D) |1 ~4 A6 s% R. r
  41. In my environment (a linux box with a MySQL server running locally) I have:
    8 }# N6 [8 B6 ?1 i5 F! b7 F/ W
  42. ---example---+ [# [0 ?/ Q* F
  43. [DBEXPRESS]; _4 j# C3 M6 ^! Y$ F
  44. sqldir=mysql_sql
    * u' j9 E2 b$ a( Z3 g5 p1 I
  45. Drivername=mysql
    & F8 e5 l3 P. ~
  46. Database=test
    1 m( k6 c$ K3 B* y- E8 \
  47. Hostname=localhost/ c2 ?" w: G9 x% y+ z1 h
  48. User_name=testuser2 J& u& g9 l  M/ h3 x
  49. Password=my_password6 n3 ]4 X) S% L$ J# b& S' N2 o
  50. GetDriverFunc=getSQLDriverMYSQL
    . v3 [2 Z+ e' D- O5 C4 t
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.08 U" P+ I7 o- Z9 r" i# ?6 [8 p' i
  52. LibraryName=./libsqlmy.so
    + ?, U' q; }, t5 B; J9 V9 M
  53. Active=1$ k9 }( Z5 {5 H5 q7 i' j
  54. ---example---
      c4 y8 S' P/ N" i1 ^- C  }0 e8 v

  55.   n" e+ V" n5 |) J0 G
  56. On a windows box, also running the MySQL server locally, it would be:8 ^# q% p& C% g. F4 g) }
  57. ---example---4 G  B) i/ B2 r& D2 [* r
  58. [DBEXPRESS]
    % p* {4 |" k2 ^! y
  59. sqldir=mysql_sql
    . d! Y: V0 L* S% r4 X- @9 m. `( n
  60. Drivername=mysql  G# G  E+ ~8 k. X! c
  61. Database=test% l; ]/ J# h8 p3 J2 y" _
  62. Hostname=127.0.0.1
    $ E% I; v* y: b8 F0 e1 s
  63. User_name=testuser
    - H$ F( A/ e) M6 _2 }6 v9 w! [; S
  64. Password=my_password, e+ D$ z1 F: m
  65. GetDriverFunc=getSQLDriverMYSQL# [% O) Z4 O9 e& J8 B8 O2 |. G
  66. VendorLib=libmysql.dll
    8 ^# u  M! b+ z* W$ g5 p, _
  67. LibraryName=dbexpmysql.dll! @( \! _) z! K! v
  68. Active=1
      k8 t2 ?+ \3 A* F* C# S5 D9 J
  69. ---example----  S* x7 E6 A' x* O" H3 d: y
  70. - written 02.03.04 by pwk.linuxfan7 _0 y+ U' I+ a5 i+ s
  71. 3 O/ F4 _- m: h3 o0 N
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看% E1 C! y( H; P3 K( L
  1. 7 M( J; g1 f. M& h. e
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### $ f- Q; E5 x, g) I. j/ Z

  3. 9 L5 X9 ]6 x- K' |
  4. # # #我们所需要# # #
    + d! M, N& R/ |9 c  D+ }8 N( X
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件6 `! q0 z! J$ A3 l
  6. 不会解释如何做到这一点-也有文件存在,为
    / r) u4 f. P; Z5 f! s. \- u
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ( g' C% @3 L3 }1 E( g
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西0 O# S. \! \* L" b9 G" w
  9. 随着数据库。此外,你需要一个卖方图书馆安装于' {6 m6 Q  s/ C# M3 C7 s- y
  10. 本地机器,这是我的MySQL安装。 5 G2 V5 E/ @- B) g
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    8 o5 F+ x) k5 ^/ ~& j. h: _' `
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    7 M( p1 J! ]( g( j
  13. 数据库。
    2 C% ^! m2 c1 C- ?. k8 {# o) H: @
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    $ U6 e7 [# Y* ~; g& t0 ]
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    % v$ ]5 K- x  u
  16. 在teamspeak论坛,如果你有兴趣。
    0 [+ m6 i, D0 {
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机/ ?1 r) Q4 g! `
  18. Borland公司使用。这个司机只能界面与客户端库
    4 D+ R& H' a( i  ]: [4 V) C0 X
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    # k  ?) T+ Q. |1 B9 E" b
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    1 t+ R! \1 [, X+ A5 [3 G
  21. " vendorlib " ,并解数据库连接。
    9 H! h& L  v  |& e5 ]7 X
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    9 P6 v; @- h  _
  23. / q' E9 E) w1 ^4 f$ m
  24. # # #做好工作# # #
    - H1 m0 i7 a5 h0 t: K/ c) l0 A
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    * N8 |: c* c% ?% j
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    # o% K2 c# \' I5 B
  27. 结束: 9 i1 \" O' \& q/ U4 P( A
  28. ---削减这里---
    3 }4 u3 {9 E6 j4 a6 k7 {5 p
  29. [ dbexpress ]
    7 \" B2 P3 `+ i2 R* V! u! E
  30. sqldir = mysql_sql " @6 y3 F4 r7 o
  31. drivername = MySQL中% F8 g2 m  z: e( S4 {* R; v6 x
  32. 数据库= your_database_name_here 4 C# F( Q6 x0 ~/ |0 p. n0 m
  33. 主机= the_pc_the_mysql - server_is_on ) e$ c4 @0 }! t9 r/ ~  B1 C6 F  e
  34. user_name = user_name_on_the_mysql服务器9 U# k) Z: j. b: @, e0 Q! K  d
  35. 密码= password_to_go_with_above_user_name : ]. v  R2 @/ o
  36. getdriverfunc = getsqldrivermysql
    1 c0 I! w  K; K
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib # B# }  U3 T0 p" O
  38. libraryname = path_to_libsqlmy_libary
    ; }' Y% r- K8 Y/ I3 d
  39. 积极= 1
    7 Z* j. J7 u. o4 b% l# j* ^
  40. ---削减这里---
    5 t" O' E3 C: Y3 R  O
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:   H7 O$ g) `. ~
  42. ---例如--- 0 B+ S3 _6 [2 Z( @# S* m8 y
  43. [ dbexpress ]
    + A! m) v9 ^% A& n5 g) k) x+ d- T
  44. sqldir = mysql_sql , C. W- l  P: J7 b2 w
  45. drivername = MySQL中3 Z( F. Q, i# ^- Y- J7 I! w
  46. 数据库=测试
      Q5 o+ n- p2 w" |' A
  47. 主机=本地主机
    3 p& H4 U& X! N' L7 H1 h+ B
  48. user_name = testuser
    6 N+ w/ c- y; \
  49. 密码= my_password $ o3 Y% u/ }/ }
  50. getdriverfunc = getsqldrivermysql 4 p2 D+ \' A' [) m  p7 y
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    % W7 N: ]3 T. r7 v" Q  [
  52. libraryname =. / libsqlmy.so
    / X( L3 \0 k% n7 S
  53. 积极= 1 ) V5 M+ c  u) h0 A# Y6 [
  54. ---例如--- % D" D( l5 i( i% E& s+ E; O. |0 j

  55. 7 U: m  G9 `5 U2 g+ b4 R
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    - d- g+ P9 |! e8 S' ?
  57. ---例如---
    * J4 g) ~3 A1 Q: A$ G. G
  58. [ dbexpress ]
    ; u, e+ J# y$ X& t( ^
  59. sqldir = mysql_sql
    # w% M5 y7 i8 V4 C7 G7 X) c- B
  60. drivername = MySQL中
    8 B9 t- q8 `/ _# D! e
  61. 数据库=测试
    ' ^' h0 t' [5 _, p5 \4 y
  62. 主机= 127.0.0.1 - S: o* {  ?; N. P" w, ?
  63. user_name = testuser * u2 z( L# ^0 z, I
  64. 密码= my_password
    5 H* c& a* v- U6 K0 q3 H! W
  65. getdriverfunc = getsqldrivermysql : C1 B8 }/ j9 |* Y2 g* \" ]( e  O% _; m
  66. vendorlib = libmysql.dll在- \5 }# C: F3 y9 b& T  J, m
  67. libraryname = dbexpmysql.dll " i9 `; V1 Y. f
  68. 积极= 1 7 n' W, B/ S) P+ u
  69. ---例如----
    5 E* s8 P, m2 A7 B& r
  70. -写在0 2.03.04由p wk.linuxfan6 |; \( _* K) u" V6 R
复制代码
发表于 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 words6 ?; a" Z" h/ f( I4 c& r1 q: N3 x4 n
( b+ ]8 w  U# `; d; i, I" H
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-7 22:45 , Processed in 0.096062 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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