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

2730 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
) Q& \9 ~- H, W/ Y) z7 F1 T6 ^8 J& w" I* |8 x  Z
  1. & p1 e" }) T+ N
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    + f3 i, S  T6 G: _. D/ P: t& \

  3. $ D1 ?; x9 K2 \; [* H
  4. ### What we need ###0 O  W4 y/ [. t6 W, j8 g. a: ^7 _
  5. Naturally, we will need a MySQL server to store the data for us, this document 3 J* ^% M( v" w! e8 m7 D4 o* H
  6. will not explain how this can be done - there are documents out there for the # J" [/ S2 R9 V: I  b# ]: ~( C; {
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    * ~$ K; Q8 g7 |* `. m/ F
  8. and a user account (username + password) that has the permissions to do stuff
    $ @' S! c& n& t
  9. with the database. Additionally, you will need a vendor library installed on the3 k0 e) T3 M# |5 S' K) I2 z
  10. local machine, this came with my MySQL install.  Y, f4 l& t% ?: O
  11. These instructions will not tell you how you might transfer your data from the
    1 p1 L1 H) F" Y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL- y9 L% p. d; y) ~4 {; y9 b
  13. database.
    # P) h3 V; ]! b9 G/ n
  14. Some users have reported ways to import a SQLite database into MySQL, but at5 e2 |# P! S0 h4 L* C' p9 Q
  15. the time of writing, there are still too many issues - check the current status
    # q( M3 T6 w4 v- e3 k/ i/ [+ S
  16. in the TeamSpeak forums if you are interested.
    & J9 P; |& d' X! ?# y/ W
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    8 X: z/ j& n6 a9 o
  18. Borland was used. This driver can only interface with the client library that
    ' S( h% d. ^. {- p5 Q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this5 w6 l5 w: r/ u
  20. client library - basically all you have to do is to use a 3.x client library as : k7 P8 P: P& m9 ]% T) T6 q
  21. "VendorLib" and a 4.x database to connect to.
    * K5 g7 v: r1 x' s! e- [
  22. If you need more info about dbExpress, you can contact Borland.3 r) Q' \1 L, p6 W7 K' C* o7 L* c

  23. + m7 D) u3 \  u5 w7 f2 F( Y# K" p
  24. ### Doing the work ###7 i0 x; q- U" C/ P* x# L
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all; L* d! E3 N" B
  26. the perquisites right, just open your server.ini file, and add this section at
    + \" y0 h& V; q- M
  27. the end:- U" ?, g$ u: I
  28. ---cut here---5 g7 s( h3 J2 W6 X
  29. [DBEXPRESS]1 v+ Z9 _" M( l9 l9 \9 d9 X
  30. sqldir=mysql_sql3 [& q' t: I* F1 u
  31. Drivername=mysql
    5 l/ D) M( p- _, d4 F
  32. Database=Your_Database_Name_Here& k' {* k/ t8 E1 y; T7 D
  33. Hostname=The_PC_the_MySQL-Server_is_on+ d9 s- ~! N# j
  34. User_name=User_name_on_the_MySQL-Server4 C# S4 `9 h% H
  35. Password=Password_to_go_with_above_user_name
    / R1 ]4 b* T, e7 F6 Z* r6 b/ e
  36. GetDriverFunc=getSQLDriverMYSQL
    $ @2 \9 D6 _( N4 Y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib3 P' ~( k) X. ]! ?$ M
  38. LibraryName=path_to_libsqlmy_libary3 f+ Z4 h  t8 F% e
  39. Active=1. E' R  ~0 O( V, r, ^6 j- n
  40. ---cut here---
    : x6 \% ?' u8 t1 S& G
  41. In my environment (a linux box with a MySQL server running locally) I have:3 U$ s: c5 g- P2 s% W5 D) u
  42. ---example---
    6 h* a4 ?7 Q; \/ P8 O
  43. [DBEXPRESS]; b! [& E. s% g- J) x
  44. sqldir=mysql_sql
    8 m4 |. Z- q- [- d7 T5 k3 I: u
  45. Drivername=mysql$ C) n- E# l/ x6 W% N' @0 v
  46. Database=test
    7 n0 b+ e8 |' @% Y
  47. Hostname=localhost
    " V/ v. m0 A0 b7 k0 V& a% z; P9 u0 K
  48. User_name=testuser
    2 q% j: s+ H: _5 W, k7 k
  49. Password=my_password
    5 q- B1 h. ^4 ]( J" F
  50. GetDriverFunc=getSQLDriverMYSQL
    0 U: n6 Y9 a( j/ Q; n) [
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0+ `" N  R1 L3 l  @2 ~3 h: U
  52. LibraryName=./libsqlmy.so
    ; j1 B; H+ m7 H- B% I- w" |
  53. Active=1/ ]4 O4 c$ b. \1 Y, v/ c
  54. ---example---
    5 a$ m! S% Q$ l* m( K  K

  55. 2 m! U) c# z1 y+ n5 \
  56. On a windows box, also running the MySQL server locally, it would be:
    , M( }, }9 G  j7 c; E
  57. ---example---
      o8 i' \6 s8 l9 L; K
  58. [DBEXPRESS]
    7 l4 N5 y  {7 R6 f, F. Q: C
  59. sqldir=mysql_sql9 d- f% {# Z! l4 w) w
  60. Drivername=mysql& N  Z4 U" I4 ~" O# [3 \* u6 `
  61. Database=test8 g: W" M. c; x, f1 |! |
  62. Hostname=127.0.0.1
    , n2 Z9 ^/ p; Z
  63. User_name=testuser6 Z/ t5 C+ h* v2 r
  64. Password=my_password
    & f! j6 P% e2 u2 J. B' {# E
  65. GetDriverFunc=getSQLDriverMYSQL; r! z) y( B5 l/ z' s! w3 {
  66. VendorLib=libmysql.dll
    + D7 x! S% ^; M
  67. LibraryName=dbexpmysql.dll* ~0 ~  M- S3 ?3 p5 R
  68. Active=1
    2 n" e% d- V6 x- h! y& W% D
  69. ---example----
    ' K% Z2 Y' ?( }; W1 V
  70. - written 02.03.04 by pwk.linuxfan3 i/ e4 W% Z" X6 }( q) d

  71. - k2 N0 _( ~2 @
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
0 r0 m: N! z* l6 o& g

  1. . q5 F; D& S! I7 r! O$ U0 k
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    6 X& c8 O8 _6 Y* {" G& c
  3. : p4 e# T/ y, x7 `8 `, z  t- J
  4. # # #我们所需要# # # ) @) v/ C: Q  u) e2 m& q7 V
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件3 D( T& C9 @3 ]& v3 u  i( E
  6. 不会解释如何做到这一点-也有文件存在,为- F7 s1 E. M3 N9 g+ V! V
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    . T+ s; d' Z) }) @; K2 I& o2 u
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西: I2 T" j; ^; |
  9. 随着数据库。此外,你需要一个卖方图书馆安装于3 Z/ g' ]( Z) k0 J$ _  ?7 T
  10. 本地机器,这是我的MySQL安装。
    ! x, t4 r' y( R7 @$ N! y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    8 f/ N/ I4 _4 @! o% }! b
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    : V9 o2 s% P4 q; _0 a
  13. 数据库。
    % v5 v- g& k0 I6 m) H7 {
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    8 C+ x# A' a$ v3 R4 D
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    % Y# }) h2 Y. {. Z* P0 w
  16. 在teamspeak论坛,如果你有兴趣。
    3 Y9 m% k. L* t$ K
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ( r( x. N( I! m: f7 Y! ~  Y
  18. Borland公司使用。这个司机只能界面与客户端库4 l! M7 v" w6 a( k- x
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ! w: x* {  |2 y# b4 P& x/ b
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    % H! ~! w' ^& o( r1 ^
  21. " vendorlib " ,并解数据库连接。 + O/ D' k0 V; R6 w8 s0 P4 g
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 # M6 |5 @& j$ r  K+ d# T2 z

  23. 9 \) s. B: E0 k/ _/ t7 |$ V
  24. # # #做好工作# # # ( J1 [6 e9 n: [" s2 ]0 y
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都2 P3 f) q3 a( r+ _$ G( d
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    0 G/ I6 g' D* H! c& h$ e
  27. 结束: 4 U2 v$ ~# K  n) w
  28. ---削减这里---
    5 V# m" z, @; S6 R: I* E
  29. [ dbexpress ] # y7 F. m3 Z  Y+ S# Q4 h. F' u6 P6 g8 Z
  30. sqldir = mysql_sql ) \2 u6 ^" c; I6 f1 k5 o5 a
  31. drivername = MySQL中
    - t+ b. d; S4 l# M; Y) Q- @
  32. 数据库= your_database_name_here
    7 y2 E* H1 K# g4 ^8 p: p
  33. 主机= the_pc_the_mysql - server_is_on 9 H/ I3 C' N/ S) u, c6 ^: g
  34. user_name = user_name_on_the_mysql服务器2 F+ J# K7 I5 r( B$ X' z- ~5 z
  35. 密码= password_to_go_with_above_user_name 8 _7 v9 I5 o; ^/ N0 [8 |% [  t
  36. getdriverfunc = getsqldrivermysql
    & M& o  l. z2 @
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    9 F1 |1 m3 H+ _3 r* w) j6 O
  38. libraryname = path_to_libsqlmy_libary
    9 T% d2 b: B; F4 F
  39. 积极= 1 : F6 l. U: f* f2 e- y
  40. ---削减这里--- - L; \$ Z% H0 P! l& H
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    $ j+ @# \% p$ n, J
  42. ---例如---
      Z6 x) \  r/ N/ {" U  u9 Z4 F8 V
  43. [ dbexpress ]
    ' a1 O* X8 p* L, _2 q: p. F
  44. sqldir = mysql_sql
    + O; B* u5 b: @. D9 t
  45. drivername = MySQL中6 F% D  C) y, H% ]6 Y+ J
  46. 数据库=测试5 ]; l" ^; ?- v9 s( E, g1 M1 ~# O
  47. 主机=本地主机
    ( T! l& c8 e" f) E# v
  48. user_name = testuser 9 g% R5 ]8 p( x2 @" w
  49. 密码= my_password * s( N. c4 U& c* U+ y
  50. getdriverfunc = getsqldrivermysql 6 d" s# X# i+ X
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0   g/ m* E2 e6 K0 j" m
  52. libraryname =. / libsqlmy.so * f8 y) j* G: D. Z
  53. 积极= 1
    ! _9 k5 O- v. `0 F% o; H
  54. ---例如---
    3 u3 n. U3 y! S; R# |7 o( ~4 \: A8 B0 J

  55. * c# I% E& {: |
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    3 `' g* M& g+ _& x7 N4 x
  57. ---例如---
      W# ^- u$ f0 Z1 k
  58. [ dbexpress ] ) o. O; U6 f8 n0 b4 d' m
  59. sqldir = mysql_sql + n  o  S% i4 R, `3 H9 X
  60. drivername = MySQL中
    - G: i& e! ~  h' W
  61. 数据库=测试* m8 u, q! g$ |1 D: d
  62. 主机= 127.0.0.1 * D  m7 B1 `. n4 _% d7 o: U
  63. user_name = testuser   X, g" {8 j4 K/ P
  64. 密码= my_password . H/ o) ^/ m5 {7 Z; D
  65. getdriverfunc = getsqldrivermysql
    * G! y$ |  `+ \8 E7 ?1 F1 y
  66. vendorlib = libmysql.dll在
    9 M# E& ^) U+ `8 M5 N2 z' Q/ P' v
  67. libraryname = dbexpmysql.dll
    & ?: L. j' Z  C; H6 w2 Q
  68. 积极= 1   d# i+ x$ ^  m/ A0 x9 l
  69. ---例如----
    6 ^  q8 D' Z* c8 ~7 @; s4 e/ ?
  70. -写在0 2.03.04由p wk.linuxfan
    1 G1 d  b- ~$ Q' K8 ]
复制代码
发表于 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/ B& M, t! z+ h$ O: U  J$ B

& T1 M5 z; B. vbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-9 15:22 , Processed in 0.102823 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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