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

3547 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
. \6 M4 V( U2 g  J: j' b' ]& |# s
. v0 u$ C9 F! c  J/ q& `
  1. # {* |7 S$ I% a/ V7 I
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    / m$ f) B6 X& i+ `) b( K

  3. 6 N1 I2 i6 l# m- ^
  4. ### What we need ###
    6 d. `/ ~: ?$ Q2 g1 |1 S7 j9 z
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ) o- [- V: B& V+ Y8 {7 C. w2 W2 I1 A
  6. will not explain how this can be done - there are documents out there for the
    1 }' n# h: i" e, N; _
  7. interested. The requirements include a (empty) database for TeamSpeak to use( ^6 G+ j7 t8 ]2 W0 ?& M, r
  8. and a user account (username + password) that has the permissions to do stuff
    1 y1 }" U0 m; `) C
  9. with the database. Additionally, you will need a vendor library installed on the
    * ?7 I  u# }. f" K5 J% S
  10. local machine, this came with my MySQL install.
    / V, Y2 x( e( _( t( Q1 s; M4 v
  11. These instructions will not tell you how you might transfer your data from the7 s- a# |' N  c3 A9 F0 \
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL/ \0 T* @! o! }5 P7 B. C
  13. database.
    ; [8 W8 Z' G2 S3 l- Z3 a
  14. Some users have reported ways to import a SQLite database into MySQL, but at- |$ d* {7 p) }/ @& V/ y) ^2 r
  15. the time of writing, there are still too many issues - check the current status
    5 e5 S* F: E4 S) F8 A. _  g$ }; V
  16. in the TeamSpeak forums if you are interested.9 g1 P0 y4 v# F# N5 M
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    3 _! m1 M) b0 L) s
  18. Borland was used. This driver can only interface with the client library that 9 N: K' U8 L' U- G9 }6 h8 Z) g
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this( R) Z7 k, V+ M1 t0 K
  20. client library - basically all you have to do is to use a 3.x client library as
    : P; n/ s, n" w  d; a' Y. H5 H
  21. "VendorLib" and a 4.x database to connect to.: R! N0 U) M, `' c0 I: g. w
  22. If you need more info about dbExpress, you can contact Borland.# \, R) }0 H, i7 i! y
  23. ! ?" i, ]& E' h3 r/ T  B, D
  24. ### Doing the work ###
    4 D5 H( H7 F5 W/ \+ D- H  W: ?+ B! Q2 N
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    + ?9 |; @3 G8 G7 ^
  26. the perquisites right, just open your server.ini file, and add this section at
    5 ~- f3 @& `0 j7 W
  27. the end:
    ! Z& E6 q4 A  t
  28. ---cut here---& w& R( Q8 d* S$ R: {
  29. [DBEXPRESS]
    ( R; S) `* p7 b
  30. sqldir=mysql_sql
    / y" `6 F5 ?5 n+ @, l8 M( _
  31. Drivername=mysql
    : Y9 ?! o2 j! g7 |+ b4 ]
  32. Database=Your_Database_Name_Here
    ' D" s; f# }8 N! e+ n
  33. Hostname=The_PC_the_MySQL-Server_is_on, b& @, J; B& m" k9 h! o
  34. User_name=User_name_on_the_MySQL-Server
    0 D5 |5 R# u3 L
  35. Password=Password_to_go_with_above_user_name
    ( ]5 g% c, s- L. b
  36. GetDriverFunc=getSQLDriverMYSQL. b) A8 A9 R9 c
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    + V5 t/ M6 y/ r
  38. LibraryName=path_to_libsqlmy_libary1 X( b% N2 i# U
  39. Active=1
    4 }! |% ?% k& `& U9 I" |
  40. ---cut here---
    " s, f- V( O6 f) a' I
  41. In my environment (a linux box with a MySQL server running locally) I have:
    : E, X( u( v9 I; a0 `$ |
  42. ---example---3 C  w$ b" Q$ }0 i5 ^% v
  43. [DBEXPRESS]
    - @: l. g* Q$ S/ n7 U1 N
  44. sqldir=mysql_sql
    9 l5 e" t6 ~" H: }) R
  45. Drivername=mysql' R  h$ J/ Z4 w$ f9 ]
  46. Database=test4 n, a$ ^( T/ |' z) Y6 V' |% D
  47. Hostname=localhost
    * p, J6 `! ^% F1 i5 P  k' y
  48. User_name=testuser
    ' u' x( ?& \; V* p) v% Q. g6 g
  49. Password=my_password) W( T% c0 [2 t, Q
  50. GetDriverFunc=getSQLDriverMYSQL3 A* @5 }7 M9 H" @3 B8 c7 `
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ( _3 w) M/ _1 x! S3 r
  52. LibraryName=./libsqlmy.so/ I- s4 a# g4 g, d
  53. Active=1% k; t3 p9 y  N# f
  54. ---example---
    0 m  |+ W0 H) ]0 Y
  55. / O" D; K( q" W# X& l
  56. On a windows box, also running the MySQL server locally, it would be:
    5 k3 x" Z( s7 S* p
  57. ---example---5 |1 U4 m  x# S3 a; t; p
  58. [DBEXPRESS]
    : _! k5 V8 F# h) `* P
  59. sqldir=mysql_sql. F- x: G: L# `* g4 A
  60. Drivername=mysql
    ) v( }2 B$ e: q! {+ i
  61. Database=test' P- c; a9 R) i' Q8 @
  62. Hostname=127.0.0.1
    8 X- |, X0 o1 ]- E
  63. User_name=testuser* L9 [; d! n  L: h% @) |* b0 e9 J
  64. Password=my_password0 L" V6 s* j: f$ H) o( d4 O
  65. GetDriverFunc=getSQLDriverMYSQL2 {* v. ~3 p5 H, |& X; z  Z- O. R7 ^
  66. VendorLib=libmysql.dll" J" y, ^2 Y! Z; F2 L) k& H
  67. LibraryName=dbexpmysql.dll' L5 y" g4 D0 Z$ H' {4 w
  68. Active=10 @; Q' O& k  M+ A. u- ~* B, A
  69. ---example----
    & B$ I# q2 l6 x  F6 Z
  70. - written 02.03.04 by pwk.linuxfan
    ; q" i' v5 k$ @9 P
  71. 9 {) T& V" u& _& A+ q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
' {  e6 V  p, A- }5 }

  1. - ~8 Y% k0 G8 x
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ( D+ |; B4 n3 D4 ], a
  3. ) |% M8 j9 |. y) ?5 K
  4. # # #我们所需要# # #
    + c2 q% a: ]0 R8 A
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ) N' }5 m) ]: J4 w6 c- U% S
  6. 不会解释如何做到这一点-也有文件存在,为
    $ o" x. t) x1 O! \; e0 E
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用2 R; P( h7 B8 i  x( \( A: k: b
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ; A) s2 T" H' H# V4 z( e8 \
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    : [. c; N! a0 d, M- R9 U& G; g4 J
  10. 本地机器,这是我的MySQL安装。 % n6 w+ B2 i% K, ?& `2 b
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从6 J' X- f% X; G- x0 N
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    " B, u3 C( e, |
  13. 数据库。
    & f! q0 O5 r% F
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在' g% w5 L3 q% |* k, r
  15. 编写本报告的时候,仍然有太多的问题-检查现状- S' |  g1 K& Q, b
  16. 在teamspeak论坛,如果你有兴趣。 4 W1 Y# b: j% i' r/ T' W5 e
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    5 I$ T" E% G8 i) ?/ j1 @4 \
  18. Borland公司使用。这个司机只能界面与客户端库
    , W$ B  h4 ~9 j0 C7 F
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ' x! Z8 S4 p5 a+ M5 Q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    " |* A: _7 b7 k, V
  21. " vendorlib " ,并解数据库连接。
    $ m3 x4 b# b' H* p/ ^$ o0 p% F
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    5 g2 b# m+ X7 W8 ^" h

  23. $ v. g/ x9 b2 R- G
  24. # # #做好工作# # # + C/ m  \1 q% P1 `0 U. D
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都$ p- v- {* F2 Y/ i1 {2 V8 i
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    0 ]* p0 n9 z! S* z0 F
  27. 结束: 1 z" P9 \! w8 V4 Z6 }
  28. ---削减这里---
    ' x( D- x- b) d6 A: s7 Z
  29. [ dbexpress ] 3 Z% b1 N2 O" f( ~+ d' X
  30. sqldir = mysql_sql % j, Y0 R) g5 V5 K9 o" T
  31. drivername = MySQL中/ A# U5 V6 X  l! @
  32. 数据库= your_database_name_here 9 k: F" P" @& H' ?5 U2 O1 z, N
  33. 主机= the_pc_the_mysql - server_is_on
    % N: q- l* j: p
  34. user_name = user_name_on_the_mysql服务器! G. ]4 f- O; @
  35. 密码= password_to_go_with_above_user_name
    + n# c  b0 U: ]8 I
  36. getdriverfunc = getsqldrivermysql
      Q& \* \8 t( [' `
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    % L4 z3 @/ h# a1 j. e# O8 X/ W) J  y
  38. libraryname = path_to_libsqlmy_libary
    0 H. Q: q3 ]- K/ ^. O# b3 ~% e) e
  39. 积极= 1 8 {5 q9 j7 g) X" u6 U% }5 S9 B
  40. ---削减这里---
    $ X" b3 C: N6 O- q" A, H
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 0 V, a5 E" k) I7 b: X# @+ }
  42. ---例如---
    . j( i2 m4 c2 Q9 J6 V
  43. [ dbexpress ] / }( q4 D! ?0 a) B  r+ ?' j1 U
  44. sqldir = mysql_sql
    + V1 U- \2 ^1 s  N# q
  45. drivername = MySQL中, X& h1 p; ~# w$ S* S
  46. 数据库=测试
      F( q7 _# F8 a
  47. 主机=本地主机7 V" X8 h7 m6 W3 k5 J
  48. user_name = testuser " r5 ?# y% _% m, \$ B1 h4 t
  49. 密码= my_password
    4 ?7 o5 u$ M$ ^5 R
  50. getdriverfunc = getsqldrivermysql 9 i/ E' q1 ?: S. b; Z$ [6 F
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    " g6 ^7 u1 }) H1 _$ A- N# D2 I
  52. libraryname =. / libsqlmy.so
    4 ^. z$ A/ i8 X  `, C
  53. 积极= 1
    5 a% e$ b1 S- ^6 l& r$ X' ~; f: H
  54. ---例如---
    / `) s5 A$ e. d5 n8 |! T( }

  55. " N6 X& X# `) G8 i
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 9 N( F- `# m' Z4 W
  57. ---例如--- 8 o( B" u2 |. H5 {1 T$ g3 p  p. b
  58. [ dbexpress ]
    & g& B6 P) r2 U0 v$ Y+ X
  59. sqldir = mysql_sql
    % Z* F; l9 o# I1 K  a: e& ]
  60. drivername = MySQL中4 F" e: r1 `, `
  61. 数据库=测试8 ~& Z; \6 k8 P' W
  62. 主机= 127.0.0.1 7 M. n9 @4 G' ?1 R9 v
  63. user_name = testuser 9 e' k8 _2 u' N' F
  64. 密码= my_password
    ) X6 i. |# y5 e; M5 L4 i! n4 }1 L
  65. getdriverfunc = getsqldrivermysql
    8 w, G6 T- ^5 r* G" t
  66. vendorlib = libmysql.dll在( ^; F) d& ?3 E1 q+ z
  67. libraryname = dbexpmysql.dll
    8 i7 u3 T5 J1 z
  68. 积极= 1 6 D" O: F2 A( b! D* F
  69. ---例如----
    9 w2 {1 }7 k: P1 @1 B7 L- d* K
  70. -写在0 2.03.04由p wk.linuxfan+ K( }: ^2 K7 U2 |+ J' C& Y; 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
  z8 H& t$ e( J* c4 R/ V) f9 O8 }; f9 r$ ^6 d9 ?. h. j
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-21 15:59 , Processed in 0.059752 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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