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

2518 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan & _& g+ d$ e, v; c

* W6 s6 {: U9 c7 I4 L+ Z

  1. 3 ~* T  R- G' f9 R$ |! b7 [
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######0 d+ F' j* D; Z0 k; l

  3. ! c" |3 f" v3 T) c
  4. ### What we need ###+ z) k. F# U8 r! m6 `% H
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ( w1 P5 p$ U: r& X: l; S3 m
  6. will not explain how this can be done - there are documents out there for the 6 |* O/ B& ]8 d, q# V& v
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    % \& r% f/ `2 C' r
  8. and a user account (username + password) that has the permissions to do stuff
    , g1 i1 x+ I+ _6 F0 j5 p
  9. with the database. Additionally, you will need a vendor library installed on the7 l6 i8 U& Y4 q8 M0 J4 f
  10. local machine, this came with my MySQL install.; t6 q+ D9 Q( S; v5 Q( a
  11. These instructions will not tell you how you might transfer your data from the
    4 p* z. \2 T7 Z
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL8 p* T; p! x5 s: V: b" x
  13. database.' K7 \3 T" f4 I9 s, s5 I
  14. Some users have reported ways to import a SQLite database into MySQL, but at% f- {0 O6 z2 l/ _$ G
  15. the time of writing, there are still too many issues - check the current status" Z" P8 t* V$ {9 {7 \! z$ n6 R7 b
  16. in the TeamSpeak forums if you are interested.
    ( x. j* j+ [& W" t2 ^
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    + C+ m2 T( D+ Q6 @
  18. Borland was used. This driver can only interface with the client library that 6 [+ W/ w, g8 f9 c8 C/ G
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this1 x  I7 ]1 k3 e6 U6 q2 w' g6 P% h
  20. client library - basically all you have to do is to use a 3.x client library as
    3 S6 \# S' g6 c: a
  21. "VendorLib" and a 4.x database to connect to.
    - f$ D8 B; }3 [+ s, Q
  22. If you need more info about dbExpress, you can contact Borland.
    ( O& ?  M) N' M- f) e

  23. # p# H) c0 y9 U. D
  24. ### Doing the work ###6 U( s8 y* e$ T$ }* @$ ]2 i
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all5 [) A9 G5 |" r' t* ^0 G
  26. the perquisites right, just open your server.ini file, and add this section at* z! P: k. z' q% |( e9 E4 a4 @& m
  27. the end:5 P+ m# P8 J  D- G* V  X
  28. ---cut here---9 g- t; B  j0 z/ p  w# p% V
  29. [DBEXPRESS], u' |/ F& J% v% Q! V: H
  30. sqldir=mysql_sql
    2 k$ h+ c6 p8 p3 I/ T) g
  31. Drivername=mysql- T5 d* S9 d* l! D2 `2 K( T2 M/ A; |( ~
  32. Database=Your_Database_Name_Here: J. N5 X/ }) Y/ Z6 K7 b
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ( `/ S8 R7 y3 j
  34. User_name=User_name_on_the_MySQL-Server5 x4 N$ Z  y; Y# I0 U2 G; `6 T
  35. Password=Password_to_go_with_above_user_name
    9 O6 x; ]5 H) q3 Q, f
  36. GetDriverFunc=getSQLDriverMYSQL
    3 t$ F: |! ^  r! ^' n
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ! z, f  h( H% C6 L  t' z4 ?
  38. LibraryName=path_to_libsqlmy_libary2 w& k; _  K# q; K" o4 O. ], E$ u
  39. Active=1
    4 b( j+ G" p' ^3 T( Z9 `& d
  40. ---cut here---8 O. {9 ?5 v6 M& s+ V+ n- a
  41. In my environment (a linux box with a MySQL server running locally) I have:
    & p2 X2 \6 P2 b6 B! h8 `
  42. ---example---# \- D, j! y" U+ b# u2 g. H
  43. [DBEXPRESS]
    $ ~  Z- e! ^4 k# J1 E
  44. sqldir=mysql_sql
    ' h+ Q3 q2 ]# {5 F% B- t$ T$ ?: }
  45. Drivername=mysql( K; Z$ s( l$ X/ i' h" ]
  46. Database=test7 C& t) [8 y9 `
  47. Hostname=localhost
    + Y" m% |" f* J" R" L( `
  48. User_name=testuser/ q4 O6 I  S6 o6 T
  49. Password=my_password9 e8 P- b) h" [+ {9 _: s
  50. GetDriverFunc=getSQLDriverMYSQL9 O) H) \- ?3 R
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    # R9 R2 w$ H: l4 x
  52. LibraryName=./libsqlmy.so
    / L) o- P0 g3 A9 Z/ ~6 P
  53. Active=1
    + ^$ U9 y, |$ L1 l
  54. ---example---
    ) q& ~) |+ w# H4 Q" H
  55. 8 n, b7 ~, U" p
  56. On a windows box, also running the MySQL server locally, it would be:" M# c2 N3 W( m0 o! Y  q
  57. ---example---' _1 X& ^. }, q" K3 M9 [& g) K
  58. [DBEXPRESS]1 e$ }: M, X: M: f& p/ `, X
  59. sqldir=mysql_sql: x7 q5 M" {$ B2 ~9 H5 m/ P
  60. Drivername=mysql
    . A. |; ?9 W7 G) J" \2 m/ e+ P; n
  61. Database=test
    + c# e$ Q9 G$ u. H
  62. Hostname=127.0.0.1
    + y2 t3 _/ Y! y( n
  63. User_name=testuser" M; E( \/ {6 a% Z2 D7 G; A. J
  64. Password=my_password
    + ^" H) a# [- L$ p; x9 ^
  65. GetDriverFunc=getSQLDriverMYSQL' ?/ X: W0 T! `" \! t
  66. VendorLib=libmysql.dll
    9 f: r+ ]! D2 l: g6 ^
  67. LibraryName=dbexpmysql.dll
    + z: r/ j$ d2 Q1 j0 e2 h5 r
  68. Active=17 o7 U9 z7 [. d, o1 E
  69. ---example----, w/ {" R# t. b$ I6 U9 \( X
  70. - written 02.03.04 by pwk.linuxfan
      H0 Z, }# q* d( M, Z
  71. & ^# B, z" t* T! T  \. y+ n; t, ~5 F
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看9 q6 o7 T$ {* Q
  1. 0 x4 U' N9 b1 J, j( a" g; J
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 7 F  }+ n- ~$ u( L

  3. ! M# t/ z5 p/ Q
  4. # # #我们所需要# # #
    $ E3 P; r& j& C8 x& c7 o* u
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    - u" S& T/ ~% ^" P7 @9 _
  6. 不会解释如何做到这一点-也有文件存在,为- o# p) D7 Z$ U# E$ z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用7 g+ Q; L' I  e7 t6 {0 F
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    8 Q7 ]9 B% R9 Q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于% c% p6 \$ _. V  d7 b
  10. 本地机器,这是我的MySQL安装。
    , V7 n/ ], E$ U# L, [, D
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从, A5 h; _8 e8 d. p2 W: d- `* ^
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 2 I- y; R& \6 }9 A/ ?
  13. 数据库。
    6 Y/ f( I. d( n. A0 N3 x+ W/ b
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在- j6 Z+ S; h8 D+ `( r
  15. 编写本报告的时候,仍然有太多的问题-检查现状# F0 d  J3 n; y' X- l9 }
  16. 在teamspeak论坛,如果你有兴趣。
    $ d3 I* y6 b9 d" q/ O7 G/ Y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机7 S8 H* f% g  f1 T8 R* D7 a
  18. Borland公司使用。这个司机只能界面与客户端库
    # p- K7 T4 r9 V7 i! F
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这' `0 Z7 K, ?1 g$ e# Q  J# {
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为/ v2 y; p( o7 z5 R. b
  21. " vendorlib " ,并解数据库连接。 * ?5 f) _8 T) M+ w! C
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 8 O' H9 |9 U8 |0 ]
  23. + n7 l) D; {0 z: \, X! S/ `
  24. # # #做好工作# # # 1 r& h. y7 b( Q  s
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都/ n! W* b  q: c5 d+ ]
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在1 F: t0 k1 x# H3 j% t
  27. 结束: & G  U; d' `( b
  28. ---削减这里---
    ( }8 I) O& E: ?9 r9 Q0 P
  29. [ dbexpress ] ' Q7 e" o" ?3 N4 R( K$ g
  30. sqldir = mysql_sql 9 @* d0 U- M1 n* e$ E/ \1 L
  31. drivername = MySQL中8 o2 Q7 k) p; I8 u" y$ F: ~5 l
  32. 数据库= your_database_name_here
    / V- E0 j: X' u
  33. 主机= the_pc_the_mysql - server_is_on 0 e# g; o. O1 L  k
  34. user_name = user_name_on_the_mysql服务器2 g4 n8 ?" [6 k. P, S, y4 D! E) y3 d1 F
  35. 密码= password_to_go_with_above_user_name
    6 t, O* y) W% I2 r( s
  36. getdriverfunc = getsqldrivermysql . K, O8 B2 B( j8 {9 T
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    * Y% w* ?4 L  S7 N
  38. libraryname = path_to_libsqlmy_libary
    . V$ f" U. g* A0 V1 Z7 c: ]1 t' E! d& V
  39. 积极= 1 ( P. V$ s) r" ]8 p3 a. [
  40. ---削减这里--- 0 R8 @2 R2 U0 _6 p+ f2 x
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ! |7 b# b$ ~1 }/ ~3 n) p) S) `
  42. ---例如---
      U* q; V4 X. }5 t* `- j
  43. [ dbexpress ] / B" o* y( H9 g* Q, e8 R0 O. `
  44. sqldir = mysql_sql 5 p4 _( s8 Z$ D+ ^: K$ O9 Z
  45. drivername = MySQL中: z' G  d( J( p" v$ Q- ^4 r
  46. 数据库=测试# |5 T) Q7 L/ x# O8 g4 A) o
  47. 主机=本地主机+ Q4 H: l& n" b: i% `5 u/ g
  48. user_name = testuser 4 I4 q* P/ ]2 G2 X% k3 F
  49. 密码= my_password ) [1 q" U; ~! u, s6 R# L3 o8 ^
  50. getdriverfunc = getsqldrivermysql : L1 @& |8 z9 b; @, D0 ^. }
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 4 ^! s. W+ C/ y5 X8 |; B4 b
  52. libraryname =. / libsqlmy.so # s  L4 ]: D# t( Q9 ]3 t2 g( p# b) P
  53. 积极= 1
    ! ~. A% v( s/ X. H' J5 S
  54. ---例如---
    6 J, K2 C6 }4 m! r& E+ P

  55. 7 ^& l5 I1 |' _: L
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    * s# u$ d' d0 x* o
  57. ---例如--- ' u7 s+ a( D5 u0 B5 L+ M
  58. [ dbexpress ]
    ( Y+ W. p+ F/ x' _
  59. sqldir = mysql_sql + L9 o! [, @9 _* I1 K
  60. drivername = MySQL中
    % n3 U1 K: i6 M' ^# m: E' O
  61. 数据库=测试, M. ~* B' f# X+ E' z* u  J
  62. 主机= 127.0.0.1 4 w( K+ z4 C" h
  63. user_name = testuser
      H0 m4 S- L" O
  64. 密码= my_password ; K1 C) j) S) s6 f0 B5 v. V
  65. getdriverfunc = getsqldrivermysql - m+ O( s. Z- D
  66. vendorlib = libmysql.dll在
    ; p$ i) K# q' f; v# F
  67. libraryname = dbexpmysql.dll . q% @4 M: k7 ]- P6 @7 D5 ?3 g0 ]
  68. 积极= 1 4 p: v4 O5 v6 C) |% q/ c# G7 p
  69. ---例如----
    , r- p% T( ^* ^  u$ G5 \
  70. -写在0 2.03.04由p wk.linuxfan. s  n/ m2 A! s7 l( f. S2 w+ t
复制代码
发表于 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 words3 `3 k6 d- U+ b7 I
9 k5 J0 p& ]8 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-15 17:54 , Processed in 0.089604 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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