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

2720 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan , J+ y2 ^9 c# Y% s" D

7 y/ c8 E( i" O/ M. X; G: `
  1. # y! x: v. ?1 r# u# c* r% Y3 R: o8 Z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######! O7 r% K7 F1 W; R  }, \8 e6 g
  3. ; _! r& j3 N4 V7 x  ^- f! ]
  4. ### What we need ###
    # w8 p* |) C. c' F
  5. Naturally, we will need a MySQL server to store the data for us, this document ' V) a$ m8 I: l, Y! {
  6. will not explain how this can be done - there are documents out there for the - ?# f0 Q, }! W; s* U% N
  7. interested. The requirements include a (empty) database for TeamSpeak to use3 N; v1 X9 \% Y: {* v: z# C1 J" L
  8. and a user account (username + password) that has the permissions to do stuff
    ' I# t+ E' B3 {8 f; v
  9. with the database. Additionally, you will need a vendor library installed on the4 P" a' e5 Z6 Q% q  I0 r* ^
  10. local machine, this came with my MySQL install.
    ) H1 V& Q3 L% t8 c) m
  11. These instructions will not tell you how you might transfer your data from the
    + g. ~1 A9 n7 ?! G% \2 F$ M# U
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    6 _' @0 Z1 e+ a$ e
  13. database.9 H# P+ K. F4 e. ?
  14. Some users have reported ways to import a SQLite database into MySQL, but at0 \& s7 A% ^* ^/ d
  15. the time of writing, there are still too many issues - check the current status
    2 ]9 _5 F$ x" L8 A
  16. in the TeamSpeak forums if you are interested.: E+ A8 j! z. j2 R8 K1 x* @! n6 M
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ( K8 n3 O6 }* X/ e1 X
  18. Borland was used. This driver can only interface with the client library that $ Y! j6 C1 g6 K
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this' |/ ^0 i! |4 _  N
  20. client library - basically all you have to do is to use a 3.x client library as
    ' k4 |/ O' \# Y; u- F9 d
  21. "VendorLib" and a 4.x database to connect to.7 `6 s; _- `* V3 ~% F8 d
  22. If you need more info about dbExpress, you can contact Borland.- b4 K) R! a! j. b; o( o' M3 ?& d

  23. 5 L+ o# ]; h6 A; c! ^! Y
  24. ### Doing the work ###
    2 ?, x. V4 N" L* a8 ?) ^8 X$ k
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all9 K' l0 O9 A! q7 z* {$ }+ @/ a) f
  26. the perquisites right, just open your server.ini file, and add this section at
    ; c( B9 G* D8 B+ n- D- z
  27. the end:
    5 Z7 H. f# y  k+ }0 P/ X4 F* n: A
  28. ---cut here---
    2 m. b" w: o. L3 V6 `
  29. [DBEXPRESS]
      f+ u7 T( S* B0 Q
  30. sqldir=mysql_sql# b$ z; ^9 E! m7 [# _- |
  31. Drivername=mysql! z  b5 i$ o. v+ [  C3 l
  32. Database=Your_Database_Name_Here
    0 w* V9 F1 B6 R9 \3 S/ J
  33. Hostname=The_PC_the_MySQL-Server_is_on
    * p' U$ {  T9 B2 W0 L# h
  34. User_name=User_name_on_the_MySQL-Server8 s0 W; V# |$ E/ J6 P' t" Z
  35. Password=Password_to_go_with_above_user_name
    . x# M& ^$ N! ~, C# `9 B
  36. GetDriverFunc=getSQLDriverMYSQL( G  `1 @5 S& a/ x
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib5 |: A# K0 E+ k* [. U
  38. LibraryName=path_to_libsqlmy_libary# S( U% Q0 z! U  c. ^
  39. Active=1* s* t( t% \! y4 P0 ^
  40. ---cut here---
    2 l, j+ }  R0 Z. e2 z/ ?& F0 |% v
  41. In my environment (a linux box with a MySQL server running locally) I have:$ Z/ f' g' p# A- p4 M
  42. ---example---
    7 j6 ^5 d: U- C6 S: t$ }
  43. [DBEXPRESS]  o# M, r: z% ~! w2 A+ a
  44. sqldir=mysql_sql5 U1 R' e5 T+ y# W* o2 l
  45. Drivername=mysql
    . L! |) ~/ R8 I. L
  46. Database=test# |# T( g4 U- L3 z$ @5 N
  47. Hostname=localhost
    3 `1 b/ P4 t. l. I  Q
  48. User_name=testuser
    + [7 }; B) N# J6 C4 S) P6 C7 C
  49. Password=my_password, i; S) E; m# h0 h
  50. GetDriverFunc=getSQLDriverMYSQL7 \: i4 L7 L) y  d1 e' l
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    - q6 T6 G- ~; c* q* U
  52. LibraryName=./libsqlmy.so5 g9 C& A* `, Z) s+ l
  53. Active=1: I' m- V! A5 l' A( Q# U, a
  54. ---example---
    9 }5 L9 B+ O) }; w. X( i$ B

  55. 4 U, q# a- c+ e5 K7 M7 ^- z
  56. On a windows box, also running the MySQL server locally, it would be:) m& w2 \- {7 J% j2 l8 F& V8 J. h) h& z
  57. ---example---
    , w1 b$ F+ ~; T3 f7 Q8 z- O9 T
  58. [DBEXPRESS]
    0 i! N) F; q, v/ w$ c+ `8 B
  59. sqldir=mysql_sql/ ~% Y( O7 y% y
  60. Drivername=mysql0 {1 y9 e' w% r4 q
  61. Database=test" y; |8 F* O  U6 c' b' Y; }1 ~3 J
  62. Hostname=127.0.0.14 o4 U1 K9 u* n. V
  63. User_name=testuser/ ~; l/ |' X& B; N0 h. J0 i
  64. Password=my_password6 ]  M# c8 U& j/ P/ L
  65. GetDriverFunc=getSQLDriverMYSQL( K# n' ]% G" Z0 \
  66. VendorLib=libmysql.dll
    5 S% Z% x7 q/ ^' \3 g
  67. LibraryName=dbexpmysql.dll' ~. i# B4 L# [* l
  68. Active=16 U" }+ }4 k* m; |/ ?. T# y2 A
  69. ---example----- W' A( G  h! V0 S8 u
  70. - written 02.03.04 by pwk.linuxfan
    6 F  v- v& y8 U8 Z% a) O/ H

  71. / X( q% B; `; K1 q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看) K8 u3 o# H; }' b3 R

  1. : y$ {1 m% H7 A  u
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ' t: ~5 s8 h, ?1 p+ C; L2 H

  3. 6 j5 [. C' i8 p' S- }! T9 h- W6 u
  4. # # #我们所需要# # #
    4 O9 Y2 l" N5 J% }9 e2 S; v8 v5 R
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件& Z/ ]- u, L% d$ G4 x. ]/ m
  6. 不会解释如何做到这一点-也有文件存在,为; r8 m) T+ k& n% t0 g
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用0 T- ~6 ]6 W) v, l& t: ~+ j
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    7 y+ f1 a# R& c
  9. 随着数据库。此外,你需要一个卖方图书馆安装于- z6 P, u# |, H( p" G  U9 C/ H3 Y
  10. 本地机器,这是我的MySQL安装。
    " ?7 V8 t0 z+ T3 m
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从) B6 y' {1 R* W8 q- {( n
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL : d' A4 B3 M! R6 @
  13. 数据库。 : ?. j, c4 H. C
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在; x0 O- s% O& l) ~" h3 U* Z
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ) N" ?/ r$ m$ c: S1 e. @, T
  16. 在teamspeak论坛,如果你有兴趣。
    & J. o4 B4 t' e0 |1 y8 g
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    4 f% h4 O' P$ E8 x8 U9 t# C0 e
  18. Borland公司使用。这个司机只能界面与客户端库
    4 ~& T8 e% A9 J  E
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    . D! m& u, q/ }/ W  m, i
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为& f# |2 X8 ~# ]4 U
  21. " vendorlib " ,并解数据库连接。
    , n6 j6 u3 |) D8 R
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    : t4 g: b) r+ V$ h" E1 s9 }4 v' l
  23. 0 ^) P# Y  w$ n* w; q, ~2 e5 b( r
  24. # # #做好工作# # # / u/ y4 ]4 B9 y+ l9 S! i
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都- v4 O, c& s- v2 w/ v( A
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在! D/ H+ l& g5 J
  27. 结束: ; U5 B0 s' w" m9 i0 Z
  28. ---削减这里---
    8 I! V% ^" _8 {9 _: ]: {# Q
  29. [ dbexpress ] 0 l7 c* @; ~0 g; D
  30. sqldir = mysql_sql
    / u, t, O6 d% @% ]* L
  31. drivername = MySQL中; _1 ]/ r% _4 O  ]9 D
  32. 数据库= your_database_name_here $ @5 v8 x0 g/ N
  33. 主机= the_pc_the_mysql - server_is_on - P3 d: q5 {' l0 C2 e: W' @4 W
  34. user_name = user_name_on_the_mysql服务器2 W2 M! Y! [$ b3 \
  35. 密码= password_to_go_with_above_user_name
    - A8 y& H0 ^: c  g6 r4 p: \$ p3 K( ~
  36. getdriverfunc = getsqldrivermysql
    / G% R2 l9 Y: P5 W
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    6 E  n& \+ O& v# l2 c4 _- E
  38. libraryname = path_to_libsqlmy_libary
    $ S, p6 q! d( B  U( v9 }+ W9 F
  39. 积极= 1
    2 e$ ?* K4 [) N6 c" L
  40. ---削减这里---
    + i' g' N4 w# H+ D; ]' {
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ( ^+ \9 I1 h# G, {! `0 `
  42. ---例如--- 0 R2 x& E+ q6 V5 }/ y' T% m
  43. [ dbexpress ]   J: r% C2 z* J
  44. sqldir = mysql_sql 8 |, ?. n" V! u+ F
  45. drivername = MySQL中5 j8 z( D- [% K( }0 S5 U7 I
  46. 数据库=测试0 w6 e/ g# D$ E0 |; k9 d" H+ p
  47. 主机=本地主机) ]" J8 v( ]' N+ N7 v. j4 t
  48. user_name = testuser
    * F' o2 W0 l, n  ?* ~
  49. 密码= my_password 8 u/ M9 h/ G, i  J. D2 ]
  50. getdriverfunc = getsqldrivermysql
    % F% z! {2 K* V% {" p7 \
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 " y6 C, d, K" {, P
  52. libraryname =. / libsqlmy.so
    4 v/ ?! k9 V0 i4 @
  53. 积极= 1 # w8 x, o7 {7 S: P9 }  G
  54. ---例如--- ! e$ Q: Q3 E. D* B& N. K
  55. % D' h  N) m2 ^  V, L' w
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    $ |! I$ Y* }3 w3 E6 o
  57. ---例如---
    : j' n! s, ^2 j" j
  58. [ dbexpress ] / c& ^+ c- A4 w) x& Z* c# E
  59. sqldir = mysql_sql
    ( M& ~- E& ?( Q9 x. I- T. I% Z
  60. drivername = MySQL中
    : I0 J/ _  `) c8 W6 l) b1 u/ J' {
  61. 数据库=测试9 u5 O, ~6 Q% I! I& m* g/ `5 `0 j
  62. 主机= 127.0.0.1 7 T' I/ d- w" K- Y2 F4 n
  63. user_name = testuser , G* [" E- y7 Y3 c
  64. 密码= my_password ) C0 p  Y7 I% v1 q' B5 [. b
  65. getdriverfunc = getsqldrivermysql % Z* y( ^3 J. O$ K3 n1 J3 @! }
  66. vendorlib = libmysql.dll在, ]. k  ~1 F8 u  E* ?- i3 ?
  67. libraryname = dbexpmysql.dll ' e, E& \- v- U) g5 j' r, W/ X  {6 P
  68. 积极= 1 9 l, O" P7 F* \
  69. ---例如----
    - U" }0 m2 F6 v
  70. -写在0 2.03.04由p wk.linuxfan
    ( j2 c7 A) W& g
复制代码
发表于 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 words7 B5 d) I4 F" g" \
( L% N0 H9 k; P8 g% G
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-7 05:30 , Processed in 0.101378 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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