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

3575 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
6 O3 Z2 N0 u4 T) Y, S
' _  n' n/ M" D

  1. % _4 l: k, a: \  m& s
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######& B, o0 z7 z, E5 q% T" K# }/ z1 g
  3. ' @. U+ G: G/ T: C/ f( z, O$ U  B; c
  4. ### What we need ###
    + T4 I3 t/ w6 s* H% c7 c
  5. Naturally, we will need a MySQL server to store the data for us, this document
    % _) W1 C! G% V/ R- V. V
  6. will not explain how this can be done - there are documents out there for the 4 G7 _& [$ l* H1 S. K; J& ~
  7. interested. The requirements include a (empty) database for TeamSpeak to use9 x5 B  Z' _! Y7 C, O' n
  8. and a user account (username + password) that has the permissions to do stuff) K- @8 N0 w! u5 U3 x0 T
  9. with the database. Additionally, you will need a vendor library installed on the
    " O' a% {! W, S; m. }, D
  10. local machine, this came with my MySQL install.( @) I! l  m7 r% W/ H* }$ G5 S# ?/ K9 V
  11. These instructions will not tell you how you might transfer your data from the! ?2 r- |0 M& D
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ! I# T, Y4 f* z- p; l
  13. database.
    , `4 n* F9 i& g, G" }! R$ }* U2 z9 Q
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    * J$ y( w6 t) ]! T3 Z
  15. the time of writing, there are still too many issues - check the current status
    ' I4 b, J# H. |
  16. in the TeamSpeak forums if you are interested.
    . e! b  J, E/ m  D3 o$ K
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    0 G* c; K6 j# o  M( ]
  18. Borland was used. This driver can only interface with the client library that $ N4 j5 L/ q* \% k& Z8 `
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this  D6 b3 r6 y3 N1 j
  20. client library - basically all you have to do is to use a 3.x client library as 3 V, l0 C, y0 P+ a$ y
  21. "VendorLib" and a 4.x database to connect to.
    3 V" h: X8 C. x! [3 w# o( ]
  22. If you need more info about dbExpress, you can contact Borland.
      N% x4 G6 s4 A9 Q4 @
  23. , o9 u/ N3 g- w
  24. ### Doing the work ###
      ^5 K' l7 f! X( N' e9 y
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ! t/ x. z$ d! s- `  `+ x
  26. the perquisites right, just open your server.ini file, and add this section at8 p$ O+ @# G+ C* z; u/ m
  27. the end:
    9 U; s& e' u  p3 }
  28. ---cut here---
    . X) ?7 G( Z  y0 z& d
  29. [DBEXPRESS]
    - T9 ^3 l- W/ }4 F  x! A
  30. sqldir=mysql_sql! J. {' {: }: G* Z
  31. Drivername=mysql
    ) p% \  w8 D$ D6 J) K6 Z/ N
  32. Database=Your_Database_Name_Here3 O+ l" _8 p2 e+ |9 }5 L
  33. Hostname=The_PC_the_MySQL-Server_is_on2 U9 o2 X* d! d; F& I3 b
  34. User_name=User_name_on_the_MySQL-Server
    6 a. c2 H/ _, P2 @2 @) i
  35. Password=Password_to_go_with_above_user_name* Z' j9 e; J, \# H: u
  36. GetDriverFunc=getSQLDriverMYSQL
      @: Z5 E$ h) N! i# O1 P8 ]$ i2 g. y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ; s" B( |3 ]) ]8 T# @
  38. LibraryName=path_to_libsqlmy_libary
    8 z9 Y% u4 ~% j5 @8 P
  39. Active=1) J1 o( N8 C/ Z$ o& E2 \( s0 `
  40. ---cut here---
    # t& u* @" |: `9 A+ }
  41. In my environment (a linux box with a MySQL server running locally) I have:
    6 Y0 o0 J2 J/ Y! ?4 V/ b- @  J; O
  42. ---example---) K" u& y7 r- y' I5 M/ M
  43. [DBEXPRESS]0 G, n* h$ p4 F7 B+ Y3 `- X5 D' \
  44. sqldir=mysql_sql
    4 w9 P$ j) G# d' @
  45. Drivername=mysql
    * F) w, b% M1 s, K4 [6 B* K& F
  46. Database=test+ Z$ ?& g% l: y( H5 O2 S
  47. Hostname=localhost, Z! s: Z' u! x, O& u( e
  48. User_name=testuser/ ]4 k8 f4 B* B0 _, D
  49. Password=my_password
    7 ]" ^8 B2 o, i. x
  50. GetDriverFunc=getSQLDriverMYSQL
      p# b. S8 W( c$ Y
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    : P' ]+ u! f$ c6 t
  52. LibraryName=./libsqlmy.so
    . b2 ], u% j9 J3 ~# e
  53. Active=1/ P. i7 ]- T) s2 ], w; B
  54. ---example---  W) F: U$ V! ~! k1 J' Q9 s# W

  55. - ]0 A' f' u  ^7 y' \  I
  56. On a windows box, also running the MySQL server locally, it would be:
    : c% F6 d! |+ p4 h+ X
  57. ---example---) B6 O. X9 R7 q( f
  58. [DBEXPRESS]
    . U+ h; q6 Q: r5 K* ~4 }$ ^
  59. sqldir=mysql_sql
    0 s# f9 C" y' e4 o0 G
  60. Drivername=mysql
    2 [( J2 c5 o- I4 T. S0 i
  61. Database=test
    9 @6 H8 D6 f* \
  62. Hostname=127.0.0.1
      E( k' y0 N0 w* n3 Y1 _
  63. User_name=testuser
    1 X. {, F1 w& d1 d4 m' X! Z
  64. Password=my_password4 i6 `7 c, X5 k/ _' u+ b
  65. GetDriverFunc=getSQLDriverMYSQL6 }- O) e3 E9 S0 g  q
  66. VendorLib=libmysql.dll
    2 U. E0 o( d$ z+ T0 F
  67. LibraryName=dbexpmysql.dll1 D4 O% x4 V/ w' U1 f8 a9 ~2 P
  68. Active=1
    # x, d& B# h% W  B/ ?! t
  69. ---example----& o& ]% _% e# ]# c+ f9 _: b
  70. - written 02.03.04 by pwk.linuxfan
    8 ~; ?  l/ T3 V- j- x
  71. & a* M* [: w7 v3 D" l
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看+ e  I9 ?5 B. d" y

  1. . P9 X' Y7 D7 V' s% C2 O- ?- s) U! `
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ( Z! C  S) P! J: I2 V

  3. 1 K, v$ a4 O5 F! b2 i/ k1 a! I5 b
  4. # # #我们所需要# # #
    6 p& j7 `8 _. L9 Z3 E" N$ `6 k
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ! {# w$ S+ }7 i% D. q( \) O
  6. 不会解释如何做到这一点-也有文件存在,为7 M, c% _# ?7 j; o; I  C% L
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用; Y+ u! L& Y  ^6 x4 `; j3 o8 P
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西, t( o. l/ t: r6 [( Y. V
  9. 随着数据库。此外,你需要一个卖方图书馆安装于1 Z+ s5 Y3 K1 S+ O+ u/ Z: |
  10. 本地机器,这是我的MySQL安装。
    & s# h  w. W: U/ |! d
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从: p6 x' B- F. U9 Y0 N8 H
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL # f6 k6 _$ P4 S
  13. 数据库。
    4 e& f. @; [# x" L/ B8 m9 ?+ g
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在. s3 r3 C6 Z; g) ^: V& V
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    0 w- D) l0 x/ p& Y
  16. 在teamspeak论坛,如果你有兴趣。
    ' q# ]4 u4 g! D( o0 {0 ^& @
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机# S& {# o7 G* w$ T7 X
  18. Borland公司使用。这个司机只能界面与客户端库  |1 N- u# @5 ~- \0 J( ?/ Q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ' ^: x9 h% b& d( Y2 k" P
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为! @: e: ]7 y: a% M% r
  21. " vendorlib " ,并解数据库连接。
    2 A% z( W7 R' H
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 8 q. z1 r6 d4 w$ F& X( A/ G4 j

  23. * F3 T2 @: ~) b
  24. # # #做好工作# # # # I! F3 V7 H$ k/ f, X
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都$ _7 K) f: S4 m
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ) b0 p8 q' }: R3 R# ]
  27. 结束:
    ! ?# z; B$ W: T  W
  28. ---削减这里---
    # M  ~. b/ f2 X9 {. ~2 `
  29. [ dbexpress ] ; w" z) M3 _+ I; p' b1 `& u) }
  30. sqldir = mysql_sql
    $ G: w( P: {* X
  31. drivername = MySQL中& a9 I" e! i* ?1 M8 o
  32. 数据库= your_database_name_here 3 ^7 J8 C2 N) R* W& J3 [
  33. 主机= the_pc_the_mysql - server_is_on - {9 s2 f; _6 Y# ~
  34. user_name = user_name_on_the_mysql服务器  E, U* W9 I. }  V% g
  35. 密码= password_to_go_with_above_user_name " \" i4 n- t+ T6 M0 M
  36. getdriverfunc = getsqldrivermysql
    . K% p8 [' R- @- `5 ^
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    0 N% }& s1 j  f  |
  38. libraryname = path_to_libsqlmy_libary
    ) z2 T, D6 ?6 n- e- s% V: ^4 f
  39. 积极= 1
    + m/ Z! p" ~3 y& w' I
  40. ---削减这里---
    . @7 b! Z: V: V5 H! z% t4 ?& S6 B
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 7 ]4 |0 p1 d: @4 x8 r# `! @
  42. ---例如---
    7 B6 S" M) g$ d( i9 u" s7 \; y
  43. [ dbexpress ]
    $ Q1 t  n% u9 N
  44. sqldir = mysql_sql
    - n% `: j# O, b1 z$ _6 O& q
  45. drivername = MySQL中
    0 a/ \. @) A; l3 f" C3 q( h' I
  46. 数据库=测试& s$ r  ~7 Y, t* p
  47. 主机=本地主机- B- F0 D9 e: ^, L% a+ ~3 V
  48. user_name = testuser 9 p; h7 {; L; u! I, z
  49. 密码= my_password 3 d' G" e, n1 `" A1 p
  50. getdriverfunc = getsqldrivermysql
    : X( y  ~; H" x. q
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    9 Z" j. s9 f+ u
  52. libraryname =. / libsqlmy.so . v! z- j8 }( ?0 u
  53. 积极= 1 0 `$ _; n& E& r, m1 k% e5 K, [
  54. ---例如--- & Z7 j) ]1 @  g8 s- |; B/ d

  55. , Z* b- {5 }1 X+ r- k) k
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    % A; g' f/ V5 q
  57. ---例如---
    : c% g/ W7 e4 k6 V/ r
  58. [ dbexpress ] / D+ Y1 M' U" j8 s# a; W
  59. sqldir = mysql_sql
    / d- w7 ]# G3 v8 x  A
  60. drivername = MySQL中: H% j: G! @& a$ Y* |& d: J2 W
  61. 数据库=测试5 `/ G: F/ U5 L0 y5 I& F( [- Q% b
  62. 主机= 127.0.0.1
    8 ~6 Z" V& s: B" x/ P7 Y% V
  63. user_name = testuser 4 x& u# a3 q& l" h0 b" }, u
  64. 密码= my_password
    ! ~9 c$ x0 B, y; W1 n& k
  65. getdriverfunc = getsqldrivermysql
    1 _" S& p+ ?* K5 K6 P) t
  66. vendorlib = libmysql.dll在( V  g" P: ~  a; Z+ \" ^! p
  67. libraryname = dbexpmysql.dll & I, {- f+ {4 N/ b) P& X# R
  68. 积极= 1 : ?# q0 y7 b' ]/ _/ @" B
  69. ---例如---- ! l2 E, K9 ~4 `; w1 }
  70. -写在0 2.03.04由p wk.linuxfan
    1 n' z8 s' u* E+ H! g
复制代码
发表于 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
& l% [8 H" I7 y9 B) ?) K
+ x& y5 S" U( }3 R5 K! cbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-27 12:50 , Processed in 0.064834 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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