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

2232 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 5 R, o4 L& p1 v4 r$ s* G6 h" w

) w: j% r  F4 \6 @$ D
  1. ( g6 ]3 d9 m& p+ x3 r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######$ Y7 e7 D- I. b+ c9 o

  3. 7 [$ k' Z  Z6 T# p# m- L6 J
  4. ### What we need ###
    & A& a' ?: Q4 h) @  e2 Y" D! F
  5. Naturally, we will need a MySQL server to store the data for us, this document " R3 x6 r+ ^$ x. _
  6. will not explain how this can be done - there are documents out there for the ) j& a; [0 A% S6 d" E5 P
  7. interested. The requirements include a (empty) database for TeamSpeak to use2 N" Y5 L- G0 H  g
  8. and a user account (username + password) that has the permissions to do stuff
    5 X, M: l2 O, b2 I2 w
  9. with the database. Additionally, you will need a vendor library installed on the
    3 ]; {: _8 s! s4 C6 S7 {; Y
  10. local machine, this came with my MySQL install.% g9 h& `* }6 g  \$ t
  11. These instructions will not tell you how you might transfer your data from the: P0 {1 ~( D7 V8 _% [! u/ q- o
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL1 c( d( n* Q! W& }& P, I
  13. database.% s0 ?: u. z! _# ?: u  U* C9 ]& L! l
  14. Some users have reported ways to import a SQLite database into MySQL, but at  G4 |" Q* K* w( f: F0 f
  15. the time of writing, there are still too many issues - check the current status
    ' s8 n6 M! A$ j$ w8 `$ i+ s( `/ v
  16. in the TeamSpeak forums if you are interested.
    + b7 n; y6 i& Q! t
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    % E3 _% @' k) a. Y4 g
  18. Borland was used. This driver can only interface with the client library that
    ' ~( k( F$ m1 h& P' k8 A
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    % ^; E/ N1 ~+ t
  20. client library - basically all you have to do is to use a 3.x client library as
    8 l* m: x+ L% }3 n* `& J
  21. "VendorLib" and a 4.x database to connect to.
    6 ?) u2 M" k8 r. c
  22. If you need more info about dbExpress, you can contact Borland.0 _+ x( I7 L9 H4 f! e# x
  23. . z" P, D; c* d5 J# v; u. q2 f  ^! Z' u
  24. ### Doing the work ###
    ( A0 z6 J7 `8 \) ^' o9 R
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ' [$ Y7 V' G( a+ D0 c
  26. the perquisites right, just open your server.ini file, and add this section at3 X$ o; h# v, k5 [
  27. the end:0 K1 t2 M" U4 m/ n! K8 v% d
  28. ---cut here---. q2 U. P" M* F. j5 K$ t1 r/ C( H
  29. [DBEXPRESS]' Z& }- k3 |% |" ~: m$ `0 O, }
  30. sqldir=mysql_sql$ S9 c: d& U! v# p7 L# e
  31. Drivername=mysql# Q: F* V# A" `% p7 A  N
  32. Database=Your_Database_Name_Here
    . Z# k) V+ s9 ?1 c2 U- Q# ~5 r) k
  33. Hostname=The_PC_the_MySQL-Server_is_on* L, a5 |8 K' \5 ]1 I$ i6 S& x
  34. User_name=User_name_on_the_MySQL-Server% C( E  J0 c& {- B* ^
  35. Password=Password_to_go_with_above_user_name
    + e, v6 v4 Q( p5 d  N0 T7 X
  36. GetDriverFunc=getSQLDriverMYSQL
    ' j- E. w( @, ~& X! }! ^0 b; J
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib+ ^  }7 ~) S" ^5 R
  38. LibraryName=path_to_libsqlmy_libary
    ' {" x8 u2 [0 D: ~7 V1 D
  39. Active=1
    ( w' x# L6 c3 B' |4 j
  40. ---cut here---
    - m5 J7 ?( }3 x" Y1 j3 I$ D
  41. In my environment (a linux box with a MySQL server running locally) I have:
    + H3 b3 n5 i% Q6 ^4 V
  42. ---example---) _- l$ C9 C1 w3 I+ |
  43. [DBEXPRESS]
    , z) D4 j: l* X+ V  q
  44. sqldir=mysql_sql3 U# C/ O$ d1 r8 n6 k! o
  45. Drivername=mysql' H  w7 M8 S& u: r7 K
  46. Database=test+ Q7 A' w  r0 F# z, F7 w
  47. Hostname=localhost6 N5 Q; }7 ?" D6 I' L
  48. User_name=testuser
    9 o; S8 A! X. I8 M+ T" t9 b) e" Z
  49. Password=my_password
    0 }* s6 J* @; o& ^& s
  50. GetDriverFunc=getSQLDriverMYSQL
    4 n# n( K5 b0 {+ W: [
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    7 v; @& c2 c5 ^. z% f  ^/ [* z
  52. LibraryName=./libsqlmy.so2 ~0 a; x6 d5 {& n6 x: ~8 O
  53. Active=1) Y! f, I* m6 P0 n& @: f
  54. ---example---
    $ p5 Z: \, B5 m" \. Q8 O

  55. 0 M$ V8 |$ ?; ~, E+ K: h
  56. On a windows box, also running the MySQL server locally, it would be:3 K/ [. T$ }5 o% d! B" W4 n
  57. ---example---
    1 c9 L9 I- B5 H3 `* i
  58. [DBEXPRESS]
    8 O9 ~/ ^6 h! c. N- c
  59. sqldir=mysql_sql
    - D2 b+ ^5 s' ~: {, b$ v
  60. Drivername=mysql
    / I+ d3 @* U/ s9 N
  61. Database=test
    6 |4 G) h3 j# U+ C0 E
  62. Hostname=127.0.0.1
    5 C; ^, z( m) h) j2 c
  63. User_name=testuser
    4 P) i* ]$ r) ]
  64. Password=my_password
    $ w2 j2 O7 O: ^: ^0 W" U$ e/ h3 `
  65. GetDriverFunc=getSQLDriverMYSQL, T( }4 {9 v$ b
  66. VendorLib=libmysql.dll
    0 A# e, p$ u; V, S9 [: _, [4 t! o' N
  67. LibraryName=dbexpmysql.dll
    0 j. p0 v( G0 l( A5 v+ [( ^
  68. Active=1
    6 L( `6 C* W/ i5 g
  69. ---example----
    - ?0 E( O5 V5 G
  70. - written 02.03.04 by pwk.linuxfan1 J- \4 c& G# a- T$ i

  71. + f% ^, [' Z1 Y$ T4 d
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看! l7 {' E, u" B8 Z7 ~  m& u
  1. 7 X0 T4 ?; \; ]
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    6 R7 V: y  {6 H9 a9 H0 ^

  3. / g" _7 v! i  K1 i* f* S2 V
  4. # # #我们所需要# # #
    ; d) Z7 n4 c, f( }; V  K" D
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件6 v  z9 q3 y; }: K! }2 ~/ D+ O
  6. 不会解释如何做到这一点-也有文件存在,为$ u' f- O1 J7 t
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用8 _( r+ |3 f, q9 e: ]. f  l
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西2 {' y- ~6 |/ j  \
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    7 ?- Q) q9 V/ N" c. u
  10. 本地机器,这是我的MySQL安装。
    # x9 O) l$ V6 z' u+ f. f! @
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从5 [0 r/ ?$ y0 b, s& ]2 b
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL $ D2 j5 z( R8 v5 Q3 L* Q
  13. 数据库。
    8 A( n; O/ i! g& u0 u9 o
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在# W% k: B+ i& r
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    2 Q( W1 p. S- P7 {
  16. 在teamspeak论坛,如果你有兴趣。
    # l7 w$ u/ t) F" d5 T) H' y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机9 R3 g1 I7 ^: G8 d" n1 [, c
  18. Borland公司使用。这个司机只能界面与客户端库
    & I8 H/ @& `6 r, f% q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这6 `: X  C1 ?& w5 L; r
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    0 m7 w- n4 ^( J& c% k3 }
  21. " vendorlib " ,并解数据库连接。
    9 x1 R. \+ Q+ s0 j8 f2 ~2 ~
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 % ?% T. z% F# J, \

  23. * m( v% R7 S2 r4 }, o( N) ?
  24. # # #做好工作# # #
    * }% [0 J9 a, R+ K5 |% ]
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    & J$ I" M- D1 ^' \
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在; U$ m; |9 \% k4 h5 C8 S
  27. 结束:
    $ J  ^* ?- C- S+ |$ D$ H4 J
  28. ---削减这里--- ! V) n, N4 a1 q( {
  29. [ dbexpress ]
    3 M0 s  ?, U6 |: v, W5 M- D* F
  30. sqldir = mysql_sql
    2 M; ]7 t* y  X/ a( C* ~
  31. drivername = MySQL中$ p% w/ t2 e3 ]: @) o
  32. 数据库= your_database_name_here / r4 H2 `( Q$ R$ W
  33. 主机= the_pc_the_mysql - server_is_on & d1 Q3 T6 F. q+ }
  34. user_name = user_name_on_the_mysql服务器
    / T+ X0 f1 Y$ g* J. y( x6 x% w
  35. 密码= password_to_go_with_above_user_name
    4 s. J  v3 n6 {& i9 n
  36. getdriverfunc = getsqldrivermysql 0 b4 c! Z- C# K, X- {  i( N; i& q; c
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib . D: A# C' u1 k8 f3 J/ S
  38. libraryname = path_to_libsqlmy_libary ) F& n$ q3 j1 H/ J
  39. 积极= 1
    ! f2 h; b' y3 j) t" N4 ?% h
  40. ---削减这里--- 0 M9 N- x( b; i# l5 h% r
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    # s( ~" w9 P( F: o9 L0 {
  42. ---例如--- 3 x* x9 \" C2 I9 \7 n* w- v4 r
  43. [ dbexpress ] ! H# w9 y1 E$ J' r1 R/ E/ q
  44. sqldir = mysql_sql
    + {$ [- ^% ~* ^6 b  c! i5 V3 i  Q
  45. drivername = MySQL中3 l$ v$ V9 N$ u( ~
  46. 数据库=测试& J$ ?8 v, ^% e
  47. 主机=本地主机
    " u7 X/ C  r: c
  48. user_name = testuser 5 D# M2 l: }* W
  49. 密码= my_password
    9 k: c' ]  {' m+ L9 y1 m" o
  50. getdriverfunc = getsqldrivermysql
      M" [9 ]' K& M" V
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 * p( V1 [) P, r- Z+ Q8 I2 t: X
  52. libraryname =. / libsqlmy.so # R* A( `' T6 t) u
  53. 积极= 1 - L* B: w" X& M3 |0 C9 s0 B
  54. ---例如--- 7 K2 a$ {8 X5 M
  55. ( C: O- K/ C4 I' m
  56. 对Windows中,也运行MySQL服务器本地的,那就是: % g* Y3 q5 z8 E; F- L& s8 _. _
  57. ---例如---
    + Y, z$ H2 h: F& N- W8 j# R
  58. [ dbexpress ]
    + ]" K! H7 j! s) D) ~
  59. sqldir = mysql_sql 1 C- _5 J( J7 Z5 e# G6 c
  60. drivername = MySQL中/ ]7 G! [' O( x) i! h% _% l
  61. 数据库=测试
    / _. c$ K  M# H
  62. 主机= 127.0.0.1 5 G8 g# m; N5 U" \
  63. user_name = testuser
    " E( w* {  I1 g
  64. 密码= my_password % Z2 a/ S5 c" g) E+ \% g+ X# c1 A
  65. getdriverfunc = getsqldrivermysql
      n( e# v3 _, I
  66. vendorlib = libmysql.dll在
    0 v- X. d' ^* z: X! C4 b
  67. libraryname = dbexpmysql.dll
    0 E7 {: w7 D2 i1 D
  68. 积极= 1 ' ^9 [, @" b7 ?* u" g$ z0 f
  69. ---例如---- % G" r/ h+ b$ p7 C# y' C
  70. -写在0 2.03.04由p wk.linuxfan
    ( g+ S& T0 L0 ~" X7 v- c, P
复制代码
发表于 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
' O) _5 ~& s9 B) z' U9 m6 }, L  ?
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-27 00:17 , Processed in 0.122116 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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