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

3079 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
/ N2 H% S- }$ F$ Z! G( W9 `; [3 W  C9 r) F- C# f

  1. 6 Q( x) D8 w( O% I3 ^. N% t# P
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
      j+ g' {" m( T: e5 Y0 v) V; Y$ \

  3. / c- m' j0 @8 i% A) G8 _
  4. ### What we need ###! i7 O2 [/ {6 F1 e6 F- T! J7 \+ [
  5. Naturally, we will need a MySQL server to store the data for us, this document
    / a" `$ T# O9 ^& B' ]$ H9 J' ^
  6. will not explain how this can be done - there are documents out there for the
    ' {. o5 {  @/ i* q( n- }' C
  7. interested. The requirements include a (empty) database for TeamSpeak to use; v- \; G* a) i; e: h# a' m8 Q
  8. and a user account (username + password) that has the permissions to do stuff
    ' N( m3 a/ t! E6 A$ F0 K9 H
  9. with the database. Additionally, you will need a vendor library installed on the3 S! `3 C; N1 m! E% Y
  10. local machine, this came with my MySQL install.' r( y9 C; u1 x; V% m
  11. These instructions will not tell you how you might transfer your data from the. ]! K- o* F/ E4 t* o2 e
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    / O" M9 z3 {' D/ h3 h1 Y
  13. database.1 Y, D0 ^8 `  m: Q/ v
  14. Some users have reported ways to import a SQLite database into MySQL, but at1 G9 ^5 o; p5 G- J( I: R" U
  15. the time of writing, there are still too many issues - check the current status. d% G, r" g" B$ v7 F" _
  16. in the TeamSpeak forums if you are interested., a9 q! w: e2 |; p8 c
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from5 Y( o. }3 {$ [' p& ]/ o
  18. Borland was used. This driver can only interface with the client library that / b  D. b6 p& @" R# q/ c
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this# E' p" C2 ]0 E3 a; D+ q
  20. client library - basically all you have to do is to use a 3.x client library as + I4 M2 I3 [! m7 @+ d; k
  21. "VendorLib" and a 4.x database to connect to.
    / A3 }/ Y7 |) a0 @6 I7 {% Q& t* e
  22. If you need more info about dbExpress, you can contact Borland., B6 W5 j, F7 b1 l7 x7 k

  23. 0 R% }- @6 H3 b, |8 D
  24. ### Doing the work ###
    . }, `( {2 I* B% Z) I
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    : A, r+ s2 D' s
  26. the perquisites right, just open your server.ini file, and add this section at6 X& |. u4 v" Q0 n) e
  27. the end:
    3 X0 y) j7 O$ z) n4 p
  28. ---cut here---
    3 P: @$ C5 d9 M* |0 p! ]' N1 v
  29. [DBEXPRESS]2 E$ E6 \- E$ O  `0 q0 q. j6 X. [9 l
  30. sqldir=mysql_sql; b" x3 x8 ]1 ^) H
  31. Drivername=mysql
    ' G$ e& ]( U7 V+ ~
  32. Database=Your_Database_Name_Here
    , @# U" Z5 [; d" P
  33. Hostname=The_PC_the_MySQL-Server_is_on
    & h8 M  K5 x/ W* H3 t; \1 a
  34. User_name=User_name_on_the_MySQL-Server7 n9 @' W3 K5 M& k: F$ }7 P* r  F5 }
  35. Password=Password_to_go_with_above_user_name
    & a/ K: l  I" _
  36. GetDriverFunc=getSQLDriverMYSQL
    " Q$ m4 R# }2 p' y7 I! C4 m
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    " Y) n& m# \! Q5 G4 A; n
  38. LibraryName=path_to_libsqlmy_libary/ i: A- j7 ?, ~' Z2 J! }- b
  39. Active=1
    1 O# I( g# K+ a( S1 i) G" i( T
  40. ---cut here---
    4 w! a& a5 `  Y8 Q: D9 u
  41. In my environment (a linux box with a MySQL server running locally) I have:
    $ x2 x- `3 }) ]! e, x+ p4 ~
  42. ---example---
    5 W" k: a4 l! y0 J) I7 }
  43. [DBEXPRESS]& u# m$ D6 U/ ~2 e
  44. sqldir=mysql_sql) a* K1 @! @; r/ X
  45. Drivername=mysql
      A$ p$ B9 e9 ]% Z* I& ]
  46. Database=test* C' y7 _6 R4 e1 ~, c
  47. Hostname=localhost
    ) @  T" d& Z7 Q& c, O9 G- C
  48. User_name=testuser
    0 h* ^5 ^; E9 s
  49. Password=my_password) S% X( W- T: q5 J3 I& Y! c
  50. GetDriverFunc=getSQLDriverMYSQL; H2 i6 X, y0 j
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.00 R& p" N  O; M! E* E4 j; u% a
  52. LibraryName=./libsqlmy.so
    8 Y4 x  a. k4 U! n
  53. Active=1
      L, O. M6 X1 I9 p/ O9 D
  54. ---example---
    * H1 i. z; E  M1 c
  55.   d2 B, |* D% }4 z0 R! G5 N
  56. On a windows box, also running the MySQL server locally, it would be:. ~* [  H9 K2 {) [1 A) j
  57. ---example---
    ; w8 X1 R' I  e: L( n' c
  58. [DBEXPRESS]$ T+ e& }4 R. V& [
  59. sqldir=mysql_sql
    / d2 g# ^, I# N: r! F
  60. Drivername=mysql7 Q3 }7 i8 K2 c& V. l& \* R) X
  61. Database=test
    3 z) Q$ n& |/ V! H& y
  62. Hostname=127.0.0.1
    " `" j: h) p5 F& b& p
  63. User_name=testuser! F7 H! ]# X1 A! x
  64. Password=my_password4 ?+ Y% X: p2 y$ u/ \/ `
  65. GetDriverFunc=getSQLDriverMYSQL
    " v! u& N1 g1 w( v6 z+ D8 L! p9 n# B
  66. VendorLib=libmysql.dll
    0 F/ n$ Z& O' U, X. x  w* Z* p
  67. LibraryName=dbexpmysql.dll
    ! G8 B' S5 Z: i& g" Z
  68. Active=1
    ! S: }: K1 x8 s- @
  69. ---example----
      H) H$ V  C0 {' D
  70. - written 02.03.04 by pwk.linuxfan; ]/ N; `+ X; k) M7 B
  71. " j, c" r1 J% F& K# }6 f
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
3 G% e$ [5 r' C

  1. ( n+ a4 O2 \" l3 O, u! P+ e
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### , d: z( M+ R7 ^" w

  3. 4 t5 N8 g5 J9 E" E
  4. # # #我们所需要# # # 0 ]4 g3 D' q- c9 Z# K6 h5 y/ g
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件7 ?% V* r2 X1 {+ E+ U& M6 H
  6. 不会解释如何做到这一点-也有文件存在,为
    5 k8 y, Z7 y  i3 e
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用( T# L7 v/ [2 `/ T. E1 g
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ) d: P% N; m% J. q/ s# N
  9. 随着数据库。此外,你需要一个卖方图书馆安装于  z- L; J: N2 ?$ I6 [
  10. 本地机器,这是我的MySQL安装。
    3 F% H% K' s* D$ k; v. S
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从& o$ O  T! q! ]: G! S# I
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    * Q  H! O2 S! \
  13. 数据库。
    8 B& z  L2 `; e3 ^, T4 b. X
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    9 [. N) `) n! l. _, Q
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    , o/ y) s' R; m9 O' A; ]5 @0 U
  16. 在teamspeak论坛,如果你有兴趣。 6 ?/ x; _* D" F  \; _* M
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机( l: w8 ]3 W0 [& H6 a
  18. Borland公司使用。这个司机只能界面与客户端库
    # A- [% L$ L' D5 o* y! Z2 S6 z
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    6 p! D$ \3 j2 y- M5 q7 Y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    + R, k6 `3 I3 D7 g6 O: d
  21. " vendorlib " ,并解数据库连接。 : N/ c# z1 @, o7 T% \5 w  m0 \% j
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ) ^( Q- m* ~8 u: f
  23. 3 m: q, Q: i7 Q: o3 x
  24. # # #做好工作# # #
    " ~- a. Z. D  F- I
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都9 R) F5 B5 E. d+ @! j9 ^
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在7 a) Z2 D6 h$ b# X% t& u& \) m6 _3 i
  27. 结束:
    6 c3 @, c) p* {+ z7 J) C) ~/ I2 }8 V
  28. ---削减这里--- . c  Q: R- _  A9 k
  29. [ dbexpress ] / `; v8 K; `5 C$ O7 c) j+ z
  30. sqldir = mysql_sql ( D: u5 @! z2 F1 p. G" I
  31. drivername = MySQL中# G7 J( Q# C2 q" |! ]) K8 F
  32. 数据库= your_database_name_here " C, o2 P# @. H  \6 m* S
  33. 主机= the_pc_the_mysql - server_is_on 4 J9 N9 w& j% o( m4 }7 I$ n
  34. user_name = user_name_on_the_mysql服务器
    9 H% K  Y7 Y) m/ g+ b5 A
  35. 密码= password_to_go_with_above_user_name
    ( M  O8 j6 O# V% L* p
  36. getdriverfunc = getsqldrivermysql
    / H: ]1 v# W0 A7 r1 v
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    " ]  H: v2 w* V  `* k2 p
  38. libraryname = path_to_libsqlmy_libary
    8 m( x& B9 \$ S- @
  39. 积极= 1
    : o* v3 _! ^; {: e. [$ D
  40. ---削减这里--- ; L+ M5 j0 N$ V
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    2 o5 W8 b; B) O9 V& `& B$ |
  42. ---例如--- " l# T; a! W3 h( [! g- C7 `
  43. [ dbexpress ]
    * v+ X2 `( a9 D8 L, B
  44. sqldir = mysql_sql
    : R2 K8 w; N( ]/ u# E' V& ^
  45. drivername = MySQL中& @8 P, d: t4 n+ W( |4 Q
  46. 数据库=测试
    & Y+ j3 o8 z+ P9 [* a5 Y
  47. 主机=本地主机
    , T* n! B& N( Z7 q8 k
  48. user_name = testuser
    1 ?* v/ Y9 v; J9 ]' p' }0 K
  49. 密码= my_password
    4 f* b; v; [8 V" ?9 f; g) n2 I
  50. getdriverfunc = getsqldrivermysql
    ) r+ V6 G0 ]3 }' i3 i- c
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    - _# y' h7 l, Y
  52. libraryname =. / libsqlmy.so ! `9 b" }1 G) i5 H# m3 c$ O  D9 J
  53. 积极= 1 $ C/ F) E  D, I4 j5 ~: ?! O
  54. ---例如---
    ; K0 w5 i, m' i- ~2 G$ y
  55. 8 T8 A$ S# F1 Y8 n" a
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 9 O  @! F7 w5 I0 D8 u
  57. ---例如---
    $ Q6 G4 X7 ~$ O; o
  58. [ dbexpress ] 6 o% g- o& U& e
  59. sqldir = mysql_sql + S! P7 Q* N2 x; y' P& l  ?
  60. drivername = MySQL中5 D7 I, j# P! v7 ?: f" J# F
  61. 数据库=测试
    6 f- d- v3 h1 K. h4 o
  62. 主机= 127.0.0.1 0 H7 X6 P# r! E& g, n7 ~6 o, V* P+ @
  63. user_name = testuser
    * Z0 L3 \4 y( `7 Q* E; Y
  64. 密码= my_password
    7 t1 S! O! P8 R
  65. getdriverfunc = getsqldrivermysql
    7 B8 h( e% u. a& H
  66. vendorlib = libmysql.dll在* D& U! f% x5 h6 F# U1 ?
  67. libraryname = dbexpmysql.dll 1 M6 t5 d% d! T  S! Q0 w
  68. 积极= 1
    & b. D4 \2 o4 _7 p: h9 C4 ~/ F
  69. ---例如----
    + s9 J8 L' y4 v) ^  u
  70. -写在0 2.03.04由p wk.linuxfan$ c7 L% c0 ]# B2 n( h
复制代码
发表于 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& f& e/ ]" a( h" @2 E& M

. ~' d3 K3 m8 M) h. a; O3 [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-27 09:55 , Processed in 0.106920 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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