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

2412 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ; i* r6 f+ z! C& J- l; S7 n
9 m  L& N. j0 p0 l. _

  1. / M& M8 l+ t) c( f1 m- O+ B
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ) V! O6 P# }, e, {

  3. " t* M0 [0 y9 K, \1 f
  4. ### What we need ###4 ~% c+ I+ j4 ~# R
  5. Naturally, we will need a MySQL server to store the data for us, this document 7 y, O7 w. J: @$ j- w
  6. will not explain how this can be done - there are documents out there for the 0 T6 N; I2 K% p' [8 ?4 w0 {2 ?
  7. interested. The requirements include a (empty) database for TeamSpeak to use+ y' Z% w" [4 c8 Q! I4 h
  8. and a user account (username + password) that has the permissions to do stuff
    4 c! @. W4 {. g
  9. with the database. Additionally, you will need a vendor library installed on the2 i! }* J6 X! e; b, A
  10. local machine, this came with my MySQL install.
    8 U. [) V" k1 K
  11. These instructions will not tell you how you might transfer your data from the
    . Q& V9 }6 [8 u& {, x4 Y4 @1 ~9 L
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    : h# x9 ]: _. S( b7 c
  13. database.
    ' t4 V7 X! {8 V1 z" t. ]" d
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    % B7 M9 q  q( @$ I/ q! u9 k
  15. the time of writing, there are still too many issues - check the current status0 G0 l: F: ]' G# M
  16. in the TeamSpeak forums if you are interested.: r% v, h  y3 `4 b- ?9 x! D! F
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from0 i4 L( c# M: s6 c& g  g
  18. Borland was used. This driver can only interface with the client library that
    2 u' P' @1 |6 H0 Z+ x8 m# i
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this+ M$ Y. r% k7 s# o5 g% N' e
  20. client library - basically all you have to do is to use a 3.x client library as
    / W4 b* X# a/ z" k8 }) x
  21. "VendorLib" and a 4.x database to connect to.
    , A9 x1 q, s) @% {, E
  22. If you need more info about dbExpress, you can contact Borland.
    % b  y# i* z( x7 u" [

  23. - m' _8 J- m4 j; S4 h/ N, y2 r
  24. ### Doing the work ###5 s0 G4 q& K1 o: p& m
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all* G; _' P7 C$ W+ {
  26. the perquisites right, just open your server.ini file, and add this section at
    1 x0 t1 k6 x2 g5 [! |5 k4 B* s
  27. the end:
    * j$ q( g9 ~/ P2 _* R
  28. ---cut here---
    " C0 @3 u# T' n8 l* x1 F
  29. [DBEXPRESS]2 Z- B5 e- r8 h( y0 P
  30. sqldir=mysql_sql
    0 O! |$ q2 G. g
  31. Drivername=mysql6 y" {) H) d) o% f3 x1 V; D1 G& L7 S
  32. Database=Your_Database_Name_Here* W0 T: v1 G( L# \) C' E
  33. Hostname=The_PC_the_MySQL-Server_is_on
    / D- U* F* n* g; E
  34. User_name=User_name_on_the_MySQL-Server
    , p% }( @" k/ T
  35. Password=Password_to_go_with_above_user_name
    ) v& Z! F4 p. P5 a8 {$ h7 b
  36. GetDriverFunc=getSQLDriverMYSQL* [: F6 s3 H3 A
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    " F* N. ]; T( F. P0 ~9 i1 q6 o7 q& q& ~
  38. LibraryName=path_to_libsqlmy_libary; t% X. p/ e3 ^1 j8 n
  39. Active=1% ?* \" F4 E) n) L' K- ^5 @" G
  40. ---cut here---
    , M2 v) v4 e; Y% H0 ]! \. ]  F
  41. In my environment (a linux box with a MySQL server running locally) I have:0 l5 G1 ~. m% C7 `  p
  42. ---example---: i" g, t4 a  F2 x$ O+ E& U: ^
  43. [DBEXPRESS]; a* Z( Q% G6 l: @* v
  44. sqldir=mysql_sql: U* o; d! [' f3 ], |
  45. Drivername=mysql$ v' d! N; z7 M0 z9 C1 [( Y
  46. Database=test
    ' N# `4 n1 s9 F! w$ \
  47. Hostname=localhost
    , c+ c/ a1 }! R7 g6 J2 L' ?
  48. User_name=testuser5 K+ \* R8 r1 m4 w) K: I" q6 p
  49. Password=my_password
    * K* G$ F$ {4 Z7 f) C5 e
  50. GetDriverFunc=getSQLDriverMYSQL2 i( v9 \( Z' N4 \% w) [
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0: ]9 P$ E$ G- D
  52. LibraryName=./libsqlmy.so
    . h% T" m$ I6 f5 s- n% o& i
  53. Active=16 m* l( K3 N8 T8 ?, A' k
  54. ---example---6 t0 V2 x" {: x4 b+ K9 V
  55. 0 T% @8 W/ c$ N$ ]  M  ^7 X$ O
  56. On a windows box, also running the MySQL server locally, it would be:8 d, h- V8 J: d
  57. ---example---
    . x  q. |3 |, Q* |. @( u
  58. [DBEXPRESS]
    ; t5 j' O) Z7 P2 M* M; S6 i. @- V
  59. sqldir=mysql_sql
    $ G0 B6 I9 ~5 R9 Q7 f" t  o5 x
  60. Drivername=mysql8 l1 Y( x5 {5 d" K* f% v
  61. Database=test2 k; ~- B$ e, _$ _# t. I# V
  62. Hostname=127.0.0.16 {7 r  [, }& U
  63. User_name=testuser! N! }2 R# x1 a/ X1 z' Q) U- Z
  64. Password=my_password
    9 F& P3 P" [4 C8 v  B4 Y6 ]& |
  65. GetDriverFunc=getSQLDriverMYSQL
    8 {! P5 O  T+ w
  66. VendorLib=libmysql.dll4 @9 P: g9 O" |* g1 J2 c! D
  67. LibraryName=dbexpmysql.dll
    " G2 q0 ~7 {; h9 o- s) B
  68. Active=1' a+ \( X- e& i+ S. \0 R1 w
  69. ---example----
    ; {% o' `/ d+ v% J" x& q9 ~* f
  70. - written 02.03.04 by pwk.linuxfan
    * S! \9 M& @3 q8 q; N1 C* N
  71. 3 n1 w: g) g/ K
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
/ E# _0 D) _& z9 X  q
  1. 5 I% P/ ?$ p9 g4 I7 |# N
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ; Z( S1 n$ Y: O& p: O/ _# S' V
  3. 3 {, W8 B8 N, a
  4. # # #我们所需要# # # 4 S; i6 }6 W$ x9 w* }' F
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
      y5 v4 H6 h) \& b1 h
  6. 不会解释如何做到这一点-也有文件存在,为
    * z0 W2 |& G5 Y- ~" a: ?8 E
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用; j/ _; u9 C$ T
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    6 J* ~# P. q) I7 e5 A( I9 J* e  A: l/ @
  9. 随着数据库。此外,你需要一个卖方图书馆安装于8 d; t/ l+ a% }  {: o2 g: J- a" I
  10. 本地机器,这是我的MySQL安装。 1 Y2 T) E0 m3 V4 ^9 w- W5 ^: m
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    * F# d9 |8 [0 r* G' I
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 1 F4 {- B" G+ E, k
  13. 数据库。
    5 b  R9 J: O3 V( n5 M" S
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    6 f1 z; p, V! g! E
  15. 编写本报告的时候,仍然有太多的问题-检查现状! `' W" o9 l4 u2 X
  16. 在teamspeak论坛,如果你有兴趣。
    / P! \5 U# U5 B/ y# p/ q7 X2 {
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机8 F5 X- Y" k; F7 G
  18. Borland公司使用。这个司机只能界面与客户端库
    + l: L( Z2 _# @6 d
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这5 t& Q0 c0 E+ G7 B8 J. w
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ; I1 o7 I! \' o
  21. " vendorlib " ,并解数据库连接。
    & X8 c$ M) B- O% Z- ^
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    % R' K# l' H. o

  23. 2 S, c  a% T  N- v) o2 z6 y. a
  24. # # #做好工作# # # 1 F9 s2 o- o) D' B
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都7 z- ?& t7 f6 K
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在; C8 o: z* @0 D# C8 ~' y- D
  27. 结束: : G0 Q& v+ E% X. A7 i/ p
  28. ---削减这里---
    + l% q5 ^- h+ [/ C7 o
  29. [ dbexpress ]
    . P( D/ V/ m5 ~0 Q
  30. sqldir = mysql_sql 8 w8 x8 S3 r) a9 D0 v9 V/ f. A9 ~" T
  31. drivername = MySQL中
    7 }+ f& L, `9 c; R, e, c8 ?
  32. 数据库= your_database_name_here 5 X  R( _) E: E& _! \
  33. 主机= the_pc_the_mysql - server_is_on : E4 V: O8 @7 O$ t
  34. user_name = user_name_on_the_mysql服务器
    0 T) |+ t% x7 \9 g7 ?9 Q
  35. 密码= password_to_go_with_above_user_name ; H0 R, M. R) h, Z' [: {
  36. getdriverfunc = getsqldrivermysql " w7 N) |' a% c2 j
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    2 M: X2 {1 I8 k; J; e
  38. libraryname = path_to_libsqlmy_libary # X9 m, h8 t! n; ~9 C: l; e( g
  39. 积极= 1
    - g; j6 @" j0 O. r! u) B
  40. ---削减这里---
    ! @0 _+ `/ c3 `! r/ D- R! \
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 0 @7 o  s2 _. ~
  42. ---例如--- ' X/ @! u2 C3 |* D' K' r0 u) X: j% Z
  43. [ dbexpress ] * J. X2 Y3 f; [
  44. sqldir = mysql_sql / B" j0 W) y+ [% E
  45. drivername = MySQL中
    # u6 R- y' h: e: B, v( p
  46. 数据库=测试; w1 Q/ c" a: x/ U# N: X. y8 K! X( S
  47. 主机=本地主机3 y) M0 U! M) U6 R/ p6 p; M: |
  48. user_name = testuser
    2 r: K1 T3 \& _$ T
  49. 密码= my_password
    - p! B# b; |( N: i" C4 v
  50. getdriverfunc = getsqldrivermysql ; l( |5 d) c" G0 u
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ( n7 F3 E0 h4 ^% s6 e1 \
  52. libraryname =. / libsqlmy.so
    - a4 C, A( j7 V* D: \0 O- x6 i
  53. 积极= 1 * s" z; A8 O' G
  54. ---例如--- * O0 U6 o" i2 C* m. x9 n

  55. & Q1 G5 _+ e# ?# C# R6 q
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 1 l1 N; v. z; A% L5 ]: f5 V
  57. ---例如--- ! ~' `7 Q7 E/ T: Q1 ~
  58. [ dbexpress ]
    ' D' e4 \' l! ^$ _5 H% I; s
  59. sqldir = mysql_sql
    # B( T- m* |' W. i
  60. drivername = MySQL中
    ) N, b4 S$ u- T
  61. 数据库=测试% k2 F* S- t7 Z$ @( ^) C
  62. 主机= 127.0.0.1 9 O/ x0 \- t4 @0 M
  63. user_name = testuser
    * Q' _) r/ d9 }  j0 M
  64. 密码= my_password # s: W; }) c+ W6 ]. H
  65. getdriverfunc = getsqldrivermysql 1 X: K% h2 u; ]
  66. vendorlib = libmysql.dll在
    - f, }: o5 b+ f/ [1 N) w
  67. libraryname = dbexpmysql.dll ' [1 L) d* W2 B1 u4 K4 D/ e% x
  68. 积极= 1
    2 R& y) _7 |% r8 W
  69. ---例如---- " O4 p* `4 |, [' J; f! ]" v
  70. -写在0 2.03.04由p wk.linuxfan0 R% w) t" M: D9 f+ N
复制代码
发表于 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 words8 t6 S+ h: T. H# f
* b9 f; T& p& O- ~
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-27 11:38 , Processed in 0.118466 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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