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

3027 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 9 R" D6 o" n" z7 w3 @+ v
1 f/ Q8 P9 W, A# t+ d

  1. " Z  \; m! n3 s# C7 l! f% K
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######9 J) \# P( g/ y4 J1 M7 @/ I
  3. 1 N, W0 s% O- U
  4. ### What we need ###
    3 j% ^+ \4 n# f0 j! l7 b
  5. Naturally, we will need a MySQL server to store the data for us, this document
    1 W! h7 f/ `' \) u. _; m: ~
  6. will not explain how this can be done - there are documents out there for the 6 @8 s8 z6 @: j, p7 z3 G
  7. interested. The requirements include a (empty) database for TeamSpeak to use" Z* X, e+ D! z# v
  8. and a user account (username + password) that has the permissions to do stuff
      y: L) ~8 Q2 a3 \0 g; k* h
  9. with the database. Additionally, you will need a vendor library installed on the
    4 k1 N% ~9 G( b- B1 c5 K8 @) x
  10. local machine, this came with my MySQL install.
    & {0 L( I" Z* t8 u0 f0 j
  11. These instructions will not tell you how you might transfer your data from the
    1 n2 J2 g; ~7 A1 B/ r4 {
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    $ B0 [4 C3 m) J) M) \
  13. database.
    ) K3 H, u: M0 p2 W
  14. Some users have reported ways to import a SQLite database into MySQL, but at0 {5 E7 i  E- ?' b
  15. the time of writing, there are still too many issues - check the current status
    & e6 z' a7 V6 b% s+ M: }- z# u
  16. in the TeamSpeak forums if you are interested.
    & v9 Y( H' @# j5 u- X. h
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    * J! B' z+ ?9 y  U: U' }
  18. Borland was used. This driver can only interface with the client library that / O7 d" Y( f  F) Z) B; \
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this! t) k! `6 j1 P( W
  20. client library - basically all you have to do is to use a 3.x client library as
      P* P# X0 L0 B2 [2 t- R
  21. "VendorLib" and a 4.x database to connect to.' f: S: t3 l: y
  22. If you need more info about dbExpress, you can contact Borland.
    % p8 D5 w6 f: W) n$ Z8 b/ f) x
  23. " f" O4 m+ ~8 x( X) l: X
  24. ### Doing the work ###
    $ x/ y; J9 g# O- s
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ' ?3 }2 [4 e" G
  26. the perquisites right, just open your server.ini file, and add this section at0 o7 Z7 C  A3 C
  27. the end:" z" e* o: N, o8 i$ U$ u  f
  28. ---cut here---
    $ Z+ h# [% u8 U" W$ |& d
  29. [DBEXPRESS]+ k1 V. B4 q! @! }
  30. sqldir=mysql_sql
    6 K5 s' B/ x' ]6 Y1 c$ I+ H
  31. Drivername=mysql8 c- p+ x1 {, ^: }& a0 V9 a9 o
  32. Database=Your_Database_Name_Here
    & O# |# v' ~/ f8 q9 k, A  U/ Z
  33. Hostname=The_PC_the_MySQL-Server_is_on5 D- N8 `7 S; `/ _
  34. User_name=User_name_on_the_MySQL-Server
    * T5 j) v) a) }% f3 B
  35. Password=Password_to_go_with_above_user_name0 p- U3 w8 F# A  K4 _
  36. GetDriverFunc=getSQLDriverMYSQL0 h/ s+ F4 }3 a7 m# \2 Z8 g
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    * g( k: b  R! l- m4 M
  38. LibraryName=path_to_libsqlmy_libary
    8 I' Z" @  z' Y- ~
  39. Active=1' r; |$ B4 b! {1 O3 @8 d
  40. ---cut here---' R3 \; E. P+ Q% n! \5 D6 R0 A
  41. In my environment (a linux box with a MySQL server running locally) I have:2 S8 p6 {! h1 m$ U) `
  42. ---example---' N' x  |2 |3 q% q( Z3 `, O
  43. [DBEXPRESS]. @2 c2 E, g3 p6 W' U
  44. sqldir=mysql_sql% O! T* N; \. M  x# L& [+ c! \
  45. Drivername=mysql
    2 N  X! t5 i, P$ n) L
  46. Database=test8 V% P. c# I/ @$ B
  47. Hostname=localhost
    5 X0 z5 b- }, O8 }
  48. User_name=testuser, E3 B6 D7 ~1 x/ A# }* K" k
  49. Password=my_password
    6 z' P' X/ U1 b( P
  50. GetDriverFunc=getSQLDriverMYSQL9 H6 o* H& _5 N  X& X5 T0 G9 m
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.08 m2 V- n0 z1 |: g
  52. LibraryName=./libsqlmy.so
    2 Z" `, Q6 k0 U% {
  53. Active=1# i) ?: _& M; G7 ?+ {3 m5 |
  54. ---example---
    7 B! k7 w$ K# e; ]8 r- l

  55. & _- g. K: G. j! w! N6 ]
  56. On a windows box, also running the MySQL server locally, it would be:1 h. K$ t, B/ A  x% m) H
  57. ---example---
    4 ]* X' l& p) O3 N- K
  58. [DBEXPRESS]- @6 d3 c3 Z' R4 U1 l4 Z/ V
  59. sqldir=mysql_sql
    # m$ c' n* [- T  S
  60. Drivername=mysql
    ' s, g/ f9 C0 f2 y/ X0 M& m
  61. Database=test0 ]: v& ?) [  E: K) f
  62. Hostname=127.0.0.19 {9 g3 A  c* D+ v+ ^) i& t$ e
  63. User_name=testuser$ j5 S+ D) i) ~3 B" j, r" T/ N
  64. Password=my_password
    3 x4 G% z! {; P, \7 r7 b3 |( B
  65. GetDriverFunc=getSQLDriverMYSQL
    ! _$ C6 ~' `, k' L& o2 E3 x$ z; p
  66. VendorLib=libmysql.dll- A- a/ T) _$ \7 G& U- C
  67. LibraryName=dbexpmysql.dll* J- J  B$ t* M  T- E
  68. Active=1: M6 p( I" P1 M- u) U
  69. ---example----3 }: a0 l# a5 U1 S3 u
  70. - written 02.03.04 by pwk.linuxfan
    ) y; _$ S' w8 g9 g9 l, \& X
  71. 7 ]7 d4 U0 o  l+ }; w7 S& `2 e9 d7 y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看' S- Q: @& e; d, f* ?8 E
  1. # b2 y7 I$ _; N' `7 U( b4 X' j
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 5 ^/ ?- `: t* w+ e% S/ S* r

  3. - g( n, I9 q6 c! o/ c4 d
  4. # # #我们所需要# # # " F4 {+ k8 h6 t( i7 l6 n2 J
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件! J' B  O/ o7 \* @* o" ?! _
  6. 不会解释如何做到这一点-也有文件存在,为+ h9 v* e. O+ }& k  {. [
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用5 K* }' O. O: W
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    6 ^- j' P/ J$ @9 e: k* k; J
  9. 随着数据库。此外,你需要一个卖方图书馆安装于' J/ U# B) P4 k. K5 V9 I% L% E
  10. 本地机器,这是我的MySQL安装。
    2 g- N4 }2 j! x
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从' j! w9 S4 k* r+ g
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ! O4 k  K" i# h
  13. 数据库。 ! U, k! y0 w- i. c2 m$ L
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    8 N' u$ J" r3 x" {& Q4 Z) o
  15. 编写本报告的时候,仍然有太多的问题-检查现状3 D8 }: z  }8 [/ F9 M# t3 @
  16. 在teamspeak论坛,如果你有兴趣。 ; o7 G6 _: [: L$ d1 ]7 `' \
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    - n* z/ y* f+ n
  18. Borland公司使用。这个司机只能界面与客户端库
    6 J/ Y9 _1 X  F: r, m6 u( D+ i
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这' x- [0 @! ], `1 P; z' ^
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ) q6 m7 l; {( F; {
  21. " vendorlib " ,并解数据库连接。 8 L0 S7 X% J9 ^. w! Y# V7 M+ T
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ' S8 \6 g5 O" n  u3 u7 E: ~

  23. + W+ M% d8 _; O$ `; H/ M2 v5 ?
  24. # # #做好工作# # #
    , u8 u) O4 a* r% g3 o3 V  G
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    / k: A0 I9 T( {* M0 [+ t
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在4 _$ P+ Q; M: {4 q% u& N3 _# n  ?
  27. 结束:   r! c( A4 U8 P2 B9 m6 B  ]
  28. ---削减这里--- 3 v( H, S7 p( _  Q# X
  29. [ dbexpress ]
    - g: h5 o) Z) R/ |
  30. sqldir = mysql_sql
      o; ~3 }9 M3 C& y1 b
  31. drivername = MySQL中% q1 G( n1 Q/ A/ \
  32. 数据库= your_database_name_here 6 @4 T) o  s9 P- L; ?
  33. 主机= the_pc_the_mysql - server_is_on 5 X9 A3 p8 e5 W4 G2 R4 b# P; v
  34. user_name = user_name_on_the_mysql服务器0 k( I  z' V( O1 L
  35. 密码= password_to_go_with_above_user_name
    * f+ a8 G6 k, E5 ~# _: f7 L
  36. getdriverfunc = getsqldrivermysql
    7 z1 `' m; M2 d: G" M* z. x) N
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 7 T5 H* M- b0 s! j$ ~
  38. libraryname = path_to_libsqlmy_libary
    & c; }, g9 O: ~! A
  39. 积极= 1
    0 v  B$ n2 V8 H* |/ B
  40. ---削减这里---
    # C) l8 a, S* u* _. }& J  k
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 3 ~  q! V. a2 S8 t8 o9 ?2 R
  42. ---例如---
    1 r- T! T. Y5 ~& E
  43. [ dbexpress ] 7 n# t' Y5 f) C- i! l! m( g: q8 |
  44. sqldir = mysql_sql
    7 s- r8 a1 J) Y
  45. drivername = MySQL中7 a6 h  o  D5 X2 e
  46. 数据库=测试
    ' Q& [4 \% C5 G# |7 s% J" t
  47. 主机=本地主机& t5 y7 G% @* @( ~
  48. user_name = testuser ( ~; U( U9 L* }/ [  {5 E4 \4 M- y. b
  49. 密码= my_password 2 P7 I3 F1 y, g# V# s. z
  50. getdriverfunc = getsqldrivermysql ' k' I! E9 L4 z: O% b
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 5 u1 x+ c/ d3 L  }$ t* C
  52. libraryname =. / libsqlmy.so
    3 ~1 G9 u8 L' o
  53. 积极= 1
    $ e# N9 t7 q0 s% ~
  54. ---例如--- 9 G. |$ |# ]8 Y

  55.   w0 j8 j1 B2 U) ?
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    3 k" }4 y; b9 ^3 N4 R# F
  57. ---例如--- 3 g8 Y/ F6 w" K; Q
  58. [ dbexpress ] 9 I3 q+ N; [+ p+ R
  59. sqldir = mysql_sql * P7 J* ~1 }6 u, q6 W
  60. drivername = MySQL中
    * r8 a3 D  y* A$ H3 t1 `
  61. 数据库=测试3 v+ R; I0 H' Z6 {; a. c5 U& X
  62. 主机= 127.0.0.1
    ) I, v4 J. s  F( ^
  63. user_name = testuser
    . M' \4 ?9 ^# I
  64. 密码= my_password 8 _0 [7 L( V) r& \0 B
  65. getdriverfunc = getsqldrivermysql
    7 y( Q) r$ L$ s0 W# t. [
  66. vendorlib = libmysql.dll在
    ! J" _1 @+ r7 c* R" L; L( F! o
  67. libraryname = dbexpmysql.dll
      S' H, n' R4 S% D& ?/ p
  68. 积极= 1
    - G1 k6 f6 t) B
  69. ---例如---- + G  Q# \) m6 z4 e3 ~( q, J' K
  70. -写在0 2.03.04由p wk.linuxfan3 y3 ~/ C3 Y8 F1 U
复制代码
发表于 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) O" s$ E( R5 U6 [. `7 a7 N/ i
3 K9 c# D5 U  A# `; C8 y/ k
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-15 16:15 , Processed in 0.101556 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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