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

2544 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
( }4 {8 H* z1 r
. i4 D6 h5 |6 ~' B3 g4 }
  1. 1 O; C& U' D: n7 |
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    8 ^9 L. o; A2 m, L8 n
  3. ! Q3 W7 |5 H0 T0 z, ?
  4. ### What we need ###- g1 b0 E6 _) g  R3 R! B$ `
  5. Naturally, we will need a MySQL server to store the data for us, this document 9 |0 C/ I% ^/ E5 {: s3 z* h# {8 ^
  6. will not explain how this can be done - there are documents out there for the
    6 S: K& V2 j$ A% `) A
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    : }+ U$ j7 a( G5 q5 N+ z, s
  8. and a user account (username + password) that has the permissions to do stuff
    6 f1 ^9 X9 i9 x2 y
  9. with the database. Additionally, you will need a vendor library installed on the0 Z! S" n, O$ x; g# X9 e% K* E* m! r
  10. local machine, this came with my MySQL install.
    - K1 R# F2 V. x* g
  11. These instructions will not tell you how you might transfer your data from the1 i) m; K; S& O! }
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL) W* L  q5 m9 X% A
  13. database.8 h" I0 ?: J' N  j
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    . a" c5 U: n  b7 S) Z: `' c
  15. the time of writing, there are still too many issues - check the current status
    - s. U" G9 W5 p1 [& |& Q6 M3 p
  16. in the TeamSpeak forums if you are interested.
    * V: x6 k% }- A$ b) q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    4 G) a' ]$ G& ^1 S$ U
  18. Borland was used. This driver can only interface with the client library that
    , p9 z/ m8 |3 k# c; V4 @/ L
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this8 w$ I1 q, ?. P- Y, _* f3 r
  20. client library - basically all you have to do is to use a 3.x client library as
    9 ?1 h- ~3 }/ ]( a. D2 \" x  Q
  21. "VendorLib" and a 4.x database to connect to.1 c/ ]0 q9 F5 X, \
  22. If you need more info about dbExpress, you can contact Borland.
    & X+ D5 ?/ }. E2 j  \1 {8 g3 _1 q
  23. 3 l6 d9 ?6 K) r: N5 k+ Z/ o6 Q
  24. ### Doing the work ###- S8 N' {- {/ y4 Q( e
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all' T5 }2 Y$ g! P3 `0 M2 n" i
  26. the perquisites right, just open your server.ini file, and add this section at
    8 L6 s$ ^5 `* F/ ]2 B: ^" d6 H) Y
  27. the end:8 R6 o! F& s7 L- _, K+ h
  28. ---cut here---6 l" K! y" `5 I$ ]6 f3 a
  29. [DBEXPRESS]9 V  O5 ^$ R# D! s8 u
  30. sqldir=mysql_sql
    , I+ [5 n7 F' W9 Z
  31. Drivername=mysql$ F- Y: D$ w2 \6 f
  32. Database=Your_Database_Name_Here' `) X9 X7 Y, ?8 }; I) T
  33. Hostname=The_PC_the_MySQL-Server_is_on- H5 ?6 H( v: D5 l) H
  34. User_name=User_name_on_the_MySQL-Server
    ( f0 U" [  G4 {3 J- R8 ?" i/ x4 p
  35. Password=Password_to_go_with_above_user_name  @- j" w& M2 X! J' r2 H
  36. GetDriverFunc=getSQLDriverMYSQL
    % L' e0 z& F$ I. a
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    7 R! e5 o: \  s9 C
  38. LibraryName=path_to_libsqlmy_libary) j4 s% s- p) R- P1 q2 w3 R7 W0 C
  39. Active=1
    ' H! b' ~, v: ~* i
  40. ---cut here---
    # G2 ?# K% r0 }% D* W& y0 r
  41. In my environment (a linux box with a MySQL server running locally) I have:5 v9 \0 u2 `$ a/ r1 W& q
  42. ---example---
    ! F6 D- }' |' v
  43. [DBEXPRESS]
    ; L' g" W3 F) W) Q
  44. sqldir=mysql_sql
    # Q4 L$ S( h) `' y/ `; N3 i" c
  45. Drivername=mysql% c7 I* f7 L; V2 `* S! ^: k( R" [$ X/ b
  46. Database=test
    : q9 ~5 Y& m) M! s$ X3 }; j
  47. Hostname=localhost
    $ ]8 m; i+ n, \6 N) z
  48. User_name=testuser6 \8 r; \; }7 w  ^" ~8 A
  49. Password=my_password* C% K- ]9 d3 ^" T7 J4 b
  50. GetDriverFunc=getSQLDriverMYSQL
    9 h0 P8 f7 E: G, B- J
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.03 j% ~5 b- I6 t! @6 q. W3 o
  52. LibraryName=./libsqlmy.so/ E& k3 ?3 _$ [: b' e0 h( q
  53. Active=1
      @1 ~8 j4 R3 f) [1 G4 R
  54. ---example---* Z& b1 B( t( S# o$ s- x) ?4 y

  55. 4 V8 T4 ?! K6 N9 i1 \: r: l; c
  56. On a windows box, also running the MySQL server locally, it would be:
    1 D8 ]! j! G) b" ^+ G. R! c6 s8 M
  57. ---example---
    " B# T1 t3 w+ R2 ^2 v0 ^
  58. [DBEXPRESS]
    # _( Z; t3 h; d% y. \
  59. sqldir=mysql_sql5 B7 u8 P! g- E) ~3 K0 w
  60. Drivername=mysql) m- c% l  [- o/ [6 T- J
  61. Database=test
    & x/ O* R1 [0 E% g0 O, c4 x' f5 g0 i
  62. Hostname=127.0.0.1* s  o) S/ u/ k, @5 V
  63. User_name=testuser
    6 K* z1 j; \& Y2 C5 e% F; k! T
  64. Password=my_password
    8 ^& Y# N+ o; r& q, K
  65. GetDriverFunc=getSQLDriverMYSQL
    & v$ {- X; L  x* j8 `( M% {% s5 F
  66. VendorLib=libmysql.dll3 C+ Q3 \/ H) h4 l+ w& B8 ]3 G5 d
  67. LibraryName=dbexpmysql.dll
    0 `. [' s  d9 J- W
  68. Active=1. _3 S4 Q0 J% i9 x
  69. ---example----+ y4 ^' i9 R( L3 |# B1 O
  70. - written 02.03.04 by pwk.linuxfan% @5 z* S6 _: S& u- X+ N- |
  71. - j% b7 l4 k. S7 ~- O
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看5 Y' b0 L' |1 ?! a1 l8 u- }
  1. ! d0 Z7 r. r9 p8 U3 j: j% z
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    3 P( Q- Y* k0 \0 U+ T; U

  3. ; E* O$ h6 t, t' R8 M8 C
  4. # # #我们所需要# # # / b' V6 t# X) Z8 ?7 y6 E; v" _
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ' k& t8 u0 a# t3 n$ o
  6. 不会解释如何做到这一点-也有文件存在,为; Z' n* Z8 b' h# R
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用9 w' U8 c' f! a+ t4 f  _: J
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西. O/ I8 Y1 `( e4 i: Z7 R
  9. 随着数据库。此外,你需要一个卖方图书馆安装于" ~% I3 |# C* x. ^* [& p+ u
  10. 本地机器,这是我的MySQL安装。
    - P# H& p* v4 F# J
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从% X- o9 p) f8 d# ?" @
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ) |( Z3 O2 V+ }% H) e! y. q0 f
  13. 数据库。 ! x2 j1 p" Z7 ?8 q% `
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    9 O3 C7 N1 P& E; F% }
  15. 编写本报告的时候,仍然有太多的问题-检查现状
      L# T* J' N: b/ f! y  r# Y
  16. 在teamspeak论坛,如果你有兴趣。 4 n# f" y  F# a( ~+ d
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机+ W; b! `) X" h1 O( B' F
  18. Borland公司使用。这个司机只能界面与客户端库
    3 c! }+ m- J! D- y# k0 O- Z: p
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ' U! B; z& R, ~% U- ^
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    9 D1 X+ x1 Z$ @
  21. " vendorlib " ,并解数据库连接。
    9 S* c7 {' g9 u$ ]. M
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 1 a: v4 b' i2 _/ a3 T
  23. , U: X, F$ y7 R% Q0 a
  24. # # #做好工作# # # . q  x  v# F1 r( \3 G
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都" N7 d0 P8 H) o  E2 @+ z1 F* f
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在) e1 ^& m: F8 A+ w& o4 h( D
  27. 结束: 0 r/ c$ M5 h/ j* v: E8 U
  28. ---削减这里---
    6 U6 g! z9 ~# B& V
  29. [ dbexpress ]
    * T0 H0 ~- R* v( P+ X' F
  30. sqldir = mysql_sql ! t" e  k/ Y8 r( ]4 |
  31. drivername = MySQL中
    2 k& [" @/ ^9 ~& l/ Y
  32. 数据库= your_database_name_here
    8 f% A$ M6 p3 {1 L  ]
  33. 主机= the_pc_the_mysql - server_is_on
    4 b3 V8 P, D; a
  34. user_name = user_name_on_the_mysql服务器
    8 H3 ^4 m. Y: i" V1 M' r3 G) G
  35. 密码= password_to_go_with_above_user_name
    - I/ R7 @% F1 E9 g/ P
  36. getdriverfunc = getsqldrivermysql
    ( ^9 Y& v; Q; S. Z2 ^
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib : L" u4 b! K+ `- p
  38. libraryname = path_to_libsqlmy_libary
    0 h- W* s) a. {7 i1 v
  39. 积极= 1
    7 B( ^4 d4 B; ?6 d' x1 T1 g
  40. ---削减这里--- . @  X$ D; c9 r- `5 l: |2 ^
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 0 N6 I4 w, E5 n" X0 |5 k# L* c4 ?
  42. ---例如---
    % f/ j7 p+ V# C0 d4 M& n
  43. [ dbexpress ] $ Y/ P# {' e: {! i' h
  44. sqldir = mysql_sql
    6 U( s# D* E1 K/ v& l) e* S* L
  45. drivername = MySQL中
    2 [! }4 \3 |# z. ~- c
  46. 数据库=测试) h4 W! N+ [: i6 N0 r, e8 F! w/ w6 l
  47. 主机=本地主机. _/ `) Y; l8 |
  48. user_name = testuser
    0 {( H1 i5 `9 V
  49. 密码= my_password
    & r2 a) x$ W8 x. ?& f: i
  50. getdriverfunc = getsqldrivermysql
    & L  x5 h! p, E& V& C
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    % b: G* E# c- o9 _
  52. libraryname =. / libsqlmy.so
    & |& i! O$ v; `% d' t1 e# {+ x
  53. 积极= 1
    & Q" i9 K# T4 Y
  54. ---例如---
    ; u# n5 M& k& w) ^) L5 I1 O% f

  55.   G1 d$ @/ N# r6 d6 U6 X4 n% ?% `5 W2 h
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    , w7 u: n1 U( h, b6 s" k" n& U1 L2 t
  57. ---例如---
    ( M9 B1 p$ ]3 w7 Q3 W/ C
  58. [ dbexpress ]
    # {$ H/ O8 V5 Y% ^
  59. sqldir = mysql_sql
    + a. n1 w% a( ]- p
  60. drivername = MySQL中
      t( ?% \3 b3 t4 |/ u$ A, N
  61. 数据库=测试
    : `' L$ |# q. y$ E5 O$ i3 _
  62. 主机= 127.0.0.1
    6 p& ~- p9 O7 g- Y7 Z/ O
  63. user_name = testuser
    8 c8 J. q. N+ @1 L
  64. 密码= my_password
    7 j$ U) Z: |/ K+ u) s! M2 h
  65. getdriverfunc = getsqldrivermysql
    3 q& U% v" b- F" Z
  66. vendorlib = libmysql.dll在
    9 s1 m( g# R" ^5 f( T
  67. libraryname = dbexpmysql.dll   d5 ?+ p4 x  U0 i" U% Z, C
  68. 积极= 1 ! b1 k! Y7 [0 ~) y* |
  69. ---例如----
    ! G: r% E) c1 S5 j# x
  70. -写在0 2.03.04由p wk.linuxfan
    5 E7 r  U! t* c8 c0 M; A
复制代码
发表于 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) g8 c& d' r* o& N2 |7 i; Y8 Z
6 H0 v4 u0 M- t8 t0 g  z* b$ K7 t
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-22 19:18 , Processed in 0.094085 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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