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

2578 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ( G0 J& x% o2 p& P3 [3 b- [! P# q

: p7 V7 e: `' |8 S
  1. " g# x$ w, Q  `6 J% Z/ G
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######5 y) {+ P) S# N

  3. , j" F( ?, h$ K7 s% k" x: m
  4. ### What we need ###
    % w/ ?( j; Z" h2 @! E
  5. Naturally, we will need a MySQL server to store the data for us, this document
    # f3 N  U" g* K+ Z
  6. will not explain how this can be done - there are documents out there for the ' v/ A* Q, w. P
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ; a, |) J' k6 D2 \/ c- D: j
  8. and a user account (username + password) that has the permissions to do stuff
    " N6 Z0 _8 c& D8 @: `
  9. with the database. Additionally, you will need a vendor library installed on the
    0 o8 S1 {  r  N
  10. local machine, this came with my MySQL install.
    5 ^9 i: @* K( l0 k' F0 y
  11. These instructions will not tell you how you might transfer your data from the. B1 `$ n. _! X  Z9 u8 A- m
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL% S9 M7 V% N3 k* h2 b  A5 V7 ~' @3 L
  13. database.
    0 |$ ?$ x* N8 D# e  A7 W$ ?
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    , A& {6 W% j1 P* z9 d5 x3 j
  15. the time of writing, there are still too many issues - check the current status
    7 |7 ?- y" d$ x/ y; U
  16. in the TeamSpeak forums if you are interested.
    & V* o( `; X4 C
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from# v. b8 v; D# e" x
  18. Borland was used. This driver can only interface with the client library that 5 n) n8 w" \1 b/ \+ H3 \
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    2 ?9 ?* l7 U1 y$ F3 {
  20. client library - basically all you have to do is to use a 3.x client library as
    / f: o5 Y  X" m# M' _1 x6 B- \
  21. "VendorLib" and a 4.x database to connect to.7 J0 r( Y2 Y4 J5 K* O
  22. If you need more info about dbExpress, you can contact Borland.
    2 N3 R, u! G: B0 |3 c
  23. . l0 p* ~" X$ z+ Z  p* b  _% F
  24. ### Doing the work ###9 [. I1 ^: ^" o( H- c6 U& ]
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all+ O' f) i" g& t$ N
  26. the perquisites right, just open your server.ini file, and add this section at
    2 ~3 E( B1 T7 G3 T# E; E, I8 N
  27. the end:
    + f) a1 Z2 n$ V7 D+ S. B
  28. ---cut here---+ l, r! D. X* q: N( ?
  29. [DBEXPRESS]' G6 o3 v  Z' h$ b5 a6 k
  30. sqldir=mysql_sql
    $ M. F; A3 c! y2 G. n
  31. Drivername=mysql
    ! l* f( F, h' Z& J
  32. Database=Your_Database_Name_Here! e) f3 A( p: H! _. l1 P
  33. Hostname=The_PC_the_MySQL-Server_is_on
    & T5 \& W: k5 r0 _0 S5 h8 ?( l2 X
  34. User_name=User_name_on_the_MySQL-Server
    ) ?% {/ g# z' G/ Q
  35. Password=Password_to_go_with_above_user_name
    ! ^: U( b9 w2 `9 o; R
  36. GetDriverFunc=getSQLDriverMYSQL
    + y) {+ z' H3 f. @6 H/ c9 [: G
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib7 u+ c3 m9 E/ E- K
  38. LibraryName=path_to_libsqlmy_libary
    , l8 m% ~& |# I; L7 ?8 N7 e
  39. Active=1' y+ r3 {6 q# |  |3 B( t& T$ o
  40. ---cut here---+ M# I7 l1 ~# v' Z& w9 s
  41. In my environment (a linux box with a MySQL server running locally) I have:
    " ^9 u$ `2 E& |+ f5 V
  42. ---example---
    . n/ ~) p( B: H# W7 C
  43. [DBEXPRESS]
    ! C) Q- E! U5 k
  44. sqldir=mysql_sql
    ; R# g. B* {2 n* p  N
  45. Drivername=mysql
    - W( H% |. e8 G: O
  46. Database=test
    ; t6 K5 ~9 U4 C& u8 m" S
  47. Hostname=localhost, X( a& Y3 ^# B: `3 y
  48. User_name=testuser
    2 m1 H: `5 k) q/ V! @& {
  49. Password=my_password
    ! w& ^9 d  w# `) O
  50. GetDriverFunc=getSQLDriverMYSQL. ], o! D( b) }( |: F: R6 M
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0; e; l' N: N! s+ j9 y) F: k
  52. LibraryName=./libsqlmy.so
    3 Z% B" V  H2 {5 A0 `
  53. Active=14 S% C, [" Y4 P! O' k: \' |# A3 A
  54. ---example---
    7 O, r9 W* C6 e8 o, X+ H, Y) \
  55. - D; s5 ?, J" z# f
  56. On a windows box, also running the MySQL server locally, it would be:& L9 v8 D# s1 [! W* ]
  57. ---example---
    , o5 [2 F# [. y# N5 j9 c
  58. [DBEXPRESS]$ L! A# J8 |3 {6 l: N! p4 W9 _2 k
  59. sqldir=mysql_sql' L/ v% Q1 X" U0 R9 x( {: S
  60. Drivername=mysql9 T9 _; X4 }/ L
  61. Database=test# |, }( r. M- L" |( V: n% X9 I0 X
  62. Hostname=127.0.0.1
    ' i8 _! Q& _9 C1 M" Q
  63. User_name=testuser
    : X% }& q  D6 i: a
  64. Password=my_password- _( f1 B. j! Z6 p
  65. GetDriverFunc=getSQLDriverMYSQL& Z5 F) s5 G  x/ X
  66. VendorLib=libmysql.dll
    ( W* R/ Y- }* N$ M
  67. LibraryName=dbexpmysql.dll
    $ m% E5 ]" v) Z1 D# i  U
  68. Active=1' \' [( v9 U2 j8 j; c7 W! |
  69. ---example----, j5 N3 I- s+ [) g: R
  70. - written 02.03.04 by pwk.linuxfan
    1 i4 O* G9 _$ \& a% ]6 y
  71. : Q' p+ C' B3 B: z
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看0 F  _- q2 S8 J( |4 f
  1. 0 Q3 Z( ?- A" y+ P  h# r. t' u
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    $ Y; g# l! L* V

  3. 9 r! L5 m; H2 ]/ k
  4. # # #我们所需要# # #
    4 Y6 c8 E1 e$ o8 K; b% d7 N
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    8 D  k; H  a: f; r# }$ M2 n9 k
  6. 不会解释如何做到这一点-也有文件存在,为
    , w! M& M4 K$ {% K+ c- ~
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    6 O4 I4 n% P8 z9 M8 z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西9 h- o! n) e1 K1 h& H
  9. 随着数据库。此外,你需要一个卖方图书馆安装于- c9 Y; `9 k. a
  10. 本地机器,这是我的MySQL安装。 . G; O) x9 W5 d. `  |; n
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从# n( }5 I; f5 B' J: h
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    % I" v5 k4 l/ D: S: [5 O
  13. 数据库。 & T/ _7 K' N: t+ j" c5 R3 d8 U
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    9 ~5 V! b9 v" P: T/ C2 e  u
  15. 编写本报告的时候,仍然有太多的问题-检查现状; y! T3 d( F2 h: |. ]/ S
  16. 在teamspeak论坛,如果你有兴趣。
      d2 f% k% T. l' U! [3 @
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机2 p3 l% `+ k! h# i2 B( X
  18. Borland公司使用。这个司机只能界面与客户端库+ W) p% h8 h. k  j, g& S4 f
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    2 _% q) E, W2 N+ L3 N' g/ u5 U' J
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    7 |0 u/ q- X6 o6 x! I& Q
  21. " vendorlib " ,并解数据库连接。 ! y* P* G8 j) Z/ V, H2 }
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    6 W& W% x* O7 X5 c7 J+ G1 ?

  23. 7 l0 Y, M2 a2 M# t+ D
  24. # # #做好工作# # # 0 o3 R' a8 y  G5 ]
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    - j# j! f& D5 ^5 J
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    0 U4 `1 R# `8 g  x" Q
  27. 结束:
    ) w- c5 ~* `( b, N3 F+ A
  28. ---削减这里--- & O3 |) |5 O5 O; B4 \
  29. [ dbexpress ]
    ' s% P: }; P0 o- z" @! u
  30. sqldir = mysql_sql
    . v3 Z/ j9 s; |3 M" V  x3 C7 I
  31. drivername = MySQL中& e" h# _  K4 c+ G9 ?
  32. 数据库= your_database_name_here , R6 X/ J8 K2 E' |( U$ x, P: S, z. F8 K
  33. 主机= the_pc_the_mysql - server_is_on
    4 R, R1 U4 U  i- C- v9 ?
  34. user_name = user_name_on_the_mysql服务器
    , @$ [: e; D) t0 Q
  35. 密码= password_to_go_with_above_user_name
    ' {( ?$ u6 O: {9 V
  36. getdriverfunc = getsqldrivermysql , ?; ], F# I  [. h  T
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 9 i' n1 p7 m; d: j* o! U4 O
  38. libraryname = path_to_libsqlmy_libary
    " u) o/ d5 h- \/ l
  39. 积极= 1 % L, P/ `* r5 ^- y( z
  40. ---削减这里---
    : @) H+ V. X  p0 \0 l
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    " F$ ?8 s+ O5 [( H8 E4 l# M
  42. ---例如---
    - i1 D9 f+ _9 y5 j/ n" W
  43. [ dbexpress ]
    5 G! g' ^% @5 @! M% T; t
  44. sqldir = mysql_sql 4 D0 T& f: d5 I3 e2 k3 [
  45. drivername = MySQL中+ @& u8 {. P. O% G% w
  46. 数据库=测试
    " W$ e9 H% I: e# n
  47. 主机=本地主机
    8 \9 I. i! B' J  r( s
  48. user_name = testuser
    - ^9 t4 w& v$ J
  49. 密码= my_password
    0 }# j  h" P7 R) O/ h2 t) L9 Q' \
  50. getdriverfunc = getsqldrivermysql
    4 \6 g/ V7 D, z, m; b- {* j. X
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    " @+ N/ y8 \: N; L5 D6 O
  52. libraryname =. / libsqlmy.so 8 M" v% @* G, y( x
  53. 积极= 1 5 s0 g3 m8 ]& a1 p  W: F
  54. ---例如---
    * l- {' q  d- F: m

  55. . w3 ?8 b0 J" b* b
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ; `5 Z) y' F2 `
  57. ---例如--- ( ?6 [  I3 T. n! \4 V$ S6 d
  58. [ dbexpress ] : e. ~( Z7 {% {  e. B! H+ _
  59. sqldir = mysql_sql , P8 K( `$ O' K: B3 {
  60. drivername = MySQL中. g. Z( n* t2 Z1 t: }' y
  61. 数据库=测试; j+ r. o2 h9 J3 Y+ J! q8 k
  62. 主机= 127.0.0.1
    $ F8 h- b; P; H& B: {3 S5 W5 d! }: K
  63. user_name = testuser
    9 Y5 u4 i1 I+ L3 l" k( n6 m- ?: C
  64. 密码= my_password
    1 C7 L4 k% [0 S! c
  65. getdriverfunc = getsqldrivermysql
    0 G* ]1 T' \: T. b! ^1 ]8 C, Q
  66. vendorlib = libmysql.dll在
    9 a1 r5 s& D9 G1 K$ U
  67. libraryname = dbexpmysql.dll 4 h& r. [3 L9 c4 _9 t. T
  68. 积极= 1 3 I6 a# H. f3 T9 @3 {
  69. ---例如---- 0 R% H- K& l8 H% ?
  70. -写在0 2.03.04由p wk.linuxfan) s; v& w$ X, ?5 v2 |2 Z
复制代码
发表于 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 words4 t- |9 i" {0 g- |9 \9 F
4 h3 I/ n/ ^! w0 I  \. b
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-4 03:04 , Processed in 0.117251 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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