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

3054 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 2 J$ S, O1 W3 I! r5 V

) i* H0 k/ f/ S$ v# O- m' T
  1. % d4 N2 d; o$ U' E6 @) J# K: E
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    # A7 P" f' |0 B# E7 J6 B

  3. , Q. n4 Y6 l! ]" T1 i( e
  4. ### What we need ###
    2 s5 t3 r7 l* V4 T5 {
  5. Naturally, we will need a MySQL server to store the data for us, this document
    % G' ?; A" ?' P7 ]0 R, ?1 x
  6. will not explain how this can be done - there are documents out there for the
    9 r( z3 A% j: @
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    , R6 F' T' L% D9 r7 s! q7 x
  8. and a user account (username + password) that has the permissions to do stuff
    7 ?% ~: w7 y1 Y" S5 h3 F' s
  9. with the database. Additionally, you will need a vendor library installed on the
    8 c2 p! g# D5 Q. o
  10. local machine, this came with my MySQL install.+ g3 J. `+ L( r  d
  11. These instructions will not tell you how you might transfer your data from the+ k" ?$ L6 X8 X+ H) d, G
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    / g' Q0 `7 ]( K+ \' `9 D
  13. database.0 C5 ?3 G4 N  H
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    # ?- K% X9 j8 u$ `& q
  15. the time of writing, there are still too many issues - check the current status  |+ ~3 W" K( c/ q' \3 }
  16. in the TeamSpeak forums if you are interested.( @" e6 B* c3 z4 I2 G" x8 a' n
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    0 p3 f- I& C( [. Q
  18. Borland was used. This driver can only interface with the client library that
    ! ?" U0 J0 t# E
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ) ^7 F" F- W' V$ U
  20. client library - basically all you have to do is to use a 3.x client library as
    & G  g3 |0 W; c: h7 B6 Y* D* k
  21. "VendorLib" and a 4.x database to connect to.3 h$ }" C6 @- y6 u; `% O8 Z9 k
  22. If you need more info about dbExpress, you can contact Borland.8 e/ \+ X3 h% \$ {: H
  23. ; Z# J  a) m6 w0 S
  24. ### Doing the work ###
    * S6 W: w  H* u& G
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all* m6 ]: s- `7 ?; t3 E; i) I
  26. the perquisites right, just open your server.ini file, and add this section at
    ) k, X# Q- r( U' @8 K; \
  27. the end:
    3 p, Z! N! m9 Q+ ]) H
  28. ---cut here---
    & w9 x3 {9 i# j" t+ n4 Y
  29. [DBEXPRESS]1 c1 S0 n/ F7 L6 O, ^. _
  30. sqldir=mysql_sql# S! @9 @& p! l. n2 v
  31. Drivername=mysql5 e" o. i- ?9 ?; ?, Q: o# l
  32. Database=Your_Database_Name_Here
    9 W2 o, o* M; K% T; V/ w
  33. Hostname=The_PC_the_MySQL-Server_is_on  \5 F% x  S: y5 B$ A
  34. User_name=User_name_on_the_MySQL-Server
    : b" z4 r9 ?% J3 t: \& n/ {, W
  35. Password=Password_to_go_with_above_user_name% I3 n% J& ^8 X7 Z5 C8 S2 w/ @) v
  36. GetDriverFunc=getSQLDriverMYSQL
    ' W! J3 k* c; M
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    2 I0 I8 X  H" h1 B- f; T
  38. LibraryName=path_to_libsqlmy_libary
    , z7 e" j" Z3 x3 {' k
  39. Active=1
    " c4 c7 s0 T& I
  40. ---cut here---& f. j# l; e% }" H
  41. In my environment (a linux box with a MySQL server running locally) I have:+ H$ y% y) G5 c& q- o2 q; H- ]
  42. ---example---
    1 i1 \2 T9 K. P, o" K
  43. [DBEXPRESS]: ]6 {$ a& B6 x
  44. sqldir=mysql_sql8 [* l2 @* v% W7 r! s
  45. Drivername=mysql: X# ^# J7 ?! J& D6 Q% ?, E
  46. Database=test
    1 R- n" y. F; J3 j) u+ O- D
  47. Hostname=localhost' ~) S/ ?! [2 U8 r! [+ T. q8 |
  48. User_name=testuser
    $ E  c- P0 y' u. u
  49. Password=my_password
    / Y! ^- s) Z& W8 v
  50. GetDriverFunc=getSQLDriverMYSQL8 O  s1 E* s6 E: {  d
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    8 U  g2 O% L5 |; W" A1 X
  52. LibraryName=./libsqlmy.so) L0 j6 Z" Q2 b5 [  ~* B: e
  53. Active=1
    1 M3 N& N2 i1 C" A2 p8 V7 g
  54. ---example---( i* C% U6 d- p, x) [
  55. 7 K: i+ H7 W) c6 P3 F  k
  56. On a windows box, also running the MySQL server locally, it would be:
    . J9 g  p: S# G- K
  57. ---example---
    " ?& P; w; o4 o! Q6 l
  58. [DBEXPRESS]) Y" x$ ^- h# J6 I
  59. sqldir=mysql_sql# d: {0 u4 U8 U) B% M' w; u
  60. Drivername=mysql
    " S. Q6 A, a& ]: W7 Y+ U
  61. Database=test
    1 c; `$ t7 y3 m
  62. Hostname=127.0.0.1- r+ k( U8 A; ^- _$ k
  63. User_name=testuser
    - u8 r/ _9 U2 t0 l1 V. ?  Z
  64. Password=my_password9 Q/ G8 J. M! c' ^  k9 G  r
  65. GetDriverFunc=getSQLDriverMYSQL! p8 \& h2 ]. `4 X; M
  66. VendorLib=libmysql.dll% _8 t( ^- \) }" c7 g9 E
  67. LibraryName=dbexpmysql.dll- @  \1 J# ~, u  U6 @0 ]; v
  68. Active=1
    + o) r. \6 X: d5 c+ T2 C- ~, P
  69. ---example----5 L  p4 O) _" V6 S
  70. - written 02.03.04 by pwk.linuxfan
    - g8 R1 q: p/ B7 D  `& e) T( l
  71. 8 v5 V  ^1 u6 W
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
1 E1 r' Y$ }8 I0 y0 Y+ x

  1. + ^+ o- h- G3 Q3 ~0 C8 O% u0 Y  \& p
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    % A& B9 t- n4 a7 t3 P
  3. : O# Y8 E: ^4 d' h7 b  u8 Q5 {  z& y
  4. # # #我们所需要# # #
      H; h* a/ P- H
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    2 G! m+ z6 a% O1 o4 E6 Q: i7 k' Z6 T
  6. 不会解释如何做到这一点-也有文件存在,为5 S; i2 I- v: M
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用  l3 W1 V. j9 p" C  D3 e
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ( }! Y9 {& i1 J  L; ]
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    4 U0 P! q4 s: ^; Z
  10. 本地机器,这是我的MySQL安装。
    ) b% M9 g. e; D+ o
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从( M2 h! V% |; a0 ^% r1 Y/ [
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    # }8 v3 y7 z! o4 X
  13. 数据库。
    " f4 j% E2 h! a' ~( N. r
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    & ~5 u9 y, S+ G0 G- H8 o
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    9 F# c" `" ^+ d
  16. 在teamspeak论坛,如果你有兴趣。 5 z: _1 u3 d( R( P# c' ]
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ' R3 t4 `) k! ?  b) t
  18. Borland公司使用。这个司机只能界面与客户端库. g* p, u& z; s5 ^
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    " Z, {. [* p5 [
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为+ A" U0 `: ~0 r0 f, E
  21. " vendorlib " ,并解数据库连接。
    " j. S0 b- ?1 s1 |
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ; A$ [; p/ r9 c" [) V" r. ?7 F- @  A

  23. ( D, p  Y! \3 I8 j% K
  24. # # #做好工作# # #
    7 P4 r7 ~6 _0 o. W
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都8 U! y$ x% ?' t) h8 j
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    * u! M# W5 H* X9 h- c2 X5 t2 \) H
  27. 结束:
    3 ]5 ^6 x! G. v  k4 H0 N" ^
  28. ---削减这里---
    ( i* p1 ~& R) o; p4 [9 I
  29. [ dbexpress ] 5 C3 p, o8 H1 P$ W; I, M/ A
  30. sqldir = mysql_sql
    # D$ ?$ Y/ U1 m6 C3 M" t
  31. drivername = MySQL中
    , A* g( T. s5 w' }3 G5 [# [
  32. 数据库= your_database_name_here ! U9 E0 P# K3 V
  33. 主机= the_pc_the_mysql - server_is_on
    & B7 Z4 R9 m, ], O2 O
  34. user_name = user_name_on_the_mysql服务器2 Y4 J6 M  u( X9 R
  35. 密码= password_to_go_with_above_user_name . Y  [& m: o7 Q3 e8 Y
  36. getdriverfunc = getsqldrivermysql
    / a" E$ ^; ~) ^3 {5 d! s$ o% W
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    , f3 y) E; X, i, i& ~
  38. libraryname = path_to_libsqlmy_libary
    # C" x8 i5 p4 E: v8 {$ w
  39. 积极= 1
    6 B8 O6 J% Z( l" w/ Z/ q
  40. ---削减这里--- # T& ]0 {% ^; u* w
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: * z0 Z; |7 w* X3 y# j# E* D( C
  42. ---例如---
    & M9 y( Y5 R0 T) v
  43. [ dbexpress ]
    2 N: ~/ A# i: O+ b3 w0 @: T3 I) s
  44. sqldir = mysql_sql
    # k# U" W' R9 F& j( \' k
  45. drivername = MySQL中
    , Y2 e$ g* k) Q/ D, {" ?2 a
  46. 数据库=测试
    # l8 P0 h2 P3 _  d0 X
  47. 主机=本地主机
    : c6 n% i# V/ S
  48. user_name = testuser 4 [) G+ x  {7 F: E# u! ?8 J4 o
  49. 密码= my_password
    : P! c0 `$ V  w& j
  50. getdriverfunc = getsqldrivermysql
    ' n- d4 ~9 g* j/ S
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    0 `$ U# H* X! Z" V
  52. libraryname =. / libsqlmy.so
    : X1 D: j2 }% h4 @
  53. 积极= 1
    9 P0 ^/ J6 ^" e0 f8 E1 m
  54. ---例如---
    7 L: V0 g$ [5 q

  55. 8 F/ N$ G0 _  d) F/ G; p* u1 T( p
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    1 M6 ^& e, T' V
  57. ---例如---
    1 F$ B2 @! M; N
  58. [ dbexpress ] + r2 S. C8 B& c0 [: W
  59. sqldir = mysql_sql # x1 k5 @. Z/ l: N4 z: L0 S6 `
  60. drivername = MySQL中
      l9 W' ~( V3 s1 w4 E
  61. 数据库=测试5 b- Q  s, s$ B# _3 [
  62. 主机= 127.0.0.1
    7 O( k2 I8 O, M! v9 U2 [
  63. user_name = testuser & Q  u- B2 D* g# k8 z( J5 V, n
  64. 密码= my_password 0 s$ S: j  ?9 _+ G/ F- U  I# [3 W
  65. getdriverfunc = getsqldrivermysql
    # N1 ~$ z2 I  _( g
  66. vendorlib = libmysql.dll在
    , @3 k  C" ^# d
  67. libraryname = dbexpmysql.dll
    % Z8 }7 W4 t; K( ]
  68. 积极= 1
    , D5 Q  W1 z  ?5 |
  69. ---例如----
    - }7 {( p" Y% T$ B0 m
  70. -写在0 2.03.04由p wk.linuxfan
    & L$ d( l/ }3 V  M
复制代码
发表于 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- M8 _: x/ w3 L' U2 Q) |3 S

# P, ~' \0 X6 Z0 `& P) kbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-22 05:03 , Processed in 0.098907 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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