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

2381 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
4 Q9 C7 ?5 j/ m9 a  }, f) i7 J5 B# D& m, @6 p% f2 g

  1. 8 M' u( }+ z' }! s; n7 n4 A
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######4 u" X) W* _+ [' E. C7 ]7 n# D/ s
  3. / x) v5 d6 o( \. \) m  B* g% \
  4. ### What we need ###5 f; c8 M. k; e3 A
  5. Naturally, we will need a MySQL server to store the data for us, this document 5 r4 E! V! ?: \  t4 V
  6. will not explain how this can be done - there are documents out there for the 2 l' y! h4 B' \0 ~# F- N! `5 B) h
  7. interested. The requirements include a (empty) database for TeamSpeak to use- _$ u$ _# y+ D$ t+ }9 [& |
  8. and a user account (username + password) that has the permissions to do stuff
    ' ^% H7 b7 ^, }
  9. with the database. Additionally, you will need a vendor library installed on the
    3 }; e) y  ~9 r# T/ R4 N! n8 ~* K
  10. local machine, this came with my MySQL install.
    % `& S: X" |8 D+ N; b) L
  11. These instructions will not tell you how you might transfer your data from the* w) s# X$ r& G  S6 B3 U9 l4 W
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    & f- n& Q' E3 ?8 K
  13. database.
    % p" a3 ^7 l! d8 t+ o
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ' E9 A# W  ?* C! \7 e' M! g
  15. the time of writing, there are still too many issues - check the current status
    % @7 b4 U7 K/ K- a" I
  16. in the TeamSpeak forums if you are interested.9 g5 a  O2 m8 J* p
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    6 m4 U3 y9 s* f4 T' M
  18. Borland was used. This driver can only interface with the client library that
    / h6 {! K$ M. ]
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    1 B  q5 I8 n1 n$ Y: u4 ~- y7 k
  20. client library - basically all you have to do is to use a 3.x client library as
    9 j! l/ G% h9 n
  21. "VendorLib" and a 4.x database to connect to.  {% ]! @7 y9 k8 @; w+ P# C
  22. If you need more info about dbExpress, you can contact Borland.- p% m- b' g0 Z) p5 J( O

  23. & j, |; v' X: e" F0 b; L8 ~( [+ N
  24. ### Doing the work ###, y6 @0 i. {: \& ~3 w
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all4 d8 p: Y" q* [3 i
  26. the perquisites right, just open your server.ini file, and add this section at
    2 Z( t2 U" a* G, ]/ T! {; S3 n8 j4 O
  27. the end:
    / a, b) ]: j) G
  28. ---cut here---( n$ C0 v, X0 @0 R# \1 s+ T! f9 A
  29. [DBEXPRESS]' ^" J8 E* F$ s. `* u* p- G- R0 k/ x
  30. sqldir=mysql_sql' e3 \, X4 F  ~0 Z
  31. Drivername=mysql
    - l7 l1 c) c" X
  32. Database=Your_Database_Name_Here
    & g4 h5 U+ L0 b, k' E
  33. Hostname=The_PC_the_MySQL-Server_is_on
    : H# |4 K( J' F' v5 i9 p, {2 D% P
  34. User_name=User_name_on_the_MySQL-Server' s' u. R' o: S& S: u! j7 Q# P  P* V
  35. Password=Password_to_go_with_above_user_name& F& R2 g9 v3 g4 ~
  36. GetDriverFunc=getSQLDriverMYSQL1 i4 P4 B4 P% K! _# P/ X" o
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    / K' H: \  H0 G5 H
  38. LibraryName=path_to_libsqlmy_libary
    . T- @+ _" V3 k+ D9 c% t
  39. Active=1
    & M7 g2 L0 }" r* d( ~% G% k0 |
  40. ---cut here---
    6 q6 J2 C. V  x
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / h! [. |2 f$ r# _
  42. ---example---
    8 S$ r9 H5 P$ V4 Q8 |% Y3 [
  43. [DBEXPRESS]  g; d, I% c0 X3 X, ?& K7 k) X
  44. sqldir=mysql_sql
    0 |/ e8 s- N) \; R
  45. Drivername=mysql
    3 J% k+ _- B2 h/ m! Q) p7 {
  46. Database=test+ A: H% R6 n: ?) H2 n( U- }8 }
  47. Hostname=localhost- f9 T/ `4 ~, P! ]! K" \6 \1 C
  48. User_name=testuser) W" {/ n7 X  h" w
  49. Password=my_password* W2 y8 S! V5 g( `
  50. GetDriverFunc=getSQLDriverMYSQL
    , f7 m5 H" O! j% l! q) L# [- U: s
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0" _7 n, X6 t* ~# d- q' ]
  52. LibraryName=./libsqlmy.so
    ( B  Z! O1 a/ U# t* n! g2 C9 c2 v
  53. Active=1
    9 V: u' H; T" ]# `5 a5 O* }
  54. ---example---
    0 z- U0 }, S8 y$ h3 X3 |+ p
  55. ( x: o3 c. v: F( Z7 w
  56. On a windows box, also running the MySQL server locally, it would be:
    : @# m. A3 L, ]6 Z$ j2 p
  57. ---example---/ d. C2 ^) B) v+ H" k4 \
  58. [DBEXPRESS]; D! H; r, @% S$ |- E# F
  59. sqldir=mysql_sql
    4 k5 v1 a1 M+ M+ {
  60. Drivername=mysql
    5 r" i0 V) `2 {' Q% Y; }
  61. Database=test
    7 H) Z+ ]' |0 }! i
  62. Hostname=127.0.0.11 N  y, A: V6 W! }* |, c5 G( l5 B* h
  63. User_name=testuser, N! |% \4 b* I) ^/ [" K# B
  64. Password=my_password4 j$ G7 D0 q( O2 [
  65. GetDriverFunc=getSQLDriverMYSQL2 a( F3 o" |& \2 N
  66. VendorLib=libmysql.dll
    ) R, }# |5 a+ w5 T% R
  67. LibraryName=dbexpmysql.dll
    , M9 g2 R' |7 ]- [; `5 A
  68. Active=1! S' x/ v( v. x8 x) K) n0 K( _; R- I
  69. ---example----4 n4 R6 R9 o1 s6 C6 Q
  70. - written 02.03.04 by pwk.linuxfan6 f6 t+ o) u( }# _/ ]

  71. 7 \- X! x4 Z- z! o5 e! q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看1 I  @+ t. ?' X* i, a8 y/ F) b- Q
  1. & Z6 A. q+ @  {: x8 X
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 9 c2 [/ }. G- f( I: G- T

  3. 9 K1 L2 O6 v2 l0 `  p: g8 z
  4. # # #我们所需要# # # ! \2 ~1 j% y. ^! x( z! E0 e& v
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件3 x4 y7 R) Q7 G' ^8 _1 |8 J
  6. 不会解释如何做到这一点-也有文件存在,为
    . h6 Q- r& W7 [! Y# r! R) b
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    - e. B4 D( P$ W: R- p
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    5 k$ H; \; s- l% }1 I, ?7 ~
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    6 b8 R0 J) F& b) u
  10. 本地机器,这是我的MySQL安装。 7 Q2 o/ `& V: \+ v* _* g) B
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    9 o* D& R2 V* R  A+ {7 ~; m
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL + {- \- N7 X! p( J  U5 Z6 g
  13. 数据库。
    ) @3 S1 V! W3 r9 {9 N! a
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    5 j  F3 `* l# ^/ {
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ! J4 [) V2 Q4 m# B& N4 }' w
  16. 在teamspeak论坛,如果你有兴趣。 ; ^% T! v3 @8 c6 R& [/ }
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    5 Z) v  S/ N0 F! ?
  18. Borland公司使用。这个司机只能界面与客户端库
    ' I4 p# w$ D$ h' D/ b
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这) ?! C+ Q5 [& A* F
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为/ I7 I( u! X5 d) r. H6 O& n* l. E' x
  21. " vendorlib " ,并解数据库连接。 , {  M! ^  G* ]3 U+ x
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    * Q5 A: e1 O6 O) Q; L  v* U7 ?
  23. 9 M3 ]+ N& w" \" \: Q$ a4 m
  24. # # #做好工作# # #   V& ^4 A5 \+ w! f* M7 K
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    , x0 e2 c) y8 A( m% Y& g
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ! Q' z1 S  @: G# \" W
  27. 结束:
    7 O; @. H; y0 r& Z( y$ v
  28. ---削减这里--- ' m% ~% U8 M( p8 C- Z' G1 r' s
  29. [ dbexpress ]
    ( X1 e+ ^9 y' @( d( A( ~+ \9 U
  30. sqldir = mysql_sql ! F7 ^" A( I1 D7 _) c
  31. drivername = MySQL中
    % A0 f, S% l5 _; T6 f8 Y% U; S& |
  32. 数据库= your_database_name_here
    , ?' V! t( Z8 o; }, G" ]: l# E& i8 ?+ @
  33. 主机= the_pc_the_mysql - server_is_on
    7 G9 x% J% e5 |4 w3 @) T
  34. user_name = user_name_on_the_mysql服务器
    9 a+ d: d3 I/ U- J8 q" r7 h
  35. 密码= password_to_go_with_above_user_name
    " D" C5 Y8 J, d
  36. getdriverfunc = getsqldrivermysql " R' U: i( B  {% |; _0 h
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    0 o/ v5 J" ~6 z/ P' V
  38. libraryname = path_to_libsqlmy_libary + O& C- J' ?& s/ h9 p/ `
  39. 积极= 1 , T0 M) g5 Z& f6 v; N9 ^
  40. ---削减这里---
      C2 Y* C) M: _2 n0 L- @4 H/ s
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    9 K4 V9 ^! n; o" }
  42. ---例如--- - A: I, g- {* i3 t( _$ f' a
  43. [ dbexpress ] 0 x' V* _* @( i& B
  44. sqldir = mysql_sql : g% v) `) C3 ]. R. ^& {
  45. drivername = MySQL中
    6 g6 O, j1 L6 c% N1 s
  46. 数据库=测试
    * o' b) \: w5 `8 x
  47. 主机=本地主机
    ; ?+ Y+ @+ o' i$ S7 c5 r! R8 j
  48. user_name = testuser " x$ W: o& p4 F- G
  49. 密码= my_password 7 b6 D0 L' f: `2 d, h) e
  50. getdriverfunc = getsqldrivermysql
    7 b  X) r' O) y
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0   \( r& D3 g# D) Y. a0 Y- M% M6 z
  52. libraryname =. / libsqlmy.so - R: _) }( {9 H1 O/ @# @) s
  53. 积极= 1 # O" G% k) b6 T, M1 {( Z* |! ~
  54. ---例如--- ( Z: D2 M) Y3 n  o. I) N
  55. " C9 R" J+ G0 r
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ( v" M" X* y+ L  ?7 Z6 J; j! i
  57. ---例如--- 2 ?, X% v$ n5 d3 |, [' E
  58. [ dbexpress ]
    ( u$ D" J  j; ^. [# m5 `
  59. sqldir = mysql_sql
    0 `8 V6 @& j  P1 q
  60. drivername = MySQL中; `1 F/ ?) P" `8 t" P. [
  61. 数据库=测试2 z& Z# u  r( u( g9 H( t+ v
  62. 主机= 127.0.0.1
      O4 o3 b5 I8 x- \. y
  63. user_name = testuser $ w& \/ W" U) D: R1 a: C8 f, q
  64. 密码= my_password
    0 o* a; U) H! I) V2 |2 f
  65. getdriverfunc = getsqldrivermysql
    - j8 m) f  a0 A, E
  66. vendorlib = libmysql.dll在) `$ ?  G5 k3 H+ q( y% U, `+ P
  67. libraryname = dbexpmysql.dll - k. n' G" [- |1 @' F
  68. 积极= 1   V9 l: B, F! c% m- a$ h5 K
  69. ---例如----
    $ i# u( v5 }0 U4 H" v5 x
  70. -写在0 2.03.04由p wk.linuxfan
    9 [3 ^7 _% e7 j2 Y5 n- _
复制代码
发表于 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
- N9 H& `! x8 ]9 Q4 [
5 D2 V9 t  {8 L; |2 ~" ^but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-12 22:52 , Processed in 0.095429 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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