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

2838 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 4 i, ^( m7 B8 a0 J! u
% b$ J4 ]7 h7 G; g3 l- `$ P3 `, {
  1.   ~; Y+ E9 ]8 b* v5 @; b% |
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######- `+ K5 D  H$ P3 Z
  3.   K' v! [  P: y; B1 g
  4. ### What we need ###
    - z, v9 Y4 U( N2 T$ Z5 X
  5. Naturally, we will need a MySQL server to store the data for us, this document
    $ F7 F+ _  x6 Y  [" [( \
  6. will not explain how this can be done - there are documents out there for the
    + W" K/ x4 F0 @
  7. interested. The requirements include a (empty) database for TeamSpeak to use$ n$ H, P% u. \  A. q
  8. and a user account (username + password) that has the permissions to do stuff% l/ o0 p+ i6 m$ U4 e8 {
  9. with the database. Additionally, you will need a vendor library installed on the. V7 s: T5 j5 Z0 Q, `
  10. local machine, this came with my MySQL install.  e# x; Z3 y' T% _
  11. These instructions will not tell you how you might transfer your data from the
    4 t7 x$ A2 C/ h3 Y5 n
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    % @" O! h# m* n; G. g8 s
  13. database.
    % O) q4 b5 g- n/ L6 [
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    4 \( l6 ?4 G- c/ p* {( b1 p* A) p
  15. the time of writing, there are still too many issues - check the current status
    2 D5 e; Z/ \  s: G+ @3 p9 B
  16. in the TeamSpeak forums if you are interested." F) ~0 ^7 F  \! L
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from) z, Y; {# ]5 j3 s. K  N1 i
  18. Borland was used. This driver can only interface with the client library that
    & j5 Q* c6 B0 y2 @6 \$ ~6 C) t8 K
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    . y# ^1 i# v* n  f  E: Q/ F' Z
  20. client library - basically all you have to do is to use a 3.x client library as
    : d: m  q/ q- N6 Q6 P, y
  21. "VendorLib" and a 4.x database to connect to.8 `$ i& ]: ^# w7 V' {' A3 y
  22. If you need more info about dbExpress, you can contact Borland.# H" N! h3 W# V! n' i) v' N
  23. 3 L' @8 P- z' w4 K8 G
  24. ### Doing the work ###( f" m, F$ P2 T1 E+ a( x
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    7 s/ o  Z: d% Q+ R: y
  26. the perquisites right, just open your server.ini file, and add this section at
    5 `  [) F$ C; H' ]
  27. the end:
    / d- `; a6 u4 v3 P
  28. ---cut here---
    8 c1 C2 S( r( P' z
  29. [DBEXPRESS]
    5 Y2 l$ I! K+ {/ f
  30. sqldir=mysql_sql) L7 ]; V7 o" R/ R! A* E6 E
  31. Drivername=mysql
    , }# C3 x' @# |3 F
  32. Database=Your_Database_Name_Here
    , Z2 {3 U9 y: q3 H
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ' Y$ q$ p6 `. C  m, d
  34. User_name=User_name_on_the_MySQL-Server5 s% ]2 X" p% F1 i2 L
  35. Password=Password_to_go_with_above_user_name
    $ ]) Z# e6 R  a
  36. GetDriverFunc=getSQLDriverMYSQL
    : y; k0 ?! \/ Y" k- b
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ( ]7 G7 F7 t7 N5 E+ X  ?
  38. LibraryName=path_to_libsqlmy_libary
    7 {, A1 H! m( `7 O2 [) j7 m
  39. Active=1- c3 A1 u) g5 q& y8 u$ y3 i& @
  40. ---cut here---
    ' g+ h  [- I" ^' G4 k5 }
  41. In my environment (a linux box with a MySQL server running locally) I have:. o# S1 h* O0 h) j1 \2 M8 i
  42. ---example---
    0 C3 l* K* i0 d! _% q0 b9 f! v+ W( E
  43. [DBEXPRESS]
    + w. G) j  M1 f4 b; `9 f  n
  44. sqldir=mysql_sql
    - n; i1 K2 G# ~: v( n. Z
  45. Drivername=mysql, _+ o& z6 Y6 i; u/ a
  46. Database=test) C3 P1 u; B' O% _+ j
  47. Hostname=localhost
    . u6 s& I5 t  G0 B: s
  48. User_name=testuser) [/ c- ?2 C9 P7 C+ Q( L( s
  49. Password=my_password
    6 Y. e' c0 [- ]/ p8 r
  50. GetDriverFunc=getSQLDriverMYSQL! Z5 A- m. D) o% j
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    / d1 R, P( m# y, W
  52. LibraryName=./libsqlmy.so0 k) X1 g1 X: M
  53. Active=19 r8 O, E, q5 Z
  54. ---example---0 T, Q* T1 \3 |

  55. / b8 @4 ?( P6 M( O! G/ ^
  56. On a windows box, also running the MySQL server locally, it would be:
    " U5 x: {+ X! q+ ?3 w3 h+ t$ t
  57. ---example---
      ?$ e( P/ }$ w% T
  58. [DBEXPRESS]6 I/ j- w3 x; o! D
  59. sqldir=mysql_sql
    : n& Y. _% ^: j6 q
  60. Drivername=mysql
    " G. Y  F7 w2 [3 T
  61. Database=test
    / ^: L1 T4 N2 k& {0 y
  62. Hostname=127.0.0.19 H  r2 G" h4 h# n+ U2 P1 e, m8 A
  63. User_name=testuser: `3 Q  n0 ]4 [
  64. Password=my_password
    - ]( g' Z' G3 w$ E. J
  65. GetDriverFunc=getSQLDriverMYSQL
    2 {7 k' e0 C/ M: N' I9 n# J
  66. VendorLib=libmysql.dll
    ! X" s6 \  S/ M
  67. LibraryName=dbexpmysql.dll8 ^8 _( @4 Q$ M! h: R
  68. Active=1
    ( g; _4 Y5 A8 k4 M5 s
  69. ---example----/ k& ~0 m; V0 b# W2 h# _
  70. - written 02.03.04 by pwk.linuxfan. }7 R7 a# v2 q% _2 [9 o

  71. 8 A& j3 @1 I' U* o2 y1 C
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
7 ~; l; J7 Y, x5 G' B& X

  1. . X* M! x+ L  K8 i
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 5 U" q( o. u$ N' e: Z+ ~; z
  3. 6 R% g/ G" G8 d! \7 J7 m! X
  4. # # #我们所需要# # # 3 N; b' y+ M/ y% j) C8 L
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件7 L4 ^5 ^' ]0 S+ ~, q) [% A5 y
  6. 不会解释如何做到这一点-也有文件存在,为
    ) Z9 @# q! p8 n2 X3 y* A/ _: W
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用/ m5 t) V5 Z9 w
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    + u  Q* h' }- x
  9. 随着数据库。此外,你需要一个卖方图书馆安装于0 b/ m, L9 C. m
  10. 本地机器,这是我的MySQL安装。 ! v2 {" y( X  A
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从' K) _- E, o) }
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 7 P) D, @; A6 ~( t9 k
  13. 数据库。 ; P$ ~$ [8 G$ N
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在/ o! w1 @  F3 F" {) c1 ^3 v
  15. 编写本报告的时候,仍然有太多的问题-检查现状% J$ P- M4 H2 ~) k, l
  16. 在teamspeak论坛,如果你有兴趣。 & p8 s( U  ^2 J. F: I8 K8 I+ x
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机- o- ^* Z7 U9 ~5 h$ U) {7 U
  18. Borland公司使用。这个司机只能界面与客户端库  v+ _4 q2 ^2 B" Z( b% g4 a! ^
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这7 p* A- U9 U: {4 X
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    3 }% }8 w# ?" `* B2 o
  21. " vendorlib " ,并解数据库连接。
    ) ?) |) Y! U7 R$ k. \+ Z% c. ]" O
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ; Z: A9 d  N( B! L
  23. 8 g4 F: z! C8 Y0 S
  24. # # #做好工作# # #
    7 c5 o$ F$ v* [" q6 s2 g! A
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    % n) d% e6 M( K) P# t- K/ ~; G
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在9 L5 [9 [% g. w% }
  27. 结束:
    - c2 T9 N6 W# q. m- X) C' T
  28. ---削减这里---
    ( P3 _7 Y+ f9 n
  29. [ dbexpress ]
    8 _; Q+ m* {0 X% _2 F. k
  30. sqldir = mysql_sql
    6 W, V3 q2 p3 w; ]  F
  31. drivername = MySQL中1 o: E. _9 N- U- h  I5 f! k
  32. 数据库= your_database_name_here
    # A) Y3 V7 l6 u& P6 ]3 t
  33. 主机= the_pc_the_mysql - server_is_on
    ! Z7 t. s+ w' q; L$ ]
  34. user_name = user_name_on_the_mysql服务器  A8 L* G, V4 n( r7 p' R
  35. 密码= password_to_go_with_above_user_name
    # P0 c* |% V( L3 L  F  C6 X+ d# M
  36. getdriverfunc = getsqldrivermysql
    , a$ X; }, N# K: O4 J1 v
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ! Q3 z) u7 A) U$ [# N
  38. libraryname = path_to_libsqlmy_libary / H3 ]4 _! M( \/ h! K
  39. 积极= 1
    9 ?9 D* r" F8 E: G$ v" v( T9 E
  40. ---削减这里---
    4 W0 R- S5 _9 Q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    3 B3 _8 z" |  c
  42. ---例如--- ) H6 v- e! j$ L; g# |$ u
  43. [ dbexpress ] ( L7 E- h; G. ]6 P$ X) {) ?
  44. sqldir = mysql_sql & s4 a1 U9 o6 l+ q$ {+ F( T: |
  45. drivername = MySQL中
    * O( p: d7 D+ h2 J  C+ M0 u/ n
  46. 数据库=测试: M0 a# ^7 m: ?
  47. 主机=本地主机
    $ O+ ?; k" W; G/ i
  48. user_name = testuser . A6 x/ O" W: ^: C
  49. 密码= my_password
    ; i6 q9 e8 U1 o6 s1 w( r
  50. getdriverfunc = getsqldrivermysql * }5 q( h) y9 E8 _5 E  l. ]
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    0 P6 V/ T$ h- c/ D1 b6 i6 u9 y
  52. libraryname =. / libsqlmy.so
    & \2 V3 `/ \9 }0 c7 `3 l( E# z
  53. 积极= 1 & l4 e; d. ]$ B$ j, q
  54. ---例如--- ; i: P/ \6 I( s( E& [8 {
  55. ) r. K% A9 Y3 J5 z2 h
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
      a- j& v# i7 Z, G
  57. ---例如--- 9 b  \3 e" Q( |7 t
  58. [ dbexpress ]
    1 j. v$ d1 ~0 Q4 S
  59. sqldir = mysql_sql
    2 g1 F4 [6 S% ?& ~$ N5 S
  60. drivername = MySQL中) P+ T; L" z8 }: Q
  61. 数据库=测试
    0 g& g: J2 q: k% b0 z/ R* q
  62. 主机= 127.0.0.1 6 n: p8 O6 W) [  b* f
  63. user_name = testuser 5 v2 J- \3 i; G9 L5 r
  64. 密码= my_password
    ' J' {$ l1 u% [5 j; j) l/ T  q
  65. getdriverfunc = getsqldrivermysql
    , i  ?, B9 i& I5 L
  66. vendorlib = libmysql.dll在
    0 R) V, }( X9 Y9 }+ ]( m0 M
  67. libraryname = dbexpmysql.dll
    1 i' k) H, t) q$ D
  68. 积极= 1
    ) z) i' q2 a( D0 G0 `' ^
  69. ---例如---- & G9 P) z6 j1 v5 r7 u; z
  70. -写在0 2.03.04由p wk.linuxfan
    . x1 e, s( h( g- N, ?; j) C
复制代码
发表于 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 words5 [  f/ [: Y& |' O% o) n
% h5 s7 _$ |& H9 n0 G  g6 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-7-3 20:49 , Processed in 0.096964 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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