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

3387 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan , q1 X, A$ _8 f* T7 x

& W# S5 q+ p4 }- ^( G: K8 H

  1. 5 l$ m% u  ~* h+ Y
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ####### J& j- {. n! }
  3.   k6 X/ M: A' f$ N& X9 w5 \
  4. ### What we need ###
    3 F; _/ m) p1 e
  5. Naturally, we will need a MySQL server to store the data for us, this document , J5 d2 i/ i2 H4 N3 Z; K9 _
  6. will not explain how this can be done - there are documents out there for the : k: U% |8 K) [( Z3 h8 B2 Y5 E, Z
  7. interested. The requirements include a (empty) database for TeamSpeak to use6 F) l- P6 J  x% D: f
  8. and a user account (username + password) that has the permissions to do stuff
    ! X# Z2 G, A8 E2 m
  9. with the database. Additionally, you will need a vendor library installed on the# A4 z4 }5 R- Y6 b# d7 D8 y
  10. local machine, this came with my MySQL install.
    ( I& k! K* M) u* F, m7 S8 V7 R4 P, Q
  11. These instructions will not tell you how you might transfer your data from the$ b1 w* ^$ d. N
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    9 k2 W; m* y( K) t$ g1 o
  13. database.
    6 r$ H7 k! }3 Y- p4 L% I  G$ V
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    4 R2 O0 X1 G1 H. o/ n: u
  15. the time of writing, there are still too many issues - check the current status6 K# n4 o1 w" R+ f) m' U$ F
  16. in the TeamSpeak forums if you are interested.
    # ?2 U2 K5 c2 A) |5 q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ; q+ l, w. l8 `4 N- `
  18. Borland was used. This driver can only interface with the client library that 0 X! @! j5 ~/ a( z, H% @
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    0 f& W3 G* q# _
  20. client library - basically all you have to do is to use a 3.x client library as
    8 R5 E8 k9 e! [
  21. "VendorLib" and a 4.x database to connect to.' P, M' B/ H. g6 q5 M4 H" p
  22. If you need more info about dbExpress, you can contact Borland./ Q, `& K. A7 c# Q+ e( W
  23. $ U) x# h. U9 b# h) F( V
  24. ### Doing the work ###
    5 }! E, I; t" I3 ^- h
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    5 \+ r  e) g& D
  26. the perquisites right, just open your server.ini file, and add this section at
    ( M1 i- g- p0 i# Z$ U" |8 j
  27. the end:
    * r, Y( G0 j% t. H9 [
  28. ---cut here---$ {3 X# E7 |5 P! q0 L
  29. [DBEXPRESS]( ^3 [5 _1 t7 f- A' ~$ R2 o
  30. sqldir=mysql_sql
    & Q4 n5 q4 O4 ~6 I5 P
  31. Drivername=mysql
    0 s3 H- ~  d7 q. z% _/ G+ o# s, Y
  32. Database=Your_Database_Name_Here4 X/ j, n1 u9 r+ f; s
  33. Hostname=The_PC_the_MySQL-Server_is_on
    - T; o( K3 o1 g: E" n- A" h
  34. User_name=User_name_on_the_MySQL-Server
    ; R; @3 ^( z, U, E1 R- g
  35. Password=Password_to_go_with_above_user_name) C! D' ^1 X; t' A8 A  O
  36. GetDriverFunc=getSQLDriverMYSQL( P: U. L9 t) T
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    & ?( ~: T6 E" F) p+ Z
  38. LibraryName=path_to_libsqlmy_libary$ B- j5 @' r* h3 P6 n( C1 h
  39. Active=1
    9 x9 _, y- d6 a3 F" H# a3 S
  40. ---cut here---4 @' j# `) \* ?
  41. In my environment (a linux box with a MySQL server running locally) I have:
    9 s( T7 [% Y% H: x  K
  42. ---example---1 j) \" Z+ o+ ~" q4 X
  43. [DBEXPRESS]2 N) R" J8 i$ R; ?& S5 s( Q
  44. sqldir=mysql_sql
    2 d1 i3 H) n" _: r
  45. Drivername=mysql  {1 g4 _7 p, |4 Z+ u
  46. Database=test- j3 [' p8 H% Q1 L7 ^
  47. Hostname=localhost/ g' |" p+ E* ~0 P7 f& X8 y7 Y; s
  48. User_name=testuser
    5 H" O2 \& V) s! C% K
  49. Password=my_password
    8 f+ w( C* k, l! h, t' ]
  50. GetDriverFunc=getSQLDriverMYSQL
    # K! a+ |: Q# C& N0 _7 K6 i7 F3 p0 M
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0; L; |, T5 o9 h& C8 U5 B: n1 J
  52. LibraryName=./libsqlmy.so: w- l, Q* O* M2 _8 A
  53. Active=1
    ! i! z  g! @  ?( r, m4 _* K5 q! q3 S
  54. ---example---
    & P$ b6 o* b/ e0 w
  55. 5 v. h% N0 X% M
  56. On a windows box, also running the MySQL server locally, it would be:
    ) }1 d3 K# ~4 S6 h, u
  57. ---example---  f5 G# A. x* l. D+ ]
  58. [DBEXPRESS]. D% \: l: y8 C7 A: u) F: f; n5 g
  59. sqldir=mysql_sql1 X5 n; J8 G- s+ |
  60. Drivername=mysql
    % Q' A$ P- w# |2 k& N" w
  61. Database=test
      G' w9 ?8 A  x  y! V: w8 Q! J
  62. Hostname=127.0.0.1- T. k/ P. E% F* F6 w$ x
  63. User_name=testuser8 P! L( W6 E& ^. p0 o. c, {
  64. Password=my_password
    * H6 N; y1 E, L8 P, i
  65. GetDriverFunc=getSQLDriverMYSQL# M8 @. c" Z# Z& \# a0 K
  66. VendorLib=libmysql.dll/ D3 ?- b: T( G* g: A5 p/ P9 a9 x
  67. LibraryName=dbexpmysql.dll
    / |/ o" K9 a% V4 Z" I. G- G+ i
  68. Active=1
    . G' c) b5 \2 H3 O
  69. ---example----
    9 f% I% {* O$ K& K. ?4 p
  70. - written 02.03.04 by pwk.linuxfan$ C& R4 M( V, G- w, O* C, _5 w

  71.   T; ?& y* n/ j6 T8 R7 x  \
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
3 [6 G3 e0 D6 i% Q% |: B# j6 v
  1. 3 z* M7 r( I5 E
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 1 K* W3 l1 C( V; @7 e4 l2 M5 N4 E* g0 p9 g
  3. / L) T9 @+ C0 p( m  _1 z
  4. # # #我们所需要# # #   v$ K; t9 k! P4 J2 _1 ~. R
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    # \8 g3 T- d1 E( Z" p# x- E5 S
  6. 不会解释如何做到这一点-也有文件存在,为+ _( ?9 ]9 a; X9 Q, }* W
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ; \1 s$ `9 |0 e8 _4 q/ M5 Y7 S  ]" [
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    $ A, |4 N$ T, x
  9. 随着数据库。此外,你需要一个卖方图书馆安装于5 P$ y' e$ E& V/ \7 `% j, A
  10. 本地机器,这是我的MySQL安装。
    / |9 o+ i. v* D( A& ?
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从. I& \2 R8 I4 K' ]' Z( v& A5 Y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    % j2 z* y0 E+ n4 E
  13. 数据库。
    8 O6 Z" G8 c; ~% ^  Z. k
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在2 M! A9 T' h5 a: m1 Q4 J8 E
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    $ s( d" E* }& ^3 t8 J' {
  16. 在teamspeak论坛,如果你有兴趣。 : P) z9 A: t' Y7 l/ |
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 b* Q) d6 [& b
  18. Borland公司使用。这个司机只能界面与客户端库
    . q$ H  G5 D3 W: o: k" {: d
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ( F' ], X3 r* @
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ) V: R/ Z, o! q% X  E& m5 U; y
  21. " vendorlib " ,并解数据库连接。
    . A; [+ W3 a; }! `* G
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 + k8 y& n7 ]4 ?( p; }% p' x
  23. % w0 |  @( {* n
  24. # # #做好工作# # # ! J7 p( y3 [$ z2 s" s
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ) t- z; |3 p# I: ]3 a. k
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    2 F' P# ]" O, {7 I: `* e' I
  27. 结束:
    # w7 [0 l# ?  a9 E1 Y( e& I
  28. ---削减这里--- " m' B# a5 b/ H7 j/ b' c$ m5 z0 X
  29. [ dbexpress ]
    : h% r- s7 z$ N$ \4 I6 @# s* b
  30. sqldir = mysql_sql * j* y8 u' \2 C% N( X, I
  31. drivername = MySQL中
    + o/ M9 p/ |% W8 y% Z
  32. 数据库= your_database_name_here
    9 U1 ^+ G6 H( v1 Q4 y7 o# B+ ^( ?; J
  33. 主机= the_pc_the_mysql - server_is_on
    9 |4 E; T! r4 ^! R5 g6 F
  34. user_name = user_name_on_the_mysql服务器! h6 F% S" P. {8 i* u
  35. 密码= password_to_go_with_above_user_name
    6 t' R0 Z. F0 v
  36. getdriverfunc = getsqldrivermysql
    2 n* B: D; l6 z# M! N/ }  N
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
      b' G1 [% x- R" V1 F' E2 z% g
  38. libraryname = path_to_libsqlmy_libary " y! J# i/ K. k! p; c
  39. 积极= 1 + `/ Q) ~8 r9 z4 Z
  40. ---削减这里---
    4 _, M8 _, w; U  X8 m* w2 i
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    7 s' b+ q6 }* r! l2 Z: u
  42. ---例如--- : o9 g5 G* {5 G
  43. [ dbexpress ]
    ; w& h5 u' a4 W  y) D# Q6 a
  44. sqldir = mysql_sql
    / j8 F( ]2 p, f# ~; i; O. N
  45. drivername = MySQL中
    1 ?7 b: S/ E# e9 l9 a, L
  46. 数据库=测试4 n# s8 d6 h1 i
  47. 主机=本地主机
    9 a; }9 `8 z# {2 t
  48. user_name = testuser + H5 a& o8 U/ A# D# g
  49. 密码= my_password
    # ^4 x, A, T7 U$ O$ @9 t
  50. getdriverfunc = getsqldrivermysql + q9 Q1 q6 ~4 d6 S5 x
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    % t# e9 D% ]4 P* E$ ~
  52. libraryname =. / libsqlmy.so ' S( E, B- H6 v: a8 z! d, G
  53. 积极= 1 5 O. U* o" w9 S0 E: K7 A3 n4 @
  54. ---例如---
    ! g: i3 u; t6 G2 a: N. y  R/ I6 o
  55. - R/ }0 E. K9 T3 U
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 5 q- i$ P; l' O5 b, W% Q
  57. ---例如--- ' t+ k$ I% j( Y) a( @) o
  58. [ dbexpress ]
    ) r' L! }  G9 C9 Z$ F( L4 l
  59. sqldir = mysql_sql 6 P+ \/ g. w+ c; F9 a, p
  60. drivername = MySQL中
    5 K, j/ s! H& Z3 u3 A2 ?5 T% {
  61. 数据库=测试2 g7 |; W3 D* h  V8 Y2 ^/ d
  62. 主机= 127.0.0.1
    * }3 E7 T$ n( f* V) W
  63. user_name = testuser   ?" @% m: s7 A6 c( d" k* {
  64. 密码= my_password
    & f& Y: ]+ @! _9 o) n. \
  65. getdriverfunc = getsqldrivermysql
    1 c1 z8 e% X, n) `
  66. vendorlib = libmysql.dll在
    / O' O% c, ~) n* P: T0 @2 ?. @
  67. libraryname = dbexpmysql.dll 9 C9 I* P' U( I+ S
  68. 积极= 1 5 N  c* I4 o: G" D0 ^  y2 E0 S
  69. ---例如---- 3 O: s% b9 ?6 W5 j% H. R
  70. -写在0 2.03.04由p wk.linuxfan
    $ R4 K, _3 ?* s( d, `0 [
复制代码
发表于 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
' r( f& x1 Y, z; q
# i! {3 Z8 X% R0 M1 lbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-24 17:02 , Processed in 0.095435 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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