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

2813 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ; o: N. y) U7 r% Y0 G& m& c( m
3 m& z$ b* _+ a. e

  1. ; t. ^* l3 c3 j, _* E0 N+ D2 B
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######+ _$ h2 C" D6 u6 W- p* _

  3. ' R* ]  j$ @! Y7 N* ~! |
  4. ### What we need ###. K% x% a4 w: V
  5. Naturally, we will need a MySQL server to store the data for us, this document & \+ b1 \9 p7 C: R- \9 u" J' j
  6. will not explain how this can be done - there are documents out there for the $ {8 y! I; b- r* d
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    - L9 e0 c0 {# y. p) u* ~. |
  8. and a user account (username + password) that has the permissions to do stuff
      I8 J/ v9 k! p) E0 C* l! }) c
  9. with the database. Additionally, you will need a vendor library installed on the6 `. j$ l, j: G" B% s/ x; k5 p
  10. local machine, this came with my MySQL install.
    ' R; q6 z' _5 I* u6 k( c
  11. These instructions will not tell you how you might transfer your data from the' k/ l( [( B# N- @/ e' Q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ) K0 N, H/ i2 G3 o* ]5 E
  13. database.
    * P- Q) Y0 y  ]. e1 j/ d1 n# l
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    , |! Y/ Y+ k+ c, q2 S  J) N$ V1 T
  15. the time of writing, there are still too many issues - check the current status7 R; _  L1 e- [. U6 B/ D, ~8 D
  16. in the TeamSpeak forums if you are interested.2 ?+ a2 K. f4 p! Y+ U/ F
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from) ^1 C- a$ l# P/ ?, L
  18. Borland was used. This driver can only interface with the client library that " p+ y: f( t% }- Q5 V
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    8 I5 E: Z; o( O5 g+ O/ l( ]
  20. client library - basically all you have to do is to use a 3.x client library as 9 T/ a& p  \% V8 e3 I, _
  21. "VendorLib" and a 4.x database to connect to.
    6 H' q0 P; Z2 o0 R
  22. If you need more info about dbExpress, you can contact Borland.
    8 t% A9 T8 h# u: t( ~# K$ H) A& q
  23. 5 {) r7 z& D3 @3 T) `; C
  24. ### Doing the work #### y! j' g3 `5 g, U# m
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all( }1 K9 l0 T. N1 ^( r& J
  26. the perquisites right, just open your server.ini file, and add this section at7 k( e( F! [- H* H
  27. the end:1 m& v! v6 U5 d9 S0 J
  28. ---cut here---: f2 d2 L9 P6 V+ j
  29. [DBEXPRESS]' e, x5 j& }7 O
  30. sqldir=mysql_sql9 N! K9 R: r8 z2 t4 c
  31. Drivername=mysql; m+ E/ A9 o/ s# Y8 y" E$ Y! \
  32. Database=Your_Database_Name_Here7 g' `2 p( w1 M. E1 L9 a
  33. Hostname=The_PC_the_MySQL-Server_is_on
    & [6 A" K, o3 F; K1 c) @
  34. User_name=User_name_on_the_MySQL-Server
    ( S/ |* n( d/ i) Y5 u
  35. Password=Password_to_go_with_above_user_name
    3 M$ w4 J6 J7 x* o% y
  36. GetDriverFunc=getSQLDriverMYSQL
    8 g: W; z1 q6 [9 T- D
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    7 t5 U8 s% N: S& S7 a
  38. LibraryName=path_to_libsqlmy_libary' I: ~. j" E% u* e
  39. Active=10 H8 R: U3 v2 s1 F+ D1 l3 z
  40. ---cut here---1 u* O; i- _) Q4 |
  41. In my environment (a linux box with a MySQL server running locally) I have:; [0 H7 z- x4 @) ?, p
  42. ---example---
    ( y" T" Z# E' P
  43. [DBEXPRESS]
    , C4 T7 P% Z6 E  p* e- X3 o
  44. sqldir=mysql_sql, q. k$ |7 z. S4 C' H
  45. Drivername=mysql# j2 n9 [5 N& N* O3 ~) S2 ]
  46. Database=test- }5 l& \7 S* R( S* m4 [6 q- y1 d$ R
  47. Hostname=localhost, F/ T1 [0 t  O2 J" M! S
  48. User_name=testuser( e2 Z$ g& w; \5 J
  49. Password=my_password
    * f' Y/ D3 h8 d' y$ C
  50. GetDriverFunc=getSQLDriverMYSQL
    ) O5 R% j3 C& }0 K
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    , X1 h3 O6 b- h( U7 f
  52. LibraryName=./libsqlmy.so8 q$ g% v9 A4 j/ r4 w% H& G: w
  53. Active=1" l# z$ L# q/ Q
  54. ---example---" X- b  d$ C5 \1 B( ^; A

  55.   E' L$ v' x0 `
  56. On a windows box, also running the MySQL server locally, it would be:
      t: U7 [! ]* d/ \
  57. ---example---
      B( S4 `& X* d) V" Z; b
  58. [DBEXPRESS]3 |. f( Z8 F) O6 |# W4 L" ]9 l) A
  59. sqldir=mysql_sql
    ' l2 L' i8 L* a# I1 o; Y% w( c
  60. Drivername=mysql
    6 }0 x1 a, ?7 Z- q
  61. Database=test, _* D- ~; _4 V/ _8 K
  62. Hostname=127.0.0.1
    % w0 R' l3 M# D+ P* f4 o  W& D/ W
  63. User_name=testuser
    2 f" i- i$ L' d) s$ l
  64. Password=my_password) _/ r- H, D! H, ~! z9 o+ o& k
  65. GetDriverFunc=getSQLDriverMYSQL6 |  _7 j7 V- M, H
  66. VendorLib=libmysql.dll, Y5 M5 C/ c; F, |8 |' W
  67. LibraryName=dbexpmysql.dll
    * H9 Y3 z9 l. |" m# x& y/ w' c
  68. Active=1
    - \2 T# C8 z4 X/ n+ J" ?# z" e0 ~4 D  t
  69. ---example----
    8 t  I9 D9 u9 S9 ]7 \" Z- g
  70. - written 02.03.04 by pwk.linuxfan0 D! V/ f5 b+ Q/ o
  71. 6 R7 I" @+ K4 Q0 k, J9 g9 o. h8 T
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
  F" v& O' ?" d- S& L3 |

  1. 5 b! J6 q9 L9 F  N$ |: A
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 7 X: m+ O$ g& b+ w( w

  3. $ E% j! s/ p+ T& f- Y  [; k
  4. # # #我们所需要# # #
    ' g4 E% Z, s% M5 g
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    : z8 r: ~6 ?+ K6 N
  6. 不会解释如何做到这一点-也有文件存在,为: L) U5 w( y4 Q( c
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
      L. w: D$ P  n$ G8 ^: y. Z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西9 V9 w6 v! E3 Y5 A* m- N! V
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    . R' G% l3 \$ s; H( n! G, [8 H
  10. 本地机器,这是我的MySQL安装。
    ' V! K5 j* O" ~9 n, i8 r! p  p3 X
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    $ |& v7 @/ {+ V# k
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL " o/ c) }9 V- K/ U- f' g* o) T! R
  13. 数据库。
    " ?. K% n  A9 e$ h
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在: }* \  J+ q; j1 O: o( D. I7 b" N
  15. 编写本报告的时候,仍然有太多的问题-检查现状( G3 r- P( h/ Q$ m! I2 ^
  16. 在teamspeak论坛,如果你有兴趣。 ' ]9 d1 o0 t1 t$ Q8 b
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    " @' ?7 U# @  z& D! B
  18. Borland公司使用。这个司机只能界面与客户端库% X; b% O8 v- M' t2 U
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这; r: F3 I+ i4 E! O4 H
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为  q- F& E* l. u. S* K6 @
  21. " vendorlib " ,并解数据库连接。 8 Q% e/ U5 q# ]1 K4 l' `
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 3 G7 ]" r  I2 [+ M9 w1 c! U
  23. ) h' d! \" z1 W8 L% h) P
  24. # # #做好工作# # #
    : u5 @) J% [4 @$ A8 [
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都# m  W. l' w: v& V5 x2 E
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    2 ]9 C+ p7 f. y+ e
  27. 结束:
    & n' C; ]6 i5 N$ {2 L2 O
  28. ---削减这里--- 6 {" X" ]/ g& c
  29. [ dbexpress ] 5 |5 @; K, U# o4 D, }  I
  30. sqldir = mysql_sql ' A  Z% t9 E1 Y+ N) o% e: x
  31. drivername = MySQL中
    ) x1 ]# |. |! Z8 R- R7 V+ y
  32. 数据库= your_database_name_here 0 a2 r8 L4 `: I1 y
  33. 主机= the_pc_the_mysql - server_is_on 1 ?9 r1 J( d5 W3 _8 b
  34. user_name = user_name_on_the_mysql服务器  b  h9 q+ j; S5 |% n0 \% E8 |/ l
  35. 密码= password_to_go_with_above_user_name 1 u9 L3 Z5 @# \2 ]' T+ l2 O
  36. getdriverfunc = getsqldrivermysql
    6 r- ^3 M* [! X$ z0 u1 p
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ) s  M0 P" n7 I1 V1 N) @0 t
  38. libraryname = path_to_libsqlmy_libary
    % K" Z, ~* r0 R* Z+ L
  39. 积极= 1
    8 H6 T4 c! L4 }, _4 U( m( w+ `7 N
  40. ---削减这里---
    7 i  F1 i  y' x
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ) n8 l2 y( |9 x1 H- x
  42. ---例如--- 8 o& j! {$ p3 j% c
  43. [ dbexpress ]
    : w% K" t/ t& }
  44. sqldir = mysql_sql # M/ U7 k+ d, m& p& Y. `" ^
  45. drivername = MySQL中* O, A: y2 ^" t- I$ F8 s
  46. 数据库=测试) E2 l" g3 P; I0 n4 p" s
  47. 主机=本地主机! I( Z6 y+ U8 d0 ]+ |
  48. user_name = testuser
    ' A, n; O6 `. x+ \
  49. 密码= my_password   y5 ]$ k1 n! c. e: ^, a$ Q
  50. getdriverfunc = getsqldrivermysql
    # x; H. M8 R8 I; G& r
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 - l: w9 `: l; ]" b
  52. libraryname =. / libsqlmy.so 5 H$ a& i0 Q: G% ]
  53. 积极= 1 - G6 }& `0 x# e
  54. ---例如---
    ; K" z# _5 z) g+ V# K+ w% c
  55. - x+ y0 y! n5 P3 k8 K
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 0 M# m" G9 K7 H/ h: j- |( S3 N5 W
  57. ---例如---
    ; q* X$ I, O4 g$ s/ D  _* E1 k8 `
  58. [ dbexpress ] 3 o% S" z: }" X1 p) y& B
  59. sqldir = mysql_sql 9 s3 F2 z7 K5 {; P& b0 [: o
  60. drivername = MySQL中
    4 {7 b3 Y% F. i
  61. 数据库=测试
    * O$ Y% j9 S" ]: J: |) l, u9 E
  62. 主机= 127.0.0.1 : @0 o0 W$ T3 s) I1 p; @
  63. user_name = testuser 0 V) h4 [3 L" w. n
  64. 密码= my_password
    8 e8 H4 \5 L7 A- P& N0 e! z$ p
  65. getdriverfunc = getsqldrivermysql 1 V6 n! D: F5 h/ i" f8 r# t) \: c  x' g, n
  66. vendorlib = libmysql.dll在
    9 R. G! S' @# r* d% g8 w
  67. libraryname = dbexpmysql.dll
    ' D: x4 {' o' l0 G+ U6 F
  68. 积极= 1 . U7 y  v$ b: w" i* o/ K
  69. ---例如---- % f: U/ p5 [. ]/ i9 z
  70. -写在0 2.03.04由p wk.linuxfan# F: d: z; @; S8 C+ _$ x
复制代码
发表于 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, |) v( |$ a% M
; u+ {: w3 R3 h# n
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-27 20:13 , Processed in 0.102552 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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