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

2422 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan * ^0 N1 [& l$ @6 d5 K2 e- M

+ o. l: s6 G" n) C& h# l1 w# G
  1. ( w4 Q' z* g% s- Y
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######9 C0 r2 x. g, c2 W9 r* q- s
  3. ! s  ?3 j& s" ^$ M; k$ x
  4. ### What we need ###
    $ _  y7 r- }% z, |; t' e( v
  5. Naturally, we will need a MySQL server to store the data for us, this document - w+ |. i. B0 p# A# e: ~, [' p
  6. will not explain how this can be done - there are documents out there for the
    8 M/ ^2 j: K2 o! \" m/ x9 q
  7. interested. The requirements include a (empty) database for TeamSpeak to use% [! X3 f% M3 x# C) ]9 A
  8. and a user account (username + password) that has the permissions to do stuff2 h4 c8 `! l5 y/ C
  9. with the database. Additionally, you will need a vendor library installed on the
    3 v0 S' c  A' |- f/ S1 @: c
  10. local machine, this came with my MySQL install.7 f5 `8 ?( C5 Z) G" q3 U
  11. These instructions will not tell you how you might transfer your data from the
    $ Y) Q/ O2 e% N/ {' [
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL! e' [2 N' s7 @% x
  13. database.' p9 S5 W' G5 u( L
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ; A) V" i4 `, I/ t, e/ O
  15. the time of writing, there are still too many issues - check the current status
    9 U# t; W: w+ C- O+ T% N( g+ F
  16. in the TeamSpeak forums if you are interested.6 n- T/ G0 _1 k+ B; h3 }2 l- O
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from, w" r$ v7 B; L. J, t" s4 i" t
  18. Borland was used. This driver can only interface with the client library that % P8 l' w: O$ O2 I' R9 \% i
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this4 z$ b2 F. o) g5 Y
  20. client library - basically all you have to do is to use a 3.x client library as
    8 i) S5 z; [4 z5 d
  21. "VendorLib" and a 4.x database to connect to.
    4 c# K. y3 F3 C4 r( Y
  22. If you need more info about dbExpress, you can contact Borland.
    # W0 O0 u3 g* Z4 c% L, ]; G
  23. 1 K# p7 _. U1 L! n
  24. ### Doing the work ###5 a$ {. U- W+ ~
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all" x/ f' }' d2 \$ k- I$ M" H
  26. the perquisites right, just open your server.ini file, and add this section at3 B- c0 x+ I" d8 b$ p/ G' n
  27. the end:
    , V$ F; f( N: o
  28. ---cut here---6 Y+ Z  j0 ]4 G* Q, z
  29. [DBEXPRESS]
    0 }& r% A+ a3 J1 A  T
  30. sqldir=mysql_sql
    ; S+ H5 f$ a) j5 c
  31. Drivername=mysql  }1 M4 G+ E8 y: t- e4 e' v/ p1 E
  32. Database=Your_Database_Name_Here
    & V4 c! A% n  u9 N& C# Z$ a
  33. Hostname=The_PC_the_MySQL-Server_is_on* i1 }0 \0 _& I/ y  o" ^% I; b
  34. User_name=User_name_on_the_MySQL-Server& L3 o, Q2 n: X5 A9 E
  35. Password=Password_to_go_with_above_user_name
    0 t5 _! u8 X3 T( U- W( N4 h
  36. GetDriverFunc=getSQLDriverMYSQL
    " I/ a0 N% ^1 v2 V: _  m& Q
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib9 R; M& ~1 b( P. n" [
  38. LibraryName=path_to_libsqlmy_libary  p2 t( _9 X# g4 o9 a% M
  39. Active=1  O4 x4 G9 J' ^" G
  40. ---cut here---
    , O* |  ^1 [7 {9 S. Y6 N' P$ F
  41. In my environment (a linux box with a MySQL server running locally) I have:
    7 v6 ]0 h/ z3 ^- O! V( `4 e& h
  42. ---example---
    ) Q  e* k% P" M. k' k9 l
  43. [DBEXPRESS]. _) P  T+ \! B+ ]0 r6 H  ~
  44. sqldir=mysql_sql
    ' [: h1 G) n: k' Z/ J1 ~
  45. Drivername=mysql
    & y. Y+ N  R9 y# X; Y
  46. Database=test
    + O" M; `9 v% U; E( {" q( G
  47. Hostname=localhost
    ( y, k. t" H8 l) O
  48. User_name=testuser
    1 `1 v1 I0 I5 T" h+ J
  49. Password=my_password, T( x9 B. ?7 j- P; S
  50. GetDriverFunc=getSQLDriverMYSQL% q/ K* E( ]; a
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    3 u3 l' i" D- W8 V/ R" M
  52. LibraryName=./libsqlmy.so
    - E3 O$ t+ _) f8 g
  53. Active=1" _+ g  ~- `: l2 y- M7 b
  54. ---example---  u7 H) O  P# o) W9 _

  55. 6 ~7 i6 S2 ]8 x' r/ U; R: D) J
  56. On a windows box, also running the MySQL server locally, it would be:/ j  B' w3 w% |3 a$ Q
  57. ---example---
    % |, `9 G8 y, O, O( ^" @
  58. [DBEXPRESS]$ w6 e. g) V; E5 c( T  i2 U
  59. sqldir=mysql_sql
    5 Q7 `( M$ `. Z) e
  60. Drivername=mysql
    / r0 m- P% S" Y! d+ k1 R
  61. Database=test
    / h. a6 R9 _* h% Y, r/ @
  62. Hostname=127.0.0.1
    % @* Y3 U6 X" N' h  J& @. O' i
  63. User_name=testuser0 w6 X8 k3 c" _: U* l) o( A
  64. Password=my_password1 x  Q1 Z8 i; U$ N# b1 q) ]% T
  65. GetDriverFunc=getSQLDriverMYSQL
    1 a, U) Q" R4 |: T' a
  66. VendorLib=libmysql.dll
    3 m: |, {$ F# ]: P! }' P
  67. LibraryName=dbexpmysql.dll
    & L2 q: q8 D1 x  t5 n& b8 _
  68. Active=1& P  s+ M8 T* r2 ^8 `0 @
  69. ---example----
    5 j: ~' _6 O7 h( o* l7 e
  70. - written 02.03.04 by pwk.linuxfan! k# U; ^0 C* }3 s! Z
  71. 2 M, m# b# Z, [& h7 [/ |/ H
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看+ u) p5 \& u  F, y0 S+ U# J# l  b
  1. 7 e4 L; l' Z& l1 a
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### " F0 J% ^0 Z1 x( e& b
  3. : C( p% {9 n( r/ M7 U
  4. # # #我们所需要# # # - k+ _- E+ t5 U* A+ G
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ' b: K0 v) {+ H. k7 h
  6. 不会解释如何做到这一点-也有文件存在,为
    & Z, \- I' O* \3 i( O& Q; v: l
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    4 D7 Z) c0 d! j" v, H9 [0 f' {- w
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西3 T6 E/ d# l8 l" u0 F
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    0 p" p' M- Z6 @8 H
  10. 本地机器,这是我的MySQL安装。 " q- E9 ?% Q: W
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    1 x$ j# D1 p6 C1 Y, ^
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    * |/ u% q" h4 V( o- T
  13. 数据库。
    4 t2 Z; Y, S) A  o* V4 I' n
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在+ m; F/ n! O% L9 x2 m5 \4 C
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    8 B+ m6 y2 U8 }/ k; E; M/ B4 }
  16. 在teamspeak论坛,如果你有兴趣。 8 B  a" s. @$ z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    9 x; O1 f1 ~" J: n% W% }( S
  18. Borland公司使用。这个司机只能界面与客户端库4 I* `1 C+ ?4 D6 P! h& ~$ l
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    3 r! j0 i8 T( H
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    - j) V2 d$ J3 E0 B- F2 |
  21. " vendorlib " ,并解数据库连接。
    . Y( Z, I4 i, h. ^
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 # M6 T. m- g- [; P% ~, ?% ?9 g. S, p
  23. . F7 f4 |; |/ @, J0 D& C3 ?
  24. # # #做好工作# # # ) s/ p+ P. V* A
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都% Z4 W' R( r  p0 m" @7 t* R& @1 T
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ! a" F4 j3 _  W+ ^2 ^# z
  27. 结束: 1 P) Y: x/ I' s
  28. ---削减这里---   {) C6 e; a# G4 D1 v, N
  29. [ dbexpress ] 1 `( M  e' X5 U7 _6 ?1 a3 @
  30. sqldir = mysql_sql
    5 r$ g: h, k% @: V: D
  31. drivername = MySQL中
    1 D2 O" c: j2 H8 ?5 i$ V& }
  32. 数据库= your_database_name_here
    9 w* {! v5 ~' E. r. J) r: p7 q' B
  33. 主机= the_pc_the_mysql - server_is_on 1 Q/ o# I6 [' W5 g
  34. user_name = user_name_on_the_mysql服务器
    ) {1 Q' M3 q. q5 Z+ Q
  35. 密码= password_to_go_with_above_user_name
    / w& N) Z2 G6 i. h0 ^
  36. getdriverfunc = getsqldrivermysql
    ( o# ~" c) b2 ]9 l5 Z" \2 W
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ! d, L- u. W! p! \% E- H) P) M
  38. libraryname = path_to_libsqlmy_libary ; v9 ^4 P% y* {
  39. 积极= 1
    / |) T: U: Y6 m! L. w& {
  40. ---削减这里---
    - k& j/ p2 C/ n  ?) ?0 v
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: $ e' C+ ^8 b$ l5 b% ?
  42. ---例如---
    ; n' [, G3 x( ~. Q4 R
  43. [ dbexpress ] 1 N9 W6 t8 d1 B$ M9 o" `+ C
  44. sqldir = mysql_sql 9 V! {5 T; ^- K! Z7 w
  45. drivername = MySQL中
    & p0 V; ^* ^( {* c7 y- ^
  46. 数据库=测试
    1 H5 [& [- B. ]! y. a  T- L0 X+ p+ `7 ~
  47. 主机=本地主机# b9 m  i0 [5 E. m# P' ^
  48. user_name = testuser , b; g% l1 ^1 P' x8 Y0 ]
  49. 密码= my_password
    ' @; I8 c, T, P/ _
  50. getdriverfunc = getsqldrivermysql
    ' \' ~  Q3 `; \( k
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    4 F3 S: U8 O" t
  52. libraryname =. / libsqlmy.so ) P$ U. z, S( t" z
  53. 积极= 1
    4 v3 q: v) g% z* K7 u$ f% y, U
  54. ---例如---
    ; T( ?: q: Q9 W. n" D
  55. " u8 @, |, C0 P6 c3 O2 G+ g8 z
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ; v1 F. g: F- s8 s6 e2 Z7 |" }
  57. ---例如--- % s  [& B0 ~3 a; E
  58. [ dbexpress ] 3 r& [- S. F* U5 R3 a' }
  59. sqldir = mysql_sql
    / [' _& R. C; E2 O% ~3 x
  60. drivername = MySQL中! n2 o( M% C  }% Q) u
  61. 数据库=测试
    6 W: F; k; k2 V. f# x% ~
  62. 主机= 127.0.0.1 - c& _, Y# f% |1 n
  63. user_name = testuser , E$ P4 L( ?* Y: u2 j; Z6 h
  64. 密码= my_password
    ' P5 l& Y, J' B/ l3 r$ Z
  65. getdriverfunc = getsqldrivermysql 6 w: U! i3 t+ g& W+ _
  66. vendorlib = libmysql.dll在1 h. {/ U4 T0 S% `
  67. libraryname = dbexpmysql.dll
    3 I& e; z& q  Z9 b) Q; e
  68. 积极= 1 ' t$ m9 E8 X/ \! k
  69. ---例如---- 7 c; Y$ [2 O) c5 q2 t( ?( c
  70. -写在0 2.03.04由p wk.linuxfan9 J, X. D) |( O4 B# |
复制代码
发表于 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) Q# f1 S$ S' M& ~

% m( f* d! W7 abut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-31 09:05 , Processed in 0.106590 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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