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

3080 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 8 V) P5 U0 r7 m9 S3 k
" z- ~" f7 G2 G6 h* {

  1. 9 D4 z' n, `) T* C& E* d
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ' J* j2 o1 s7 a4 x
  3. 9 t7 k6 ^2 h) f  c! T  Z( p
  4. ### What we need ###
    2 b+ r( n: b/ `3 b& I' O
  5. Naturally, we will need a MySQL server to store the data for us, this document
    8 k& v  B0 D5 B3 K1 |5 o0 n
  6. will not explain how this can be done - there are documents out there for the
    ; x9 d2 s. u" J+ q7 C" ~
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ! Z5 @7 Z3 n- q8 L6 _9 Q
  8. and a user account (username + password) that has the permissions to do stuff
    9 n. N. h4 k8 l1 S) {: A/ k
  9. with the database. Additionally, you will need a vendor library installed on the9 }& L3 O2 E+ o% ?, x* _
  10. local machine, this came with my MySQL install.) R% Y  M3 [: Q3 F/ C) U
  11. These instructions will not tell you how you might transfer your data from the
    0 x1 b' H6 @5 u. r
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL( ]6 T) A- N6 ^$ K; `# U. z( z5 q
  13. database.
    ! v# j% f* V% s3 ^  ]
  14. Some users have reported ways to import a SQLite database into MySQL, but at, ?; A( M2 Z! f' v
  15. the time of writing, there are still too many issues - check the current status
    ' F& @( {; W: ]
  16. in the TeamSpeak forums if you are interested.* x" x0 c- h! P' F% H) n
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
      B4 O- a6 _% ]" N+ N4 F
  18. Borland was used. This driver can only interface with the client library that
    - H, \# j8 S  C  K+ F
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this* z! q$ t4 J0 {1 N! ?
  20. client library - basically all you have to do is to use a 3.x client library as
    , w* f/ D' c5 R: Z, l6 r6 K
  21. "VendorLib" and a 4.x database to connect to.
    0 h7 Q. M( n; d
  22. If you need more info about dbExpress, you can contact Borland.
    1 Z  H, U/ b0 B* C

  23. . C3 Q& s7 t6 p) j+ L
  24. ### Doing the work ###5 h/ M6 M/ R- f* j" `: K
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    1 o1 D5 D+ I" l9 t" c7 g( \
  26. the perquisites right, just open your server.ini file, and add this section at
    $ z% k3 T; t' U% X8 f: @
  27. the end:
    9 q9 e. B  l3 H0 m, R  ]* u
  28. ---cut here---
    3 |1 c& ?4 v/ Y4 Q9 N
  29. [DBEXPRESS]8 K1 V8 L* q& I) m( p# |. d
  30. sqldir=mysql_sql
    ) ], P& u( f. z
  31. Drivername=mysql- N4 X! ~6 Z, Q) S5 V+ t7 c. R8 r
  32. Database=Your_Database_Name_Here
    ( S2 K3 X5 ?' s  ^2 b1 E2 _5 A8 L$ [
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ( D- g4 c: T- G: g) z( N  L7 h2 x
  34. User_name=User_name_on_the_MySQL-Server2 t. A" d5 {' ]3 Y
  35. Password=Password_to_go_with_above_user_name
      J- O1 G' H3 I# t
  36. GetDriverFunc=getSQLDriverMYSQL
    + F2 n4 h5 T( \( R, Y% p7 D& M' z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib+ J) e1 L7 F+ f
  38. LibraryName=path_to_libsqlmy_libary5 i0 w3 G  P: g# G5 k' Q0 Z" B' e
  39. Active=1
    0 B& i$ G# n" }1 ]! }2 Y. ?
  40. ---cut here---4 K( I7 ?* b6 k+ x% W
  41. In my environment (a linux box with a MySQL server running locally) I have:' [) V9 l, Z' A# y1 {  n9 k% W
  42. ---example---" p+ c" x4 z& p& s
  43. [DBEXPRESS]
    ( a5 k: ^' K/ r6 D9 b" _* O
  44. sqldir=mysql_sql" H' q) j/ X8 o4 C/ J
  45. Drivername=mysql
    ( x) }4 R1 U4 _9 j  v
  46. Database=test3 w) N9 h$ n$ L6 J
  47. Hostname=localhost9 v; v4 f5 c# f1 Q
  48. User_name=testuser
    # }4 O1 V- X% E+ E5 \) j
  49. Password=my_password
    - p8 {8 `( D* v: u- m# [( m: h
  50. GetDriverFunc=getSQLDriverMYSQL
    % C6 s0 X6 C0 t+ W/ f0 U
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    9 R+ P! q" L( i& x' z; q* ]
  52. LibraryName=./libsqlmy.so6 E3 [5 u9 o  ~; U2 A4 S
  53. Active=10 {- z' J& M' `5 D! s, T
  54. ---example---6 u- @; g) J$ z* v

  55. * P6 H  [* s3 U  q  }
  56. On a windows box, also running the MySQL server locally, it would be:
    . w% D) ~. a0 x; m5 B" b( h; d
  57. ---example---( f- ^. M  r+ k; c$ y" o; p- S
  58. [DBEXPRESS]7 a, e) p. |) Q9 @
  59. sqldir=mysql_sql+ d1 T# C+ G" ]3 `' C8 Q
  60. Drivername=mysql+ |  J+ D, B# {( Z: u5 v
  61. Database=test; |9 C& w3 h# o: p  B0 Z: @+ e' c& O
  62. Hostname=127.0.0.1+ w" ^; e8 L' O6 ]8 w4 D: T6 o
  63. User_name=testuser) {- n4 @$ }3 b' P5 n" d( ]
  64. Password=my_password  F# l, m' ^3 n! r
  65. GetDriverFunc=getSQLDriverMYSQL
    0 C/ ]3 Z8 X" i2 f# r$ s, P
  66. VendorLib=libmysql.dll
    - b8 y! X% S. ~4 u  ~. {8 o7 }9 S; }
  67. LibraryName=dbexpmysql.dll4 b( A2 b: r# x! f$ N( `8 ^# i8 c
  68. Active=1* y7 `* h8 R- I: v# g
  69. ---example----' d- \( Q7 X0 v4 W+ X
  70. - written 02.03.04 by pwk.linuxfan
    4 n  A1 N3 P$ p4 j, R1 p9 M
  71. - n- }" g& u: ~6 ]
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看. S! U, ~4 C) _. ?5 @( o. b
  1. 4 ~! n* Z" _; K
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    + W, T8 H1 \7 \; ^

  3. ! q- }+ k- M0 ~: \' i
  4. # # #我们所需要# # # " H, |+ K9 d2 q8 f8 ?) \2 K* K
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件1 v. m  N& F. h1 m
  6. 不会解释如何做到这一点-也有文件存在,为1 G8 w* r, N, c4 S4 l- @/ i
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用  X" w/ y- B8 C' a
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ( @$ k# O9 _/ A: G; H
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    # g3 Y8 t. F* F5 s1 c
  10. 本地机器,这是我的MySQL安装。 0 I3 q1 b& R3 H8 z! l
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    2 j- v; e9 _* E& A9 N0 T. ^4 ^
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    , W' T! L4 _2 ?+ G% Y6 D! L7 `
  13. 数据库。 % [/ t9 Z9 i5 q3 G3 L9 R7 n! E
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在, X5 M# _2 [1 x, I' M! c$ ]
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    % t8 R' H( R1 T% {5 V6 ]
  16. 在teamspeak论坛,如果你有兴趣。
    7 F7 }' A" i. ]
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机- ~/ d9 J+ _$ [1 l5 B* X) z
  18. Borland公司使用。这个司机只能界面与客户端库
    & `, Z. s! p4 {5 D
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    / S$ O* Y) ]  S+ c. w
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为. ^& _( {& h5 P+ ?1 j; C% D
  21. " vendorlib " ,并解数据库连接。
    1 \+ ]" \( v0 {
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    7 F3 k" \% b  C# h. I
  23. , e. v$ ~& d4 P$ G+ ?" a% [
  24. # # #做好工作# # # 3 Y0 _! X; F, j; p5 O" U& z! q" t7 R9 c6 N
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都" d/ N5 y- w: P/ P# R; Z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在$ o3 U7 N6 |" b, N
  27. 结束: 4 V; B) L6 U( _# P& A% t! A
  28. ---削减这里--- 3 z7 R4 H% h% `6 B! N! ?  k
  29. [ dbexpress ]
    & l/ \$ D5 B/ ^6 c/ [
  30. sqldir = mysql_sql : D3 _% j. [7 k5 E" b" d6 g
  31. drivername = MySQL中: S- F! l4 d. ~5 O
  32. 数据库= your_database_name_here
    8 [3 t. V7 r+ S8 U* \$ P  W
  33. 主机= the_pc_the_mysql - server_is_on
    1 O0 t2 _3 m$ O
  34. user_name = user_name_on_the_mysql服务器* j! \0 m4 |8 ?
  35. 密码= password_to_go_with_above_user_name
    ; U! d" U+ R1 G) ~
  36. getdriverfunc = getsqldrivermysql 0 L: s# W2 Q* r' q
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 3 z; f9 L7 Q% ~0 I; Q0 \4 @9 e+ O
  38. libraryname = path_to_libsqlmy_libary " D: Q0 q& V2 x
  39. 积极= 1 ' s9 y  m0 W  b( U8 Y+ c. ~: V
  40. ---削减这里---
    - \- H; @. J. L+ _3 b1 m3 M
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ; t9 N9 `* S, q& Y& d
  42. ---例如--- ; ^) O# b2 }) Q' X/ ]8 l
  43. [ dbexpress ]
    # O! n6 Y" M: a% m; g
  44. sqldir = mysql_sql
    ) L0 ~! \( I" E3 c& p3 u9 E1 [8 \% F
  45. drivername = MySQL中0 E: M. B5 N' w
  46. 数据库=测试3 i( R  g* k+ j( [' d  R
  47. 主机=本地主机
    5 n1 A0 |. Y& b" O; T8 Y) A
  48. user_name = testuser ) L9 D6 @3 `" N6 F! m
  49. 密码= my_password & c% p6 g3 Y. b  T% {/ ~4 n4 H+ F
  50. getdriverfunc = getsqldrivermysql % V7 U; p$ P& L
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 0 n  k. J9 m% t/ x6 K0 H+ C; b
  52. libraryname =. / libsqlmy.so
    2 l- ?* M1 C2 ?  B+ Y# E
  53. 积极= 1
    ! L/ _2 {: s: W* V8 P- q, B
  54. ---例如---
    # \3 b( h6 F. B; }  O5 R/ S
  55. . K' T3 p* r) }: J9 T
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    : ?5 Z7 F. e4 [, D+ z/ O6 r7 O
  57. ---例如---
    0 A4 ~/ Z  c# {& a
  58. [ dbexpress ] 0 P# u9 U( C4 }  ?& I
  59. sqldir = mysql_sql
    3 @6 Y1 t8 @0 T) T5 h  g$ x. e
  60. drivername = MySQL中$ V2 N- z! c' {: g" q4 i$ _" C# j% C
  61. 数据库=测试
    8 P$ i4 q- S; u0 j2 M/ M- I6 B1 \
  62. 主机= 127.0.0.1 $ J+ M# W) [& Z4 m: x  d! [
  63. user_name = testuser
    # ]( T! D  Q# f' X( {
  64. 密码= my_password $ w7 u+ n' l" v( l
  65. getdriverfunc = getsqldrivermysql
    7 _$ p9 d# V  X* ^
  66. vendorlib = libmysql.dll在
    9 }: H% C" Y6 A- m
  67. libraryname = dbexpmysql.dll 5 }3 m8 }$ L0 b8 W
  68. 积极= 1
    8 {4 H6 g, R9 t1 t8 Y
  69. ---例如---- ) |! B. |$ H) e# ~- ~
  70. -写在0 2.03.04由p wk.linuxfan6 y$ F7 g( H1 Y( ?
复制代码
发表于 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
% {' m9 q7 g0 d8 ~/ N" ]
! C* x: T" K9 e  @9 w) |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 17:55 , Processed in 0.091982 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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