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

3399 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 7 S  C1 d* B; V1 j/ U3 c$ [
6 K$ p; `( Y( i( [( m: X9 ?2 {
  1. + \+ }8 _. T. d9 @3 K
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######4 h- u; k3 Z! a0 j! }% d) @7 o  U9 T
  3. , Z2 U; h, Z" P9 z  T) L4 @
  4. ### What we need ###
    ! {1 }- b5 \, O% S! a+ W
  5. Naturally, we will need a MySQL server to store the data for us, this document - `4 a6 I2 r+ ~0 h' E) f- U
  6. will not explain how this can be done - there are documents out there for the
    " n- o" F% I# u) Z5 r6 g
  7. interested. The requirements include a (empty) database for TeamSpeak to use- z6 m+ c/ \3 G$ L% z
  8. and a user account (username + password) that has the permissions to do stuff
    # a" ~2 [& I8 N+ @
  9. with the database. Additionally, you will need a vendor library installed on the
    ( v7 Q! q$ B, a9 l+ C2 m" ?+ i. G
  10. local machine, this came with my MySQL install.
    1 @$ O  u/ w9 ~6 L
  11. These instructions will not tell you how you might transfer your data from the3 [( G% \) H9 Z" z7 O' {
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    1 g0 H" D9 u  B# B3 @& |
  13. database./ B; @2 f% ^9 K4 r" ]0 h
  14. Some users have reported ways to import a SQLite database into MySQL, but at) J8 t1 x/ t6 o+ p) @& R3 ?
  15. the time of writing, there are still too many issues - check the current status
    5 O1 C* X9 j8 Y2 N6 Z$ [
  16. in the TeamSpeak forums if you are interested.
    - E1 L( g1 ~4 V  M7 D! b. `
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from# s6 F+ M6 M! D4 @- S& x
  18. Borland was used. This driver can only interface with the client library that
    0 W6 v5 X5 T- m4 G
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ! l/ s3 h) M% ~, b9 Q
  20. client library - basically all you have to do is to use a 3.x client library as 0 X  x/ g9 ]. X$ h0 z0 x" X2 l4 t. V
  21. "VendorLib" and a 4.x database to connect to.) w) B9 `- i$ G
  22. If you need more info about dbExpress, you can contact Borland.$ U* h4 }9 X& ?8 Z9 l5 p
  23. % ^! A6 O7 X: p# G( |' U
  24. ### Doing the work ###2 j  G5 n' D  f# f* Z
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ( h% l# b" |% N) T3 J1 V
  26. the perquisites right, just open your server.ini file, and add this section at3 g! i$ J( ~  j! X+ y+ f  k3 X
  27. the end:1 z8 C# u, X3 Z
  28. ---cut here---
    - X9 Y3 G( A9 z( ~
  29. [DBEXPRESS]
    5 d7 b/ }. Z2 T% S7 @1 q  E' k& j
  30. sqldir=mysql_sql: q# O* F7 Q: {0 S3 _
  31. Drivername=mysql' u% C1 {* D8 d' u8 ]
  32. Database=Your_Database_Name_Here4 t# I6 W7 @  F' w7 o- ~
  33. Hostname=The_PC_the_MySQL-Server_is_on: S' T& W8 n2 Y! a, }. V% `
  34. User_name=User_name_on_the_MySQL-Server
    $ p9 E* w& p) N7 d) \# l! P
  35. Password=Password_to_go_with_above_user_name
    . l. }( `: v/ v- a, N7 W, y
  36. GetDriverFunc=getSQLDriverMYSQL& Z! c2 V9 M) f( E! [
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib1 b% `4 e' L1 o: q  s/ o
  38. LibraryName=path_to_libsqlmy_libary  W! H  J, f% e2 ^( Z! h
  39. Active=1, F+ a4 H  a3 R( U
  40. ---cut here---. Z6 Y% G8 ?: a4 ^1 G6 Z" M8 E
  41. In my environment (a linux box with a MySQL server running locally) I have:& R. ~) m  j# \8 F$ Y
  42. ---example---
    2 i6 s6 U6 A! u" @4 ?
  43. [DBEXPRESS]
    : D  l7 r& O4 n" o+ ]% n7 B
  44. sqldir=mysql_sql, Z& {. ~* D1 Y0 R! I
  45. Drivername=mysql5 [& m0 [7 g) B1 L. i( L7 L
  46. Database=test' D5 R+ n& i! e" V+ G0 C; B2 p. I1 d
  47. Hostname=localhost
    1 v8 S$ n: C+ q0 ?8 v9 E
  48. User_name=testuser
    , s$ ~5 N9 S: V. G2 ~: S$ h
  49. Password=my_password
    % l" f+ a. q, }% i2 K" A' _& I& R
  50. GetDriverFunc=getSQLDriverMYSQL
    ) q% d! F) m0 t7 }) b; d' w* k; B
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    / b/ G6 w0 O: v+ v" \
  52. LibraryName=./libsqlmy.so
    + T$ r; u3 F1 l$ U" p8 u& ~
  53. Active=1. S. o/ H; |7 l. Q
  54. ---example---
    # Q5 }" t5 {& U. }1 _! ~. n

  55. 6 g2 a; P" r$ X/ a% {, U2 J' V
  56. On a windows box, also running the MySQL server locally, it would be:+ E) W& F. Q. B6 Q2 R
  57. ---example---3 Z! E4 Z, T# F( X+ d
  58. [DBEXPRESS]4 I$ `  R' W% H- Z7 E: v
  59. sqldir=mysql_sql" ]6 c( D) p% W: t- V9 o0 ^
  60. Drivername=mysql
    - c+ p/ t2 x, }- D( `. f" a
  61. Database=test
    / Q6 M' I2 V0 b( f# T9 i
  62. Hostname=127.0.0.1, s. |2 k4 e3 n# b
  63. User_name=testuser
    - x2 _# k6 Q! T( E) Q. J
  64. Password=my_password
    $ y6 u( r: Q( P% Z2 ^+ W
  65. GetDriverFunc=getSQLDriverMYSQL
    ; k. {2 m1 V2 N, @) g$ a; l
  66. VendorLib=libmysql.dll
    ( y! `, I) X7 ]& B
  67. LibraryName=dbexpmysql.dll, V2 N$ }; u# J( G" O2 ?( G7 j1 b( w. t
  68. Active=1; `# }. c' o% A. S
  69. ---example----% y- N# w' K0 e( b' }
  70. - written 02.03.04 by pwk.linuxfan" R! Q' [( Q2 v& W: v1 a6 \/ G
  71. : r4 N! I  |8 r" W( j7 Z- z
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看; b0 l; r, m1 F) K- E6 {0 y3 l
  1. , Q; I3 ~3 ^* V, S4 D+ ~/ i
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 3 w9 N' _5 K* `4 q3 P4 y! E0 \

  3. 1 t3 q: G3 \# i
  4. # # #我们所需要# # # $ k6 S+ l$ N; X; m5 J+ R# W5 K
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件( Q  V' x4 A, R% D8 Y
  6. 不会解释如何做到这一点-也有文件存在,为6 X+ a6 e: g9 L0 v: [' {
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
      Q% \# M& c8 z4 \: V% I2 x
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西( k  H! D$ T: }$ U: ~; X1 w
  9. 随着数据库。此外,你需要一个卖方图书馆安装于( O7 D" N# m. X) l/ }; s- Z
  10. 本地机器,这是我的MySQL安装。
    3 r8 c7 g' R* G
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    " f1 T3 `1 Q8 q3 u
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 5 g& C- _% v. f+ h  w
  13. 数据库。 1 X- @8 r/ `' E' b7 Z' g8 s  |0 ~
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在7 G# ^* ?$ U# M
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    , L; Z; Y$ ]1 M3 P/ k
  16. 在teamspeak论坛,如果你有兴趣。 , m3 N" A' [5 \
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机9 L0 @/ O$ o9 s" V+ I* l
  18. Borland公司使用。这个司机只能界面与客户端库
    ' y8 Z6 c- @6 W7 N% b: Y: d/ i; s
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这9 s' Y' l& b$ c! L9 T& k
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
      r. W- I1 }- y2 c# S
  21. " vendorlib " ,并解数据库连接。 0 \( @/ a! ^) |9 r1 \6 m" D9 b
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ! r4 `* ?# N' [9 @

  23. * z7 }1 y4 J' H, K( r) d# s' i/ O
  24. # # #做好工作# # # : L. {) `# ]0 T7 _! W3 _1 T
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    8 j$ H9 t' F( j+ P) [& E* b# U' H
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在6 g2 T3 p% {+ c
  27. 结束:
    $ e( D7 y( F/ K1 U, u2 f6 \$ S
  28. ---削减这里---
    4 |/ {/ W: o: g9 O+ Y+ f2 ]5 O
  29. [ dbexpress ]
    % F! D" j' J4 f/ q1 J8 X# g
  30. sqldir = mysql_sql
    3 {: ]4 p; Y" t0 c% U; f8 v
  31. drivername = MySQL中
    4 p: S* h1 d  D8 I. J
  32. 数据库= your_database_name_here
    ; [0 u, `+ W# s. O& j9 p, }; B5 x# s
  33. 主机= the_pc_the_mysql - server_is_on " e* u. M6 o. j* N# `5 F/ |; w  n
  34. user_name = user_name_on_the_mysql服务器
    ' E* s( M9 D5 b1 l$ C4 f
  35. 密码= password_to_go_with_above_user_name
    + N( h( y# L0 t3 [  g
  36. getdriverfunc = getsqldrivermysql
    3 }( E3 O: _& l9 w0 l
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    & a' m) m5 @: m0 h: x' Y4 h, u
  38. libraryname = path_to_libsqlmy_libary
    ! ?2 ~1 }8 @1 p& @2 O* ~
  39. 积极= 1 $ e4 Y  X& c8 T1 v- V$ o7 Z, V
  40. ---削减这里---
    % [. _( Z0 z) p: W7 S  }* K
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 9 y+ U$ ?! s- l7 r1 z* E5 _" O. ]
  42. ---例如--- 8 t  c/ V" \. l
  43. [ dbexpress ] ; d' ~- B5 R8 u0 s/ G- A5 w& q/ a
  44. sqldir = mysql_sql 4 ?& k* C. j+ o* b
  45. drivername = MySQL中, N- u9 H+ @8 y+ u1 @$ J" w  Y
  46. 数据库=测试6 L7 G3 c0 y/ u+ b6 z! M
  47. 主机=本地主机0 e$ F( \3 K4 L% ^; x# `
  48. user_name = testuser 3 o+ p( N7 O  W- u* I+ ?( w3 t- t1 M& Q! h
  49. 密码= my_password
      y+ c) J' d$ G" o# e' Y
  50. getdriverfunc = getsqldrivermysql
    + I0 P& K5 L' l: T4 V8 {9 D% z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
      D4 ?, }% i& |
  52. libraryname =. / libsqlmy.so + T8 X: K  j: A  ]/ ?, ]/ L- T3 i4 m
  53. 积极= 1
    8 Z$ ^8 Y7 G  Y1 {
  54. ---例如--- " t5 o' ~# V* z& l
  55. 4 A2 `3 d; s! D5 L% a0 O- B0 s
  56. 对Windows中,也运行MySQL服务器本地的,那就是: $ Q" y: N4 r) S4 ^0 ^, ?( V
  57. ---例如--- - x/ ~0 X1 ~, g* u5 O
  58. [ dbexpress ] 1 p" s* q3 w& T# v
  59. sqldir = mysql_sql 5 g# M$ R$ B9 L
  60. drivername = MySQL中4 B% L- u1 A. j+ r
  61. 数据库=测试
    / s2 `6 O3 u0 A7 v
  62. 主机= 127.0.0.1
    ) K- u# w8 h  A
  63. user_name = testuser
    2 K, D0 \# `4 l$ l) o+ V: Q7 L
  64. 密码= my_password ' A! n/ L+ R3 M9 \; K! k
  65. getdriverfunc = getsqldrivermysql
    ! b1 x" P8 v8 Y: j9 ~! M
  66. vendorlib = libmysql.dll在" r, i: Q$ X% ^5 t9 p
  67. libraryname = dbexpmysql.dll
    ; G! M- c4 J) r- q: [9 j7 `
  68. 积极= 1
    + O8 Y' w, @2 A6 L, Q
  69. ---例如----
    # s* @  y$ |) {) P3 a* Q1 K
  70. -写在0 2.03.04由p wk.linuxfan
    - J  r  [/ D6 G0 _
复制代码
发表于 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' R& `0 t3 B( w& N1 x  v

7 j* X$ c9 n9 j# Q! ]1 ]but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-27 13:40 , Processed in 0.068114 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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