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

2337 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ) n9 t5 h) W# P! P* s

/ O0 @, H1 U; {8 n0 N$ b6 d

  1. 9 E$ H8 L4 _& M+ ]) i
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ; C& V2 t: M0 A6 e% l5 }

  3. 1 b" w/ Y& V3 k8 x$ V
  4. ### What we need ###2 o# }0 s- q! I, B# j8 ?5 _2 W7 ~
  5. Naturally, we will need a MySQL server to store the data for us, this document . I( \; y/ A! R: _
  6. will not explain how this can be done - there are documents out there for the 6 q: h1 e3 J% L" W8 ~' w0 q+ d# j
  7. interested. The requirements include a (empty) database for TeamSpeak to use$ b  U5 }! M6 A" i( q9 K
  8. and a user account (username + password) that has the permissions to do stuff% L0 U7 t( p& u0 G
  9. with the database. Additionally, you will need a vendor library installed on the
    . [$ l/ [# B: {4 @+ J7 W7 ]+ a
  10. local machine, this came with my MySQL install.
    : q: J) o& ^2 P3 F7 Y
  11. These instructions will not tell you how you might transfer your data from the5 V5 e# F" Q5 N% g: L1 N: l
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL! _, B3 y  G  `( e
  13. database.
    . m) d1 o# u- E9 Y0 a
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ' }" I4 t6 `" z  t$ `7 p3 }* a! y
  15. the time of writing, there are still too many issues - check the current status# b# R' s% h7 V3 E5 J$ C. I
  16. in the TeamSpeak forums if you are interested.1 y* N- w: O  u  U5 t
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from7 h, c, I. A- j) M( M2 s/ r
  18. Borland was used. This driver can only interface with the client library that 5 I) ~. h. B" P# H& y" }
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this0 c  |( X7 d; I9 p* w( V: P; V' ^
  20. client library - basically all you have to do is to use a 3.x client library as
    + U7 w% x0 j( V1 H9 V
  21. "VendorLib" and a 4.x database to connect to.* X/ d) k1 q" N7 h0 h$ q
  22. If you need more info about dbExpress, you can contact Borland.' O6 o6 i8 `3 C" V! M, C

  23. - I0 B7 c) L! K8 e# m. p
  24. ### Doing the work ###+ y( J1 [+ d1 J
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all7 _2 Y2 q$ k1 W; |, {4 p  t1 x
  26. the perquisites right, just open your server.ini file, and add this section at
    ; F  v6 i7 k8 N  G9 [! j- H. r: u' R
  27. the end:
    8 x+ G9 O! D0 a* `6 U3 X5 n
  28. ---cut here---! l5 \8 x6 Y* o1 Y( a; S; S
  29. [DBEXPRESS]/ e" U: O5 Y1 v$ N" q) X3 I
  30. sqldir=mysql_sql
    , p$ \/ M* k% K& ]
  31. Drivername=mysql$ g2 h9 `) {% x8 g7 w6 w7 E; ?3 d
  32. Database=Your_Database_Name_Here
    * u+ C1 V9 K2 s& @! y3 V/ U/ c6 h0 h! e
  33. Hostname=The_PC_the_MySQL-Server_is_on
    & R* j9 B/ R  b. x
  34. User_name=User_name_on_the_MySQL-Server
    4 I3 n4 f( ~2 l$ v, r
  35. Password=Password_to_go_with_above_user_name2 Z3 T) m% ]' A1 ~
  36. GetDriverFunc=getSQLDriverMYSQL1 G' W4 e( n, o7 j7 S
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib% C! {( K2 t# P
  38. LibraryName=path_to_libsqlmy_libary
    ! i% Y$ w4 v" k3 z/ }
  39. Active=1
    ( X0 f" e+ ^% b* @' r1 b' Y/ f
  40. ---cut here---0 B; E  }4 f2 E" U
  41. In my environment (a linux box with a MySQL server running locally) I have:% h+ V  B$ `% _, w" f1 H
  42. ---example---- ?( |; K, ?( _2 |( X
  43. [DBEXPRESS]$ i# {* F% \! P$ f
  44. sqldir=mysql_sql
    " H) N) s& ?) }5 _
  45. Drivername=mysql
      J$ _; g/ f' m4 q1 T' |
  46. Database=test, i# Z' D0 V+ E) {* n
  47. Hostname=localhost
    3 g. {" H) h+ w. c
  48. User_name=testuser3 ]: d) Y3 {- G6 p0 N3 f; ~
  49. Password=my_password
    % \: J" @9 q' Z8 B$ L
  50. GetDriverFunc=getSQLDriverMYSQL% `( ]/ m8 [% Z' U: J; ]  q
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    6 n$ Y  F4 \- `
  52. LibraryName=./libsqlmy.so7 ^. ]1 a8 ~9 O
  53. Active=1. A/ P: R+ T. }7 u
  54. ---example---+ K1 `2 A# o. E
  55. - J+ s7 G( R" B2 N; {3 D  l8 X6 A8 A
  56. On a windows box, also running the MySQL server locally, it would be:
    $ ^$ n# m, x# F! C( ]: z
  57. ---example---% }$ h9 w5 _2 d& t. |& _: x
  58. [DBEXPRESS]' t) ~7 N" F( t9 ~" Q, ^
  59. sqldir=mysql_sql( t8 A, G  N6 \, E
  60. Drivername=mysql
    ' G" Q: F5 k/ ]( M
  61. Database=test
    ! R; q# k/ M8 B, U0 N* w
  62. Hostname=127.0.0.1
    ; I* d6 T0 @9 M3 o3 S  X
  63. User_name=testuser
    , G9 v2 G; J" A: {+ W0 q
  64. Password=my_password
    8 Q/ o) x) U: t
  65. GetDriverFunc=getSQLDriverMYSQL
    ( ^  u9 ?3 t/ [1 S- f7 x* k1 \
  66. VendorLib=libmysql.dll; L/ j( h% }- W0 X+ `
  67. LibraryName=dbexpmysql.dll9 U" F( `8 C3 R5 @2 Y. A
  68. Active=1
    0 W/ S# S# f/ c9 u
  69. ---example----
    ) e* I6 ~9 Z0 |; e) ~
  70. - written 02.03.04 by pwk.linuxfan
    7 }4 y* R3 z; j9 p4 K7 q0 x1 G
  71. ( f5 `- ^$ y& ?8 Y/ _0 c7 v9 G, p
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
3 O% E, e7 Y% ~1 h* ?+ s

  1. 5 D" i# ^5 v6 N2 [- S; T
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 1 B$ ~  G1 Q/ f* G
  3. ( U" I" I5 ^& L* C+ |% b" i
  4. # # #我们所需要# # #
    4 ~1 k  k* n) |# x( [, @+ V
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件  n4 p' J$ h' f
  6. 不会解释如何做到这一点-也有文件存在,为
    . B; ^0 B; M* ~: M' `, E
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    6 K- p# f2 A: P! a3 D7 L8 T
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    # m3 v1 O+ o6 M" p% A- ^
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    " D& r' s5 E1 C, r9 I! j0 m! G
  10. 本地机器,这是我的MySQL安装。
    ' z$ N1 k4 ^0 P, Y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从" E; ]2 W) W9 u# J: ^
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ' }' u) z; F& `# N4 O3 }7 Y1 J
  13. 数据库。
    3 B- b; R1 R& [2 u) b
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在3 X0 s2 V' a/ q1 ?  T
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    . g: \7 O& d4 O2 N' ~. j. k- q( N
  16. 在teamspeak论坛,如果你有兴趣。 $ ^6 [/ B! K- A) N7 ^& H; U
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机6 c2 a' o# ?( B& D  ~  W$ j% \
  18. Borland公司使用。这个司机只能界面与客户端库" g$ ?$ r: z5 Z0 r/ V; r% I
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    0 E! @8 r, u6 s# A
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为# F' D9 A) P* \5 n) _
  21. " vendorlib " ,并解数据库连接。 % `) p9 @) `' m" j, C+ ]; B  n* F
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 - O8 _& S/ R0 r* ?
  23. ) D6 |* I: ~7 w  f( r
  24. # # #做好工作# # #
    * j( I$ Q8 I0 K+ g
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都8 e; C# N: }* |. U! p4 a, C
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    8 E- t( Z3 }- H$ [8 Z
  27. 结束: 7 _% @, a+ f! N( F! l  T
  28. ---削减这里--- ; Y# v. Q# p4 W7 N7 t4 Y
  29. [ dbexpress ] $ _: c& r( m; z6 I
  30. sqldir = mysql_sql , E" ^+ x8 e# C$ |: B
  31. drivername = MySQL中
    2 n% u9 N; \/ N1 T3 H
  32. 数据库= your_database_name_here # _6 S& }3 d# G! H# R
  33. 主机= the_pc_the_mysql - server_is_on / k1 v6 |7 C8 D
  34. user_name = user_name_on_the_mysql服务器5 }; _6 I6 C  ~- L8 A
  35. 密码= password_to_go_with_above_user_name $ P6 [" N9 E; Q' F& F# {; P+ F
  36. getdriverfunc = getsqldrivermysql + t9 M% U: O* g0 t5 P2 o
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib - c  f) {8 ?. v) w
  38. libraryname = path_to_libsqlmy_libary
    4 E! c5 v: H! m8 `
  39. 积极= 1
    0 X8 t: {0 \' \; v
  40. ---削减这里--- ' w. U2 ]& z3 ~0 C  l6 Y. Z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    + M# q% }! V# \& F
  42. ---例如--- 6 o& Z" a7 ?) H- a! l
  43. [ dbexpress ] ! ?6 d; _4 T9 s- H
  44. sqldir = mysql_sql ( K# |* o0 q+ [6 Y7 Q
  45. drivername = MySQL中" }) I) m. c2 l7 E2 G* y6 R! G
  46. 数据库=测试- V, ^% }( T5 ^* y; y4 e
  47. 主机=本地主机# {9 ^# e) K6 |' D* c$ }1 ^2 m
  48. user_name = testuser 0 T: q. Q0 I7 a! O6 i5 l
  49. 密码= my_password
    " P4 V6 \: h& n4 x) ]
  50. getdriverfunc = getsqldrivermysql 8 G- C7 `! g0 M8 v4 }
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 4 n; {+ e% W8 j1 a/ j5 l: D# K
  52. libraryname =. / libsqlmy.so 0 g+ [' c3 P+ |+ N! S0 b
  53. 积极= 1
    9 x' r- C4 t! A# i. ~3 J6 h
  54. ---例如---
    7 Y1 u3 ]- A% s

  55. * Q3 ]3 L8 e5 D7 g, i' h
  56. 对Windows中,也运行MySQL服务器本地的,那就是: : N5 ^' t/ j0 A: b# Y7 z
  57. ---例如--- / K* V$ `, u6 x; G) u# ^
  58. [ dbexpress ] 8 F( a2 v3 N% F% V+ F% K
  59. sqldir = mysql_sql
    " @9 m8 @) r- ?6 \' @
  60. drivername = MySQL中) _5 m* P- M% E/ q- F, x' t) L
  61. 数据库=测试
    5 H- x$ l$ F* i% h$ l' t
  62. 主机= 127.0.0.1 # Y( O! {( R; v9 o% f
  63. user_name = testuser ' o# i+ @7 {% L1 D9 F
  64. 密码= my_password 0 [  w5 G+ t4 w7 V; H$ ?1 r6 z) n
  65. getdriverfunc = getsqldrivermysql ( J* e3 v4 w! x9 {: c
  66. vendorlib = libmysql.dll在& N- A8 U9 w' |0 f& B/ ?) r! g' Y) _
  67. libraryname = dbexpmysql.dll
    ( X  g: L4 @6 E5 c1 M2 D
  68. 积极= 1 + S& G5 J! m! L: d& p/ i
  69. ---例如---- ! c# @& x: e0 n! v8 C. c
  70. -写在0 2.03.04由p wk.linuxfan
    - }0 S1 a, B- H+ z
复制代码
发表于 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
6 U% v' ?8 K' W, F9 K
3 K) @' g/ I1 ?5 X$ Wbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-26 05:34 , Processed in 0.100480 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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