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

2976 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
. f/ d2 O# R5 p9 c& H
/ D; z! o2 ^$ S" w/ e
  1. 7 H6 A% y. p5 I* j, d4 I$ a
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######; y( C. M# ]5 {: n9 n) N7 [
  3.   S& K0 x7 ?4 \9 L5 \* m9 M+ o: i
  4. ### What we need ###
    : ^0 _5 B: D7 g) v" O/ u" L
  5. Naturally, we will need a MySQL server to store the data for us, this document
    & z4 G6 `% A) w$ }) L. m
  6. will not explain how this can be done - there are documents out there for the
    ( E+ r: _4 F# Y3 {% o, n, b
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    " H; a) u; B* v' H3 a
  8. and a user account (username + password) that has the permissions to do stuff
    - o, e4 p9 |5 q
  9. with the database. Additionally, you will need a vendor library installed on the
    / \5 f4 n/ C7 M+ M* Y4 A
  10. local machine, this came with my MySQL install.
    ) b7 j3 d3 ]6 d, V( n8 ?7 |" @) N
  11. These instructions will not tell you how you might transfer your data from the
    / D5 W1 h% ]/ O9 D6 T8 p% q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    / `" w% D- O. e- M8 O/ U
  13. database.
    7 C. y; A7 M& f/ m( g8 `# A
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    / S9 G5 h1 u2 R* P' I
  15. the time of writing, there are still too many issues - check the current status* S# |, U/ |" Y3 C( V" w. f
  16. in the TeamSpeak forums if you are interested.. R1 A1 s3 T! D: i, i; a& z& c
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from2 f. W+ w$ T8 r
  18. Borland was used. This driver can only interface with the client library that ) N9 a# J1 f, Y+ _: S! c
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this' O/ R9 v2 `% G* k9 D! M4 X
  20. client library - basically all you have to do is to use a 3.x client library as 6 r8 u* f/ }+ O) [% }5 e- J
  21. "VendorLib" and a 4.x database to connect to./ t" I: V- s3 U8 _% {$ Z3 U
  22. If you need more info about dbExpress, you can contact Borland.
    + K/ G, ?0 T. y0 G/ d

  23. 8 m1 W7 U4 k  T$ N* O" v
  24. ### Doing the work ###( j8 o% v  I, ?7 R
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all2 X, z# _5 d6 ^4 s& q- i. _
  26. the perquisites right, just open your server.ini file, and add this section at/ W+ v% n' K7 J# d) j
  27. the end:0 P, t1 J/ a! E! O$ @) }0 m; B; o
  28. ---cut here---
    7 \/ A, O( V) ]* Q
  29. [DBEXPRESS]: Z; Z  L! K) L4 }/ |1 l
  30. sqldir=mysql_sql+ n+ a# X% f* }( w4 n
  31. Drivername=mysql3 U, i. v5 w, F3 {2 I( ]
  32. Database=Your_Database_Name_Here
    - T3 K3 S% x$ f- v" S
  33. Hostname=The_PC_the_MySQL-Server_is_on
    . p: N3 r' Z  m( [  S0 o* m; ?
  34. User_name=User_name_on_the_MySQL-Server7 U- c( ^3 ^8 W
  35. Password=Password_to_go_with_above_user_name
    , V" o4 |: [. e% b1 A
  36. GetDriverFunc=getSQLDriverMYSQL% r" c, V" Y& b! E) g' K  ?
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    5 ]0 @4 E, R& O- Y. Q. U6 s
  38. LibraryName=path_to_libsqlmy_libary* j7 U6 F& d+ O  J& V1 T
  39. Active=1
    " O, Q* Y' ~7 ^: }
  40. ---cut here---
    / K$ }4 D( k  E
  41. In my environment (a linux box with a MySQL server running locally) I have:
    : p+ u3 B5 m+ k
  42. ---example---
    ; n# \# k$ G. x7 [' D- C+ j
  43. [DBEXPRESS]3 [$ t  x  F+ d" K$ Q' P
  44. sqldir=mysql_sql- q3 S* Q( B9 m2 Y5 U
  45. Drivername=mysql
    * h8 K' b6 v! r5 E! k
  46. Database=test& e- l2 {( \$ I) U, t4 A
  47. Hostname=localhost
    6 s6 }  T2 g) }) M# `7 t" i, J4 b. Z8 X
  48. User_name=testuser% d& Q+ l. O# m# L
  49. Password=my_password1 d; R" z% ]  b" D
  50. GetDriverFunc=getSQLDriverMYSQL! s6 }5 W6 a$ ~# |, H
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    - a; w0 u& Z; e2 @% ~
  52. LibraryName=./libsqlmy.so8 @; Y+ `$ F# Y1 F# H6 b/ y' S
  53. Active=1" r% X5 ?# Y7 |- A$ z) x
  54. ---example---' ?/ l8 d, L# C5 J9 `

  55. 2 l7 p. e' t4 n
  56. On a windows box, also running the MySQL server locally, it would be:: @" x3 _! z7 I
  57. ---example---
      E8 K% Y8 b* a
  58. [DBEXPRESS]* [: M+ S' m: q" j' b" U# q" e
  59. sqldir=mysql_sql; a' t+ L- Y: a$ n2 _; p
  60. Drivername=mysql' N" w9 r* ~7 h0 z5 k
  61. Database=test' b5 F0 k" r/ e4 T& x
  62. Hostname=127.0.0.1. \0 i7 p! X' @: O# t! \0 K" Y9 Y
  63. User_name=testuser9 x, l+ A1 R7 l$ C2 m2 I' f. v) f1 R( E
  64. Password=my_password
    . ^2 h; Z' F- r, B/ y% m
  65. GetDriverFunc=getSQLDriverMYSQL
    7 D/ o# C5 X% E# c" Z
  66. VendorLib=libmysql.dll
    0 X: ?& b4 G5 A5 h
  67. LibraryName=dbexpmysql.dll
    5 r1 F: j3 a7 Q
  68. Active=1
    / U) L: {5 K* d
  69. ---example----  s' L% S3 K; e' Y4 G
  70. - written 02.03.04 by pwk.linuxfan8 v4 W6 ?; _: n3 r4 J% D/ |
  71. # |% |  H8 a& a( }0 q  s* @1 E! O
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
( U3 A! M0 d" l  u% E

  1. 0 g! {' P" r$ O+ F9 `
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    3 U1 Q0 g3 y: G6 |. E8 f% P
  3. 4 V4 p6 O2 a' B" `, J3 r! |7 M
  4. # # #我们所需要# # #
    2 j! f& c" f# n+ ]
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件: F! y) n# @. Z* P. s# o
  6. 不会解释如何做到这一点-也有文件存在,为
    $ Y# a. t& ?8 \- ^+ c( X( H0 N
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用! ?0 a  M# c1 j4 D
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    $ G4 i7 r- I6 i3 Y4 Q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ; S+ y. d/ q: L+ S4 U
  10. 本地机器,这是我的MySQL安装。
    : E/ v- q5 j+ T' o7 C2 L/ V5 s
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    . r: a: K- |! N' K7 w3 {7 y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ' h+ ]' u- P8 J
  13. 数据库。
    9 C, ?0 _% H( I& i
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    7 w& e: A  K! F7 ~
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    6 P* X2 _+ r/ i* x9 H, t2 w% c! `
  16. 在teamspeak论坛,如果你有兴趣。 * q( @% A1 c4 N& |
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机& u, R% @  \% K! C. G
  18. Borland公司使用。这个司机只能界面与客户端库9 {  [2 u! t. x3 X- _' T% y* ^8 t
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这7 V; b# V$ F5 H7 _
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ! a+ O9 _7 C/ f" Y) F
  21. " vendorlib " ,并解数据库连接。
    ! G* l9 [: t6 x/ u) u
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    & p9 N& B/ Y  n* o+ f" C1 B/ H

  23. % U9 g# o: p1 V
  24. # # #做好工作# # #
    ( U$ _1 _  ]2 L* F1 }; D1 V
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都0 h- m6 H0 t, f0 H- B) D
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在; I: c+ V; @& a0 x4 B( f) A
  27. 结束:
    1 ]! K8 n* Z- e5 |/ k, ~7 q8 O
  28. ---削减这里---   M' t6 }& q2 }: @) b( Q! H
  29. [ dbexpress ]
    , Y. a( n, [1 g
  30. sqldir = mysql_sql : }* u4 x( W3 ~! \8 ^- l
  31. drivername = MySQL中7 g$ s7 s9 M' Z: u2 h, j
  32. 数据库= your_database_name_here
    8 Y% P. m% j0 X8 `1 T
  33. 主机= the_pc_the_mysql - server_is_on
    $ U6 p/ V4 i. u
  34. user_name = user_name_on_the_mysql服务器
    7 q6 g- C; w- P/ a4 `! T8 _. m0 f
  35. 密码= password_to_go_with_above_user_name
    ) P! K; L# Y0 g6 K% q
  36. getdriverfunc = getsqldrivermysql 6 I; r$ m$ \) o& Q
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    5 T( o1 M! ~/ p
  38. libraryname = path_to_libsqlmy_libary
    * s, i  |3 @; p/ P6 U" t" N5 p* m
  39. 积极= 1 $ q- {) l6 k4 E- q
  40. ---削减这里---
    # ]" l/ P6 a+ [. |* C. |  A
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: - B" K5 D: c+ o" |9 O8 x5 C- t
  42. ---例如---
    4 l6 Z* M1 [. o/ @5 c' B
  43. [ dbexpress ]
    2 i, j# F) L: }3 J" q* d
  44. sqldir = mysql_sql
    ; @& H8 C  \: z% E, y
  45. drivername = MySQL中
    - `9 Q1 W9 _& R4 V
  46. 数据库=测试
    " m" T8 J: ^+ t/ G7 q+ y
  47. 主机=本地主机
    ' T6 ]4 ?7 p$ l" e% {) F# c
  48. user_name = testuser 3 _# Z; Y  M1 \* Z$ M
  49. 密码= my_password ! v5 T' g5 V& k; v9 _9 I9 _
  50. getdriverfunc = getsqldrivermysql . o, A! O+ N+ P
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    % B1 }  i) g# q# |+ j# n
  52. libraryname =. / libsqlmy.so
    ) a  o" w' k0 v
  53. 积极= 1
    # E) D) |, c4 q. A
  54. ---例如---   [  F$ q, {8 A; |8 ?
  55. 8 _  d3 K( ?& H" ~! Z
  56. 对Windows中,也运行MySQL服务器本地的,那就是: . `# \4 Q# \9 ]) @
  57. ---例如--- ) t3 {! J) {3 ^6 I3 `" D
  58. [ dbexpress ]
    * |" {9 m7 ~+ F9 x& P& ~7 f- K+ e
  59. sqldir = mysql_sql
    0 j9 r' R4 D- O; Q; y6 P
  60. drivername = MySQL中0 _; S8 V2 {, m+ m: V4 w+ B4 i: {
  61. 数据库=测试
    3 {3 k& r2 q" Z5 }* E7 ]. h
  62. 主机= 127.0.0.1 0 E& y) ?9 Z  M1 }! a' [
  63. user_name = testuser
    ) S1 I' y6 Z/ x; v
  64. 密码= my_password
    7 ?/ A0 u" d4 I9 ^4 v
  65. getdriverfunc = getsqldrivermysql * e# ?  l$ K9 A
  66. vendorlib = libmysql.dll在9 e( P% ]! Z7 F0 h; I3 x+ A
  67. libraryname = dbexpmysql.dll
    # P! J/ R7 c  ]9 r1 M/ j
  68. 积极= 1
    1 x! G. n7 y8 E+ ~
  69. ---例如----
    3 v/ }0 `4 ?, J  y- U; d
  70. -写在0 2.03.04由p wk.linuxfan
    : N6 T; J/ Y% A$ o6 I
复制代码
发表于 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; R7 O9 e* c) N! E8 l% |6 F+ Z
# w# z0 ]5 s' y/ N
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-3 11:46 , Processed in 0.093280 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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