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

2503 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 6 h. T% K# S! A% O
* f+ [$ `( b6 D2 ?- F9 |

  1. 9 G3 f+ v, u, i; C4 Z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    . d& O0 N0 r& q3 M
  3. ' \/ b" m' [% c6 _
  4. ### What we need ###
    " f1 E- w7 _' ~9 @/ l5 s2 `& v
  5. Naturally, we will need a MySQL server to store the data for us, this document / {# _, f& H# m9 C
  6. will not explain how this can be done - there are documents out there for the
    6 N( v/ e0 h, S! _
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    + M1 P5 A4 t+ w2 K' Z3 K2 ?+ \8 k
  8. and a user account (username + password) that has the permissions to do stuff
    $ z; M, K4 }. `
  9. with the database. Additionally, you will need a vendor library installed on the6 r5 z% h0 c- ?. ?; F3 Y$ L
  10. local machine, this came with my MySQL install., _. z6 D7 R' {+ }: A) K
  11. These instructions will not tell you how you might transfer your data from the6 ?- U3 F  v5 c  g% C2 l" [6 W
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    + K, u% l$ y3 J) R
  13. database.
    - k) o! M2 {8 e# ?
  14. Some users have reported ways to import a SQLite database into MySQL, but at# R/ F) f$ b5 Y" g! A
  15. the time of writing, there are still too many issues - check the current status
    6 w+ \7 c$ ~0 X# T, Z+ c
  16. in the TeamSpeak forums if you are interested.
    ; N6 v7 m, A. X* c5 h+ V! S. U
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from* V' m8 m1 j0 w: {& @9 g) @4 D1 E
  18. Borland was used. This driver can only interface with the client library that
    % M* q# Z# {( r+ U1 W3 [% z' i
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    # x7 ]8 a0 }9 Q6 X/ U
  20. client library - basically all you have to do is to use a 3.x client library as
    # a9 y" |* E. I2 ?- A/ [# F; o2 E4 B
  21. "VendorLib" and a 4.x database to connect to.0 z+ a" ^- J4 v  A% u1 X! }
  22. If you need more info about dbExpress, you can contact Borland.
    / M  u3 t; X6 |" Q* ]
  23. ( U' y2 L9 x+ \: l( H( m
  24. ### Doing the work ###
    7 j8 }. [: T& y, h. W& |
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all9 \$ S0 ]6 G; I: r' b6 q( [2 L
  26. the perquisites right, just open your server.ini file, and add this section at+ O+ s4 \' r. r
  27. the end:# [* v; A9 ^3 Z+ K
  28. ---cut here---
    * m" J  X" ^* q9 C
  29. [DBEXPRESS]
    ) T7 Y: A3 P' t4 w" b! x
  30. sqldir=mysql_sql
    $ Y. X* H) ?+ u1 W5 v6 d2 r
  31. Drivername=mysql6 z" [, e- o8 k$ g. R3 u* t6 f( v2 k
  32. Database=Your_Database_Name_Here
    1 i# _" |0 @. ]. U% I1 P
  33. Hostname=The_PC_the_MySQL-Server_is_on
    6 F" A/ I5 ^+ x4 n& x, m
  34. User_name=User_name_on_the_MySQL-Server
    : Q2 ~7 `  S& L% ]  a
  35. Password=Password_to_go_with_above_user_name0 g# Y3 u; m! S0 k5 O7 t# r; v3 d
  36. GetDriverFunc=getSQLDriverMYSQL
    5 t8 e1 n9 s% t( D, j
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    9 W! g( D& D6 V2 G) Z
  38. LibraryName=path_to_libsqlmy_libary
    4 ?  U  Q3 r% I& |7 s8 h& c
  39. Active=1% S* r2 {) I6 Z9 a! S5 q
  40. ---cut here---
    / L8 n3 t8 t0 S3 I! q: l9 B
  41. In my environment (a linux box with a MySQL server running locally) I have:
    + O) U: z2 P: @6 ?
  42. ---example---
    , o1 ]  `0 w% K; p
  43. [DBEXPRESS]
    6 o# w. `, n0 L' z
  44. sqldir=mysql_sql
    4 ?$ n6 o8 D) t- L  v5 H
  45. Drivername=mysql
    5 R" b* j2 q3 _2 I1 j# c) G
  46. Database=test  t* X4 ]1 {7 U
  47. Hostname=localhost
    + z! D: ]4 `: K5 j& U
  48. User_name=testuser- R  p% F! d- Z( f1 d
  49. Password=my_password- r& F4 A; q8 o7 ?, h2 v* d
  50. GetDriverFunc=getSQLDriverMYSQL+ f9 C) _9 H! X) O+ N
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    7 B: s: S; ?% `2 Y1 j( A
  52. LibraryName=./libsqlmy.so% t  D3 u+ D% P4 h, e
  53. Active=1
    ; K2 D8 V* ?, T8 Q7 L+ m
  54. ---example---
    , Q- Q: Q) m1 j

  55. # J" Z$ ]; |2 n! M
  56. On a windows box, also running the MySQL server locally, it would be:
    8 v  B  e* `. g- M  Q
  57. ---example---
    - ~  {! R/ `) {8 n) [6 R  l
  58. [DBEXPRESS]
    * R7 s$ c: q6 B) w( `
  59. sqldir=mysql_sql
    % ?. A7 U5 @1 {5 D$ b$ d
  60. Drivername=mysql* C5 e) p% Y$ l. c; @% u
  61. Database=test
    ' I( i- B( {* c
  62. Hostname=127.0.0.1
    $ ^2 o: L0 f+ @
  63. User_name=testuser
    0 o4 ^' I8 z9 j
  64. Password=my_password
    7 Y0 i: V' d8 L: }% m
  65. GetDriverFunc=getSQLDriverMYSQL/ q( ]7 s- G: P: s
  66. VendorLib=libmysql.dll
    4 a7 r; i8 z- Q) S1 G8 k
  67. LibraryName=dbexpmysql.dll
    0 q: t% z/ p: g2 D" C" g# C) }
  68. Active=1
    8 `+ h7 p  m$ x' B' K: t
  69. ---example----4 p- Y! ^/ S% I4 T
  70. - written 02.03.04 by pwk.linuxfan8 s: k/ r$ |5 y( T' Q3 v+ ^% c
  71. # p4 ?" h! F1 ?4 n, |
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
: K* `! P$ c; P. A' J) W
  1. / m1 |& i  T9 N% y8 p7 F
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ' L, y; C& P8 s4 f, r* \

  3. , z7 n: z$ u4 H9 o+ d$ G2 ]0 Q4 n
  4. # # #我们所需要# # #
    ' u& V( [  `: W% s. U
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件/ n2 H6 _* I$ K, ]
  6. 不会解释如何做到这一点-也有文件存在,为
    . P" N6 x5 Y  \
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    1 O: c' U6 C% t" X) r* {/ q. G
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西$ u7 @0 s( |$ D" n+ Q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    % M% }' g* E4 _' u4 o) c
  10. 本地机器,这是我的MySQL安装。 6 ]5 P, u1 g9 [. {
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从7 t( |1 N1 c  E
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 3 R* ~% m1 o  f3 Q: v& v# [
  13. 数据库。
    2 n8 {7 R  o. L4 O: E$ g6 m
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    / V! E* v0 N3 c! r
  15. 编写本报告的时候,仍然有太多的问题-检查现状5 c( j$ [% s2 M3 Y- g
  16. 在teamspeak论坛,如果你有兴趣。 3 k! k- `# l1 f/ [; H
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    " i8 w' c0 N3 M5 d. u8 X; T1 z
  18. Borland公司使用。这个司机只能界面与客户端库
    7 K6 r1 J( y5 f1 M& ~
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这8 L% M# M1 ?4 F2 D4 L: G% }
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为% [; ?! A  g; }3 ^! c: T& ~7 P
  21. " vendorlib " ,并解数据库连接。 , D, U! i8 h+ g7 e3 j  w
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 0 V& y0 g6 @5 h! C: K* B
  23. # Y3 g' D4 H6 O- E. [
  24. # # #做好工作# # #
    . ~, T# C5 [* p3 C( C8 H, l. Y' [0 f- e
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都7 T; I: G' s& T
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在9 i, Z+ A5 ?2 u9 E4 s8 }  H
  27. 结束:
    5 j5 G6 |, v3 w, _
  28. ---削减这里---
    $ m5 v- Y' J0 C# P! U; T. Z
  29. [ dbexpress ] " y/ _; k) J0 c# F! ^
  30. sqldir = mysql_sql
    ; w/ a/ }6 y/ R& s+ H
  31. drivername = MySQL中
    " e9 S6 [0 G, Y0 N& i# w0 t3 G7 T
  32. 数据库= your_database_name_here - ^8 T( k- O; h
  33. 主机= the_pc_the_mysql - server_is_on
    & Y- _; `7 [2 L/ p* }, [& E+ U, X
  34. user_name = user_name_on_the_mysql服务器
    3 b1 L$ R# R# m
  35. 密码= password_to_go_with_above_user_name % X. q% l$ A% ?8 O7 C; y7 n: R
  36. getdriverfunc = getsqldrivermysql   l% u8 w# \, i
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    " s8 `/ b$ r$ ^
  38. libraryname = path_to_libsqlmy_libary
    % I. O, o- u1 h/ @) t  G) R  E* z
  39. 积极= 1 , I) X- ?+ R- p# H
  40. ---削减这里--- % m! v1 L. ~* ~5 a3 A0 @
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    5 G. Y! R9 S! U3 ?; F# j' p
  42. ---例如--- 7 R6 j/ p. |0 }/ d" `, x1 f% @% `
  43. [ dbexpress ]
    ' M: o( J$ K* s: i
  44. sqldir = mysql_sql ( |; s4 {3 s8 W
  45. drivername = MySQL中# s$ `; W3 Z: \$ s$ W. b* b
  46. 数据库=测试
    8 i0 ~0 Z) J4 {
  47. 主机=本地主机
    * S0 A$ w0 ]9 V" H
  48. user_name = testuser
    4 h" f9 [0 m4 R, P
  49. 密码= my_password - V! N- b# S6 z* ]! h1 e
  50. getdriverfunc = getsqldrivermysql
    : I6 a! o9 T) }% t* m% X8 O5 t
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ! q0 q  ?* N0 C7 A! h) X# i
  52. libraryname =. / libsqlmy.so
    4 c" I/ p8 G0 Y. g- X" x+ o
  53. 积极= 1
    & m# N7 N- o+ k& o
  54. ---例如---
    . Q( X6 Z! c& F3 _* x$ O

  55. 4 X% N2 A% J- D! I
  56. 对Windows中,也运行MySQL服务器本地的,那就是: " G. K1 u& K' |' ^" @
  57. ---例如---
    $ _5 F; d1 z9 C# q4 m) ^) J
  58. [ dbexpress ] 8 D% Y, T; t* N2 W3 N: y
  59. sqldir = mysql_sql $ k( ?0 C, K9 N6 F
  60. drivername = MySQL中
    9 a1 r, q4 k4 E1 O' q# L
  61. 数据库=测试+ |- N) ?$ u; Y  r2 T1 s) d
  62. 主机= 127.0.0.1 + A- k9 l( u% u
  63. user_name = testuser
    . h' ]% \/ I% m4 k; N0 q! B3 M" X
  64. 密码= my_password
    / w: X" X  p% a7 l# Q: p
  65. getdriverfunc = getsqldrivermysql
    ; u, m* H4 s  }9 [5 t
  66. vendorlib = libmysql.dll在' |2 h3 h9 _$ K  {2 ~: p+ l
  67. libraryname = dbexpmysql.dll ! K: q: F% l9 i; J. X8 s
  68. 积极= 1 % S9 }( u/ k- [- C" ?
  69. ---例如----
    & w6 V+ g6 h8 ^3 [# h
  70. -写在0 2.03.04由p wk.linuxfan
    + F" Q0 |2 D: u0 z# 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
/ n6 ^1 e8 F: g, M5 \
; _4 R7 P) [8 t0 }but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-11 09:31 , Processed in 0.111497 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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