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

3442 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ' j' N  J* i0 G( D2 s
) U& g9 {9 k( `: R* d
  1. + c* T1 z' @) [2 Q0 U
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######5 g8 x4 F# r' E. F" g) {  x& ~/ v

  3. 6 W7 ]4 T6 o2 D' ?6 U( Q
  4. ### What we need ###
    0 F* h+ B. ^* t, [  _  H
  5. Naturally, we will need a MySQL server to store the data for us, this document
    3 t5 \# a4 U; C2 \2 t
  6. will not explain how this can be done - there are documents out there for the + p) {8 G8 `" h% h$ I* [
  7. interested. The requirements include a (empty) database for TeamSpeak to use$ b: d% I7 I$ u( M# I) W/ i
  8. and a user account (username + password) that has the permissions to do stuff
    * |: h- ^1 s  d% a- x: a$ q2 k9 `: @! \
  9. with the database. Additionally, you will need a vendor library installed on the8 _" `# ?7 i8 B& i% L
  10. local machine, this came with my MySQL install.
    $ a; @+ d3 g- ?( ]% {7 R8 k9 e! \
  11. These instructions will not tell you how you might transfer your data from the
    , Q: x& E- N8 ^: Q1 ~" Z% l
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL9 T) F/ f, J' z+ x" s7 Y
  13. database.
    . U0 \' L7 d5 h4 F; h0 K
  14. Some users have reported ways to import a SQLite database into MySQL, but at2 J, w6 }* e/ u0 f2 v
  15. the time of writing, there are still too many issues - check the current status5 y" _9 a' S1 ]9 u1 P5 Q
  16. in the TeamSpeak forums if you are interested.) H' O. B! b1 p0 C$ c/ k
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    % {, z* f. K9 z( P2 q
  18. Borland was used. This driver can only interface with the client library that
    / h: [( a! [6 g6 q# N
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this% U6 G5 H0 ?* ^) J/ D
  20. client library - basically all you have to do is to use a 3.x client library as 4 x: m2 Q7 C% K
  21. "VendorLib" and a 4.x database to connect to.; \! h, C% n# G' X( Q+ w, o! _
  22. If you need more info about dbExpress, you can contact Borland.
    / P" z; ]$ K9 ~$ s' T
  23. ) Z( y$ C9 @$ s: U4 Z9 ^
  24. ### Doing the work ###0 H# w% a* W0 k$ a) C# S& f
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ' f8 w4 L2 V, Y; f( ~0 o- x9 b
  26. the perquisites right, just open your server.ini file, and add this section at% K6 k$ z, |, k
  27. the end:6 a! l% G' {. `$ p! a5 n
  28. ---cut here---9 r  K/ I6 n" @2 g6 E
  29. [DBEXPRESS]) s+ {* S6 u& ]  R) i  b1 W
  30. sqldir=mysql_sql; x4 A0 V' \( w7 G- p
  31. Drivername=mysql
    % W- d3 D# I" [9 K# ^! S
  32. Database=Your_Database_Name_Here' L# ^: y* [  V  C" Y4 U' e, r( F
  33. Hostname=The_PC_the_MySQL-Server_is_on' ~# s2 R4 b7 v& B/ `
  34. User_name=User_name_on_the_MySQL-Server9 Z$ S: d9 [: O. y
  35. Password=Password_to_go_with_above_user_name
    + T! z- h) N6 f+ A1 y
  36. GetDriverFunc=getSQLDriverMYSQL' F: w, x3 Y) K6 y4 d8 k: Q. f, |
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib' J0 }2 \$ y2 E+ f0 r
  38. LibraryName=path_to_libsqlmy_libary. C4 p. D+ T8 ^6 c! [
  39. Active=1
    ) {" H% j+ Q  j) c
  40. ---cut here---- S. P. w, Q, V! M8 q- U
  41. In my environment (a linux box with a MySQL server running locally) I have:
    0 U) D9 Q* e& [
  42. ---example---
    - X/ S9 d& m4 l. [( G2 k* [1 L2 @3 B
  43. [DBEXPRESS]
    * U) S/ }2 d/ m7 L
  44. sqldir=mysql_sql
    2 M( L: s" I/ W& a
  45. Drivername=mysql: `5 A" [5 h& {/ `( o
  46. Database=test
    4 p5 N4 Y& B* u: h3 d
  47. Hostname=localhost
    + _7 h0 O% v, k; o8 g0 s& f" W, \7 Z
  48. User_name=testuser9 L: U1 W+ |( g6 T: R2 u
  49. Password=my_password
    / j( T' N  }9 @- }
  50. GetDriverFunc=getSQLDriverMYSQL& v. @6 L5 c( a" M2 I9 R9 C4 w
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    9 z/ B" e# n/ D6 o  @
  52. LibraryName=./libsqlmy.so3 Q: C% f( K! P. t# ]9 }- [, C: v
  53. Active=1
    ) b7 H* L. v3 I& I" L0 y" \
  54. ---example---% Y/ m* s  S9 I# C3 Y
  55. 2 `  A9 {  [# X5 y2 A
  56. On a windows box, also running the MySQL server locally, it would be:* t2 t) q3 N* N$ s5 j6 t- _
  57. ---example---% n7 M0 ]. N/ G* ?# q5 @' `& p
  58. [DBEXPRESS]. z  L5 M) G5 r1 a
  59. sqldir=mysql_sql* d, }$ Q+ U/ p0 K! r
  60. Drivername=mysql
    / `% u, n3 I# a3 M3 X* n2 l6 U# M& s+ f
  61. Database=test" S: \: z  O' ?3 _6 G! R$ ]
  62. Hostname=127.0.0.16 ^: p% d' i8 m3 s0 g, Q' p( Y
  63. User_name=testuser( a- i: v" F7 b, D/ G4 {7 c
  64. Password=my_password
    + T4 A2 R1 s# ~
  65. GetDriverFunc=getSQLDriverMYSQL2 a2 |$ F9 G& i$ J! ]) T( C8 T* p
  66. VendorLib=libmysql.dll
      H( W; o% H" a  y# }' O
  67. LibraryName=dbexpmysql.dll/ K4 u% n1 r/ U3 i, X
  68. Active=14 a/ i, t0 b2 E
  69. ---example----; i: W" K- V4 p5 Y9 r8 G* s9 X6 }
  70. - written 02.03.04 by pwk.linuxfan
    9 l* ~" E. \1 j6 O  s2 S3 b
  71. 5 T7 g/ s. V: }9 S- N7 H5 K% O. `
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
' C5 O9 K4 K7 G

  1. . }! g8 C9 G% i( }+ X2 K9 }
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    & d* b' p- m- H$ L$ g
  3. 8 u( c( }1 M, p% u
  4. # # #我们所需要# # # 0 j7 e# f3 E8 q$ T
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    - v% n+ v1 w9 n% f0 K8 A
  6. 不会解释如何做到这一点-也有文件存在,为
    * e& x# [! P1 b$ @5 N' i; E
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用. n% s" G3 \# u9 w5 W0 x/ q
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ' H( Y. f- \0 d; M) C( e  _/ y
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    # u% d* C' ?" J' I
  10. 本地机器,这是我的MySQL安装。 0 P6 R8 t+ K# J) T9 L
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从5 I- A; Q  U, ]' H; i
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL + o& S8 p& W. a7 v6 T5 h" T! L# Y
  13. 数据库。 4 h/ e% n9 h2 L# j, G+ ^  A- O# }) t
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    , D" W& s$ W2 G1 }
  15. 编写本报告的时候,仍然有太多的问题-检查现状* P1 a+ s. |- Z+ p1 L1 I  y
  16. 在teamspeak论坛,如果你有兴趣。
    $ S. d' t( |4 X) J* X
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    % _1 }: S- P0 R1 m, d8 v" @+ Q
  18. Borland公司使用。这个司机只能界面与客户端库
    % s' g, d3 V) S- `6 E/ q- i, L
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    $ u5 E! k* e8 T" F
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为$ t" b+ R( l5 B: m+ w4 S
  21. " vendorlib " ,并解数据库连接。
    - d! T# z& a; I" P, o& B
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    8 s, Q( D1 }/ g2 x. U; y, ?
  23. ( x7 `9 n$ t/ K# v7 |4 {
  24. # # #做好工作# # # " X0 x- [, ^& f$ i
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ' D3 M/ W4 V1 R& {- Y' a1 [
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在, p. a" ?# x4 a/ Z; b
  27. 结束:
    ) t$ O; E# R( g- T) u
  28. ---削减这里---
      g7 X$ C$ s4 a
  29. [ dbexpress ] ! ~! P6 G/ [( U  [. S2 j
  30. sqldir = mysql_sql
    # A  O: O6 L, B" a+ |) ~# o: A+ F
  31. drivername = MySQL中
    ; ?1 E% w/ _. i3 w
  32. 数据库= your_database_name_here 4 R5 o* K( h7 H
  33. 主机= the_pc_the_mysql - server_is_on + X; ]1 X8 t! D8 t7 c- ?  x
  34. user_name = user_name_on_the_mysql服务器3 T  h* u: I: l/ f! @, C! Y: D
  35. 密码= password_to_go_with_above_user_name 1 k" d& i0 b1 D; O
  36. getdriverfunc = getsqldrivermysql ' i2 W  J# a8 J! u
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    7 \7 D/ ~2 f; l* O9 w" u
  38. libraryname = path_to_libsqlmy_libary % l+ e, Q6 m- w! b  B+ v, D
  39. 积极= 1
    , Z' ^4 _2 \$ H- z* U
  40. ---削减这里---
    ( i' P% V0 R! s4 _/ b$ P
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 2 [4 v( m9 A& ~5 D9 W: Q# T
  42. ---例如---
    : t: ~9 U9 [2 Y, J3 l
  43. [ dbexpress ] 0 D3 Q( d1 x# n: w
  44. sqldir = mysql_sql
    ' V% B. V  x2 K' Y* ?
  45. drivername = MySQL中
    0 ]- Y; L( y5 D) S: T( j
  46. 数据库=测试8 v7 C( x3 v- X: E/ t  |" i$ h
  47. 主机=本地主机
    + [. _/ e  V: ~" ]5 ]
  48. user_name = testuser
    4 H3 C" W* z; _5 P
  49. 密码= my_password " f9 F! O' @# z+ }3 O9 K
  50. getdriverfunc = getsqldrivermysql
    # V6 h! S* `/ {8 |* H2 C
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    7 @# h, o% N" u5 F
  52. libraryname =. / libsqlmy.so ' P, o" w; |3 C7 N" X
  53. 积极= 1 ' Q; ~4 g$ @4 M; D6 W! L) d
  54. ---例如--- 8 ]/ b4 B5 l2 ?

  55. 0 s6 h! G1 s$ V: `9 u' z, w
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    5 e- a$ `2 k2 {- x  W  k! ~
  57. ---例如---
    3 z  R8 E" g# A! x" I
  58. [ dbexpress ]
    & [0 h6 }) q5 [3 C# D; `
  59. sqldir = mysql_sql
    . [4 q) R8 H% w$ u
  60. drivername = MySQL中
    9 \  b- H: }9 H& T
  61. 数据库=测试2 V+ F8 U3 K1 O9 ]( P8 z. w
  62. 主机= 127.0.0.1 9 ^6 [1 \0 [0 |6 T
  63. user_name = testuser
    $ G9 W: F! g/ P' V6 j7 K7 d
  64. 密码= my_password
    1 K2 H5 R. }. K, m$ Z
  65. getdriverfunc = getsqldrivermysql
    / i" l" z2 i2 u6 t2 K3 Q9 [; z1 l0 d
  66. vendorlib = libmysql.dll在
    $ Y, C2 B0 z' W/ x, E* D: i& k
  67. libraryname = dbexpmysql.dll 5 F/ G/ I6 N" d" g% Z. K0 @
  68. 积极= 1 , v5 k( J) ^  }8 g
  69. ---例如---- 4 S: {* B" p( [" f+ r8 H9 r4 @
  70. -写在0 2.03.04由p wk.linuxfan# t. @. w4 Q8 N2 w5 J) o0 `
复制代码
发表于 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
8 x6 k& [5 X( k# K# w6 x( T
  l7 Q& T9 u; l+ u9 @but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-28 22:33 , Processed in 0.054139 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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