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

3100 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
" S4 U& D( F8 l7 d  O  |7 D9 Y
* U. a( J6 @4 L; I; t9 T
  1. ( g3 f$ q, \: M7 e! N# q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    / Y2 P7 f% q& @( g

  3. , V/ |7 q8 H! N5 R' y+ P! |
  4. ### What we need ###
    ( s8 v& O( n/ T" b' C* S) R) t& W+ I
  5. Naturally, we will need a MySQL server to store the data for us, this document
    : ^' @7 c: J* [4 Q
  6. will not explain how this can be done - there are documents out there for the , C$ Y: |, A; w) ?8 }( N
  7. interested. The requirements include a (empty) database for TeamSpeak to use
      u' Q5 M3 {% R/ w
  8. and a user account (username + password) that has the permissions to do stuff
    6 {$ n% j; \- G6 z
  9. with the database. Additionally, you will need a vendor library installed on the
    # T7 Y: z% ]9 M
  10. local machine, this came with my MySQL install.
    ; ^) d6 M6 {+ w2 U# F/ p5 i
  11. These instructions will not tell you how you might transfer your data from the
    ) C  n0 `5 I3 X" i* ?. c* ~
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    * W% i/ ?7 e: m9 k; a. K
  13. database.
    0 D/ y. d, P8 |' m& Z( f
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ( E) K& s# s) G3 L4 e  x( |8 W
  15. the time of writing, there are still too many issues - check the current status
    2 D7 l6 d; j8 }7 L! k( |- V/ ^
  16. in the TeamSpeak forums if you are interested.
    + ?! T; m- U4 f: \2 l! {
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    $ f4 G, b; E, p/ p4 s$ c; @
  18. Borland was used. This driver can only interface with the client library that 2 o2 R4 E0 t& C
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this( Q$ z' L: J/ B- t0 @0 i4 f/ ]9 m" |
  20. client library - basically all you have to do is to use a 3.x client library as ' Z$ k  R+ M. u4 N1 a, {. y
  21. "VendorLib" and a 4.x database to connect to.7 i5 o2 u5 {1 K
  22. If you need more info about dbExpress, you can contact Borland.& T7 X: ~! ]" V- a9 f- ?1 T
  23. + t! \# \7 E3 {  e; K1 P; H. S
  24. ### Doing the work ###; y4 U2 K! N4 X
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all+ J0 H: f; P+ C5 y0 D% G; i
  26. the perquisites right, just open your server.ini file, and add this section at
    9 D7 A: s) y( \8 U1 h( B1 s. ]0 v- ]+ m, K
  27. the end:
    + u4 i/ `. h- g7 F
  28. ---cut here---9 x7 ]. Y. Q" \- l$ G
  29. [DBEXPRESS]3 J* w) b0 J! v! C! J: k! _- U  O  g7 }
  30. sqldir=mysql_sql# ]# J7 {+ T+ u% B# q/ f, U7 j+ [
  31. Drivername=mysql" [/ [$ h/ {! g% ^+ P2 f/ X& {
  32. Database=Your_Database_Name_Here
    ; L) P; O- h* m8 j2 q5 J9 g
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ; ~4 ?' j; r- x# r- |
  34. User_name=User_name_on_the_MySQL-Server
    / ^9 d7 h# ?- d
  35. Password=Password_to_go_with_above_user_name, M3 X% Y' _! ^$ a9 ~' d
  36. GetDriverFunc=getSQLDriverMYSQL
    : [* z# s( j( Y, J
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib* {' d! i, V; R4 p+ A, }
  38. LibraryName=path_to_libsqlmy_libary
    ' [% T1 n+ i" Y3 Z4 b5 f
  39. Active=1% f  T* R6 n% W0 N& N4 {
  40. ---cut here---
    ! s+ U' @( t! \, Q! |1 m
  41. In my environment (a linux box with a MySQL server running locally) I have:
    " m" p. G2 m& v, n4 B% v
  42. ---example---
    * X; x/ [  {& p. k) u% f! \
  43. [DBEXPRESS]
    ; y) b! ]# g: j$ O" E5 [
  44. sqldir=mysql_sql
    - q6 t/ b) Y% v5 m; m
  45. Drivername=mysql
    3 d+ g( S' {$ V; `
  46. Database=test
    2 ?, h2 E( J5 w! r* p- t6 u5 V0 ]* k
  47. Hostname=localhost
    " c: o$ u$ ^' D7 c  |7 p1 t
  48. User_name=testuser
    5 ]5 ^4 L& @1 y
  49. Password=my_password& \, D, o% Z% B; F& |8 g1 @- o8 e) s
  50. GetDriverFunc=getSQLDriverMYSQL
      E7 j2 B7 r0 X$ L# E1 @6 V
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0* w* V0 }( Z: ?/ z5 L
  52. LibraryName=./libsqlmy.so% A& Q; i8 K/ z" w# X( j( |" ]
  53. Active=1
    3 z9 ]' _1 L! U- m: n0 o
  54. ---example---, f3 o, C# R' ~0 Z9 [* ~
  55. 2 J& k" E3 i7 m9 T: @9 {' @* w
  56. On a windows box, also running the MySQL server locally, it would be:1 S$ P3 O+ W: ^1 z, D. u
  57. ---example---& j/ r, x6 u; A) m
  58. [DBEXPRESS]
    0 h/ K7 [; d( b7 r& L/ ?
  59. sqldir=mysql_sql
    9 Y  q4 h% \& [6 l* w
  60. Drivername=mysql; t3 Y2 r7 k6 b1 u
  61. Database=test4 W$ F" n! [# S
  62. Hostname=127.0.0.1
    / S8 j, E/ t7 E; [
  63. User_name=testuser' ?8 p% n) H0 t3 R
  64. Password=my_password0 q- _+ L& O; t1 x+ r8 u: S9 H
  65. GetDriverFunc=getSQLDriverMYSQL0 F0 i: q. l) A4 W3 j
  66. VendorLib=libmysql.dll4 m; \; w  r1 w" l  S/ I. r' p' p
  67. LibraryName=dbexpmysql.dll- j/ f3 u" s  O6 |
  68. Active=1
    $ n; \: m* S$ _2 ^& o
  69. ---example----. b) K9 E. z* t' Z! z
  70. - written 02.03.04 by pwk.linuxfan
    7 P/ l( X4 E3 s- w1 w8 w, A! L

  71. 1 a" _  X. K# |9 M
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看( a. d: `1 a: i3 y" u/ n0 \; z
  1. ! m( y  g  n* v2 I1 k5 X6 C: c
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### & f( f$ m! Z, B( N6 z
  3. 8 |$ d( h  p2 h3 a
  4. # # #我们所需要# # #
    + e, x/ P0 o* |" Z) K+ o( y0 T
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件) H- z' Z  y( s6 ?" P, Y4 c& V- z1 n
  6. 不会解释如何做到这一点-也有文件存在,为0 r1 V) G, ?# Q, T4 ?
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    + W2 ]2 I2 |) w7 I
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    / c2 y0 k- F- C6 ~% Q0 P$ F9 {
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    : P" A5 v" y9 R( z7 e  w& I
  10. 本地机器,这是我的MySQL安装。 9 Q7 Y' f1 ^  o  H
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    * h# ?: c( [$ Z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    - r2 g! R; M. @/ n$ T
  13. 数据库。 8 j- j) S' o9 S
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在( v2 }& n6 R0 U) q- `
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    . u  Q! |; o2 k6 o$ Q7 Q
  16. 在teamspeak论坛,如果你有兴趣。 5 D7 @2 t% j. ~! Z# M- h* L
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    - k& ~  h; N0 _- M
  18. Borland公司使用。这个司机只能界面与客户端库7 K* r' [9 s* {5 x1 {! p
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    . ]9 |, c2 V# C
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    1 v% W) E1 A* |% c9 k
  21. " vendorlib " ,并解数据库连接。 2 d) s% `1 x: M; I9 j
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 7 G( r+ k* o( f# X% u7 m
  23. 1 r( `8 j9 U; G) A0 [5 r
  24. # # #做好工作# # # 7 ~/ a( W) {; g$ A- q1 C
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都/ x! t; Y5 U2 t9 r! z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    * P" X& \* R$ a; |! h! Q% r9 D4 w8 Y
  27. 结束: $ K1 p* Y. g) F# Y5 x
  28. ---削减这里---
    4 Y+ K+ T- Q" R" g" C+ J
  29. [ dbexpress ]
      h. ?$ x% @7 ]. X1 }  K  G
  30. sqldir = mysql_sql % \' u& l7 @& \8 D8 A* u
  31. drivername = MySQL中9 i3 B0 u" B- r. O* f3 S! [0 k
  32. 数据库= your_database_name_here
    * z" p0 h: t9 H- {# \7 a
  33. 主机= the_pc_the_mysql - server_is_on
    ; S% }. G7 M, j; p
  34. user_name = user_name_on_the_mysql服务器
    - Y8 [% Y; j) j( O
  35. 密码= password_to_go_with_above_user_name + s  M6 _# `& n: l
  36. getdriverfunc = getsqldrivermysql ' O+ n* l& }+ B' u
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 2 r( W* H7 w0 K  x  [$ K
  38. libraryname = path_to_libsqlmy_libary ) f. o" o- c6 g8 G6 U
  39. 积极= 1
    % D0 g' V9 x3 H# }) {% x; V
  40. ---削减这里---
      A# r; g9 \- F, |; z# k* z- N
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 5 p$ u5 e" p+ `" Z
  42. ---例如--- 6 g- t9 l3 d! X4 K
  43. [ dbexpress ] + D- N; X$ N2 K* J: H
  44. sqldir = mysql_sql + d" a  t$ ?$ n' w  d# A8 ?% m
  45. drivername = MySQL中* Y7 @2 g; l# z: d; Q
  46. 数据库=测试
    ! I. Q3 x$ r0 }: K
  47. 主机=本地主机
    # Y. n' x: ~, v# M
  48. user_name = testuser % H( i$ Y4 y, h
  49. 密码= my_password
    9 v5 y9 S/ u7 N
  50. getdriverfunc = getsqldrivermysql 8 F* f& s8 z2 {/ \
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 - Q: L4 Y( w6 ~% R! g7 `; z
  52. libraryname =. / libsqlmy.so
    ! Q" g( l9 c1 V
  53. 积极= 1 " \4 |8 G2 u  u- Z9 {  M' r  l
  54. ---例如--- ! Z- m5 U/ j9 L$ H" ]

  55. 6 O2 @, l1 \' I2 ^4 e& i  W
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ! {) P7 {* Y8 q! {/ ~) O' _' y9 v* N
  57. ---例如---
    9 P! k5 P( u8 l# n5 t* h9 Y; X
  58. [ dbexpress ]
    8 r8 {; p; V8 l. |3 x" G
  59. sqldir = mysql_sql
    ' m( b% |/ q3 h
  60. drivername = MySQL中2 i. s+ d" R: \- p# V- `" L2 V
  61. 数据库=测试
    4 k: o9 h% S" N& [
  62. 主机= 127.0.0.1
    - ~9 R# T  J- d& K7 k$ t
  63. user_name = testuser % S9 u' N: D: s1 K% S, }
  64. 密码= my_password
    ) t, K. W4 T6 i; b
  65. getdriverfunc = getsqldrivermysql
    : o" @  }$ f1 w
  66. vendorlib = libmysql.dll在: ?3 Z* F  [6 {! z9 o0 _6 E! z3 c
  67. libraryname = dbexpmysql.dll
    5 i% z# c: w/ Y: c$ I/ F; |% K
  68. 积极= 1
    9 R4 |4 |4 T% p$ B
  69. ---例如----
    . q" n3 ^5 E3 }, l4 a
  70. -写在0 2.03.04由p wk.linuxfan  I6 Y3 ^$ L  x; F0 R
复制代码
发表于 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
+ |  O7 N; p6 H% @. z( }0 R/ x
$ e& ?% w& T: Fbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-1 21:04 , Processed in 0.102405 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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