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

3161 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 8 C/ Y( Z# G# R/ x0 P3 z

' M, }+ ^* o0 Q: c

  1. & v0 ^1 ^& }5 I( w) n: P  l
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    , j, y5 w7 \# ?- O( W

  3. * J. d% h9 f4 i+ H" ~( R% ?
  4. ### What we need ###
    - x( P6 d7 N5 F- h# Q' Y
  5. Naturally, we will need a MySQL server to store the data for us, this document ; @7 P+ L/ }, F/ p  p4 \0 Y
  6. will not explain how this can be done - there are documents out there for the - n5 @4 ?2 c8 z9 Q- ^$ N4 v
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    1 o# t) I' z9 a( J- Q
  8. and a user account (username + password) that has the permissions to do stuff" V2 B; \1 c$ u3 c% K: e5 n3 @
  9. with the database. Additionally, you will need a vendor library installed on the3 p) \* a1 O5 E* {/ i
  10. local machine, this came with my MySQL install.
    $ j+ r  ~8 s: [  ?7 k
  11. These instructions will not tell you how you might transfer your data from the( t1 n# s# {* B' [$ c
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    5 }, I' ^: ~6 \3 x
  13. database.
    1 T9 m1 y3 n0 w1 f
  14. Some users have reported ways to import a SQLite database into MySQL, but at" u4 s' `8 H- I6 i3 w. m2 `: T& Z
  15. the time of writing, there are still too many issues - check the current status/ {; N7 a+ \) @( h5 f( M
  16. in the TeamSpeak forums if you are interested.
    - a- A. N$ u1 b* }/ i$ X  I" c9 U
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    & H: g6 b' m5 ^. S7 J9 H, x
  18. Borland was used. This driver can only interface with the client library that
    3 A" l; h9 T4 x$ N0 x0 j
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this& e1 h- ]& |) ~6 l7 B2 M6 G5 q+ ?
  20. client library - basically all you have to do is to use a 3.x client library as - z4 J; W( Y, Z: J
  21. "VendorLib" and a 4.x database to connect to.) O/ |* U7 j3 |0 o3 }
  22. If you need more info about dbExpress, you can contact Borland.1 X% [! k5 |' w9 J% n, W$ K& R3 G
  23. % O9 k$ X3 v8 V1 M0 N; v+ o$ E
  24. ### Doing the work ###
    5 O9 ^7 N8 {( A2 m* F* g3 Z
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    / e5 ^. ]7 N2 s. N$ p0 L7 I" I
  26. the perquisites right, just open your server.ini file, and add this section at
    $ |$ H" U7 I% }% y& q3 I
  27. the end:+ c, ]9 Q; V! @& r5 N( P+ s/ G: `2 S+ u
  28. ---cut here---- a, O. e2 _# n; `, L
  29. [DBEXPRESS]% ~" t) |' Y) P. m4 b; {+ C
  30. sqldir=mysql_sql) k0 C( v+ a! V  q* T& Y: m
  31. Drivername=mysql
    * D  Q1 b: k! N+ w/ w: d. |0 A
  32. Database=Your_Database_Name_Here
    ( f& U$ R7 X( y+ x
  33. Hostname=The_PC_the_MySQL-Server_is_on
    4 x1 X' o/ A" i5 s) w  E; O
  34. User_name=User_name_on_the_MySQL-Server
    3 }! d! S6 T% u( F& f9 F* }' s
  35. Password=Password_to_go_with_above_user_name
    0 C/ {) I+ m8 k4 }- m0 _
  36. GetDriverFunc=getSQLDriverMYSQL/ e" v* B) e  O2 M' d
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    3 i8 \+ s7 s. i' f7 b# U
  38. LibraryName=path_to_libsqlmy_libary& J' V9 D& t0 Z: X, S1 l# K0 I
  39. Active=1
    : Z( P' e/ z; Q7 E- X
  40. ---cut here---! l# T9 v% W2 V6 T
  41. In my environment (a linux box with a MySQL server running locally) I have:
    , o: _: u7 G: ^- |4 O8 u7 a
  42. ---example---
    3 M  ^' d# v! l
  43. [DBEXPRESS]$ h4 T- L2 L0 X3 r& A
  44. sqldir=mysql_sql
    4 d% ]; U& L9 n2 ~; D& j. n0 ]& h
  45. Drivername=mysql* T& k7 F, n. i2 u1 P2 q
  46. Database=test$ q6 J" R$ ^* A# @0 Q
  47. Hostname=localhost
    ) K1 r4 M# D7 m7 K6 |% s
  48. User_name=testuser; {/ d7 b( f4 {. {
  49. Password=my_password
    & ^6 d9 X% y7 r0 m. U9 s
  50. GetDriverFunc=getSQLDriverMYSQL& z, [0 ?3 F( F
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    % D+ y% [/ W2 o8 c, N+ z8 d
  52. LibraryName=./libsqlmy.so
    4 y0 g, g6 g2 }2 m+ m- V
  53. Active=1
    # W: P6 L/ j4 K! f6 l$ x# f! W
  54. ---example---
    ) H* p  e9 E" n# ]3 I( d% v- T1 T% i
  55. 3 c- E& Q7 |' q2 \4 I
  56. On a windows box, also running the MySQL server locally, it would be:
    % w2 g7 J1 c' s9 G8 _- v
  57. ---example---' L$ @4 n$ U) a& X: X6 |4 P' [& F
  58. [DBEXPRESS]
    $ q! J0 B% n9 Y: v* H- f, ~% V
  59. sqldir=mysql_sql
    : P7 h4 S9 _1 v. m% Z) l( Y
  60. Drivername=mysql6 S- u0 f0 \. O5 K( l
  61. Database=test' U  C- C8 J  M* Y9 V, D( i( Q
  62. Hostname=127.0.0.1
    3 O- L" X% H7 S( a+ d' S, Y0 L  j, [
  63. User_name=testuser0 Q! }/ N+ u( D4 G; K) W4 G
  64. Password=my_password
    $ e; b2 o: T% G9 P
  65. GetDriverFunc=getSQLDriverMYSQL
    / ?. @1 P3 ]; K
  66. VendorLib=libmysql.dll
    % x. ~$ c9 _6 Y7 W+ ^% M4 V
  67. LibraryName=dbexpmysql.dll
    & V3 ?' I' w$ W- ~  Q; D
  68. Active=1
    ( a# \: p' R% j/ y. v
  69. ---example----3 E1 E* ]0 o/ ?2 l
  70. - written 02.03.04 by pwk.linuxfan
    2 r6 I$ {$ Y& x8 H* u- M2 j

  71. , F/ i4 x, o; u7 a
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
4 E. |2 y  Y8 z% p3 ]: ^

  1. ; x5 e  U- {& K" b% v
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### : Z! ^5 P2 e+ S: c9 d

  3. $ ~% k5 ]6 V4 B
  4. # # #我们所需要# # # ' B$ U, i. n6 V/ o9 n
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件3 L) C  {) t8 l$ O9 S9 ]
  6. 不会解释如何做到这一点-也有文件存在,为$ s+ r/ V5 F! @
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
      n8 z( @) i2 l' L9 O+ f6 D5 i" P
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西0 f5 Y$ s5 v( o( D- _! V+ g
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    7 {) r9 Z( _1 v! T( `9 A  B$ X% d
  10. 本地机器,这是我的MySQL安装。 1 d+ {& a. |& }5 E/ h
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从, f* w+ A5 c' c  Q* z+ I7 T
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL * S6 `: G, z' A0 a6 u
  13. 数据库。 ) T7 A) x$ m& t# m- T; w
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在# [% b! V2 F# C. P
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    0 D$ M9 T/ P6 Q9 @; d
  16. 在teamspeak论坛,如果你有兴趣。
    5 Q* p2 v4 b6 L! d
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    : B6 G+ l% {9 D/ \' Z
  18. Borland公司使用。这个司机只能界面与客户端库
    6 c) \% T' r* f+ ~
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    & ]) }6 B0 j1 W  f" H; e
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为( y6 ^) }! l  y- T- a" g
  21. " vendorlib " ,并解数据库连接。
    : q) ~0 A  _, D3 W" o& c5 b; w
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    # g6 ]# |% h' g

  23. . {* L# K  o$ E! S
  24. # # #做好工作# # # 8 a# M. E  [' h0 F+ N% E
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    5 p, s0 N7 f  O( I& p# m
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在* v% T" n( Y5 B. t8 t
  27. 结束: 9 c1 S1 h& U1 r7 q! R' _
  28. ---削减这里---
      F0 \0 ?- i* P; Y8 Z1 R# ^
  29. [ dbexpress ]
    ! [( l5 T) c2 J* F+ N0 D
  30. sqldir = mysql_sql ) C( N+ A, g& m6 i/ j* a  P
  31. drivername = MySQL中" R+ D) v& I( q- d1 a. A
  32. 数据库= your_database_name_here
    " ^9 T- a8 \% T) u4 k
  33. 主机= the_pc_the_mysql - server_is_on
    2 O: O, U: ^% h! a3 N' `2 ]. B& Q. y4 T
  34. user_name = user_name_on_the_mysql服务器( i( y% v6 o) }. g: u7 V0 k/ h
  35. 密码= password_to_go_with_above_user_name
    - p: O0 S+ G. U( j) h+ ]- E
  36. getdriverfunc = getsqldrivermysql
    2 T! a  ~( }) C; I4 Y
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib " V) t. Z/ l& R  P3 K
  38. libraryname = path_to_libsqlmy_libary ' Q# E% m. I# b# h
  39. 积极= 1
    ) R  U8 ~- J1 p3 s$ p0 u
  40. ---削减这里--- ( |- \" G$ _* ?
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    : _# D# `. D; k- w- O
  42. ---例如---
    & v+ [& U6 k6 H6 R
  43. [ dbexpress ] 2 T0 H0 A; A/ x$ ^" ^
  44. sqldir = mysql_sql 0 ^* P+ H- S* I5 A0 P1 A
  45. drivername = MySQL中+ P* _* u$ u( F0 s
  46. 数据库=测试
    % |+ f" e& N/ N4 l4 ~( C( E$ b
  47. 主机=本地主机' a. h4 Y1 z, ~4 o* g' \( D% ^
  48. user_name = testuser % i( Z9 v3 q/ j: w; J7 K. Y( y
  49. 密码= my_password & I% S2 ]9 K! O2 W1 c' R& r
  50. getdriverfunc = getsqldrivermysql % H0 `1 }1 m2 K1 H; S
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ; Y# h1 C$ @3 d
  52. libraryname =. / libsqlmy.so % e- V/ Z: ?  V$ Y/ P; p0 h% R
  53. 积极= 1 & e& A1 F$ J: M) S
  54. ---例如--- ; m& Z, E! I- x
  55. ) R2 k2 p% ~& Z: e7 k3 V1 d* {# y; N
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 7 c. R0 T2 r: v2 Y# [
  57. ---例如---
    3 \0 V) a2 V4 G* E
  58. [ dbexpress ]
    " e  {, `# ?# Z, B" e, @& o
  59. sqldir = mysql_sql 5 C; a. E" G2 A& P! b* Z* S
  60. drivername = MySQL中
    + ~1 W0 Y- O$ A3 M* A7 h6 a
  61. 数据库=测试
    & R* ^2 M' n2 |! y4 L5 W$ V
  62. 主机= 127.0.0.1 8 b  R6 N+ N  m. c* ?# T+ V& t/ C
  63. user_name = testuser 7 Z* h9 q, ~+ y) x- u7 q4 \
  64. 密码= my_password
    8 A% @$ [5 w- f: q. n, Z: O' B
  65. getdriverfunc = getsqldrivermysql - O- R+ W* l* E3 ?# ]1 E
  66. vendorlib = libmysql.dll在
    ; ]2 v6 `# P6 f- ?7 e
  67. libraryname = dbexpmysql.dll 0 ~- S3 ]) N4 `- T9 D
  68. 积极= 1 4 f, }% W! w4 G# t0 C  ?
  69. ---例如---- 2 H& O+ p) N& \3 P
  70. -写在0 2.03.04由p wk.linuxfan
    , A: B: a, J8 h& o0 S7 r0 h
复制代码
发表于 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' t* `! P7 O9 b; b- k  e9 p

1 x9 K, \6 G" \3 ]) gbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-14 09:05 , Processed in 0.088641 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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