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

3200 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan / e& N& F2 O: j; s$ F& l  I3 u
0 c% I9 x' x% y9 }' M4 n; Y3 Q

  1. 6 w* C( x  R7 t  \
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    5 M( {" T# V! q

  3. 3 @, n6 Y2 p# K* q  a5 D
  4. ### What we need ###/ Y0 `, u$ e: |8 o
  5. Naturally, we will need a MySQL server to store the data for us, this document
    , W8 U8 {8 @$ V2 O
  6. will not explain how this can be done - there are documents out there for the / n% ^) r& r5 b2 F6 o" H" f5 }: F
  7. interested. The requirements include a (empty) database for TeamSpeak to use* u2 t- q( m, `6 |
  8. and a user account (username + password) that has the permissions to do stuff8 e  V$ c+ ^4 B* t- T
  9. with the database. Additionally, you will need a vendor library installed on the$ h$ P! `" _. h% _! }' Y$ w  S
  10. local machine, this came with my MySQL install.
    ) M" r7 b+ O2 \0 r( X
  11. These instructions will not tell you how you might transfer your data from the
    1 |0 q, U6 S- b9 ]* D5 }$ x
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    8 }2 \" T: c0 Q2 x$ \' Y
  13. database.0 z# N* Y/ @; G- c2 t) A
  14. Some users have reported ways to import a SQLite database into MySQL, but at. g/ }! S  U0 J' T# ~/ ?2 a- V
  15. the time of writing, there are still too many issues - check the current status
    8 O- s" U8 y" M- D% g' ~
  16. in the TeamSpeak forums if you are interested.$ A$ X: [) f; x' e" }
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    - P  [/ u% i8 o8 e. B" J
  18. Borland was used. This driver can only interface with the client library that 3 ^% |" |& A- \0 T6 _4 [% z& J  B
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this: }. @" x  ^! V
  20. client library - basically all you have to do is to use a 3.x client library as
    + g0 n& C6 m" c$ p8 k. U/ p; V
  21. "VendorLib" and a 4.x database to connect to.% i4 V6 W5 |* ?  K, ~
  22. If you need more info about dbExpress, you can contact Borland., h1 d7 o6 W) a/ G" [1 f* ]

  23. . q1 [& X$ W0 }2 C! w1 K
  24. ### Doing the work ###
    - h( C0 }' }  X" n" Q* U
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    7 \4 e; ?3 j# q3 c& Q% R
  26. the perquisites right, just open your server.ini file, and add this section at
    & y% j1 M& Y+ U5 A& o/ D
  27. the end:
    $ j, G" F# }" q  S+ `$ u
  28. ---cut here---
    5 U+ Y& |- D' u! ^. M2 O
  29. [DBEXPRESS]7 y- ]# J+ v1 G: v2 J
  30. sqldir=mysql_sql
    ! c( ^2 n) e$ w4 Z
  31. Drivername=mysql6 C2 r+ F& T) b0 ^! C/ q9 _
  32. Database=Your_Database_Name_Here* P0 P! W1 l) U# o$ ]" c
  33. Hostname=The_PC_the_MySQL-Server_is_on
    $ a0 A. {9 f8 I7 r) ]
  34. User_name=User_name_on_the_MySQL-Server, @- j, Y+ T# m5 L7 v
  35. Password=Password_to_go_with_above_user_name
    / N5 Y! p( C$ }# L( g. M" K7 g
  36. GetDriverFunc=getSQLDriverMYSQL
    9 |" _- }9 R( C9 o: m
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib8 s( K; P, C7 P' c& j1 t
  38. LibraryName=path_to_libsqlmy_libary7 M6 P, q5 R7 \5 {3 [# |' f
  39. Active=1
    / v7 h& `" y  \$ {
  40. ---cut here---
      J  D6 e8 G3 D
  41. In my environment (a linux box with a MySQL server running locally) I have:
    9 E' w. z/ _' |$ f- D
  42. ---example---
    8 z  d2 J3 r* T+ d/ E# d: r
  43. [DBEXPRESS]
    , ?* b& R4 w- u
  44. sqldir=mysql_sql9 k$ E+ K: Y; S% N# g
  45. Drivername=mysql4 |; f4 x) i$ p7 F
  46. Database=test. K) r  k9 {& m: |5 q+ k" ~
  47. Hostname=localhost1 a& X& Y! C# A+ T, }
  48. User_name=testuser' X! r" ~9 v0 v1 l0 r# p, P& ]6 O
  49. Password=my_password) r# q4 i* c2 H! h- C
  50. GetDriverFunc=getSQLDriverMYSQL
    2 M. H0 L& V/ x& H4 L, h
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    & J" M) l& S- E- {9 w$ d
  52. LibraryName=./libsqlmy.so) R  P9 i3 b( r% ~4 e7 A: d( H* n
  53. Active=1/ W3 {% w3 K3 l$ x3 V
  54. ---example---$ P7 H; w( j+ g+ y( y) f
  55. 2 A: |% w2 a* W9 _* G
  56. On a windows box, also running the MySQL server locally, it would be:! N- z$ y/ z2 ~+ q1 f. x2 m
  57. ---example---, [0 o+ d$ w" c3 D5 Y( a1 Y
  58. [DBEXPRESS]9 x5 v: K2 j1 B- L  O" J
  59. sqldir=mysql_sql
    2 [8 r0 B' W% q* M* L
  60. Drivername=mysql2 _6 s4 o0 G3 p
  61. Database=test
    0 S' ?3 {7 {% _; @0 q7 ^
  62. Hostname=127.0.0.1; u# ^4 n$ |4 Q" j4 }2 L
  63. User_name=testuser" \$ A: j( O* ?
  64. Password=my_password
    / G* k! b6 X, U, s
  65. GetDriverFunc=getSQLDriverMYSQL
      u  o5 _0 w6 f4 y: S* c& W' m
  66. VendorLib=libmysql.dll, o7 x$ \) W1 Q7 v2 h0 ?2 S
  67. LibraryName=dbexpmysql.dll
    % E8 P3 w. l" X; a% P2 a
  68. Active=1
    * S: n: b0 V2 G+ s
  69. ---example----; K3 @: Q- Y! G5 C1 @
  70. - written 02.03.04 by pwk.linuxfan
    7 E3 n& i% u6 K- u+ Q# ]" J; v9 o. [
  71. % m  P) ^( r& B+ R* g
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
9 i) m) t% N* f0 I4 D, m5 M
  1. ' @8 G+ h4 _1 ?8 K) ]2 Y$ `
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 2 m) r# J/ h) V. s

  3. & t& ]. a4 W( e7 v0 L9 @4 g
  4. # # #我们所需要# # #
    ! w5 q- b$ ]4 t4 B
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件$ J6 F' f: J* F- }+ [
  6. 不会解释如何做到这一点-也有文件存在,为3 D; z% W6 v2 N% x+ f. ~7 y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    + }; O8 K- P: N8 @* B
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ; t3 E$ K& P+ o+ n
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    % [, S7 c0 e6 l* y" |, X
  10. 本地机器,这是我的MySQL安装。
    . F# x3 _& K$ [, q! f
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从+ n- s6 t" d" o& s
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
      |7 d# G2 R0 r% {" ~
  13. 数据库。 + |2 A2 h1 R8 Q5 \
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    # P8 h) n  ~$ E$ F/ |
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    " t7 I* A" F2 D  i) x  C' |
  16. 在teamspeak论坛,如果你有兴趣。 ; x. ?! U) t+ I' x# c- G' y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机; m8 U6 {( d, H7 P; M1 f
  18. Borland公司使用。这个司机只能界面与客户端库: k0 }6 u- K+ I
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ) z2 Q. W3 w% I0 p! N3 w$ ]
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    - t. `$ A8 l8 {0 W' J
  21. " vendorlib " ,并解数据库连接。 # |; Q  E3 H1 \& q; ^" B0 c
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    6 f$ y8 ~3 m  e, _: T
  23. # g7 a# Z8 |* M! m+ n% H
  24. # # #做好工作# # # ! M, e& R  b+ \
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都# F- S% k7 P: U0 i
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    * M4 c1 h+ n3 d, f" B. M
  27. 结束:
    " B8 l" J; U2 b8 P7 a
  28. ---削减这里---
    3 [1 W' N; ~5 g
  29. [ dbexpress ] 5 h- U6 D+ n2 _' G
  30. sqldir = mysql_sql + j1 p5 T' T- w; ^% f, m( C
  31. drivername = MySQL中  F* W  E& |1 f7 L  D
  32. 数据库= your_database_name_here
    4 z5 g7 y+ J( @/ q3 O- _: ?
  33. 主机= the_pc_the_mysql - server_is_on
    5 B$ j" P- A1 S- E3 U# ?
  34. user_name = user_name_on_the_mysql服务器
    & Q1 C7 I+ A0 }8 K+ V/ \& O5 b+ G
  35. 密码= password_to_go_with_above_user_name # d' X& w2 a0 e6 v8 F; t
  36. getdriverfunc = getsqldrivermysql # M% I! s- }  F- p$ d- ]
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    3 p: G9 n9 Z& x: v: R
  38. libraryname = path_to_libsqlmy_libary
    : e9 O% V* g. ~3 G$ r! y
  39. 积极= 1 . Y) H9 D; F3 l% n( s  W
  40. ---削减这里--- 9 r+ @; p. u- ~. p  ^# D8 f
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: " P: X4 e3 o" P( L9 B) L' G
  42. ---例如--- : k: S5 Q' r/ S5 {4 C6 l
  43. [ dbexpress ]
    2 K5 W1 B2 k9 r+ w- Q6 H
  44. sqldir = mysql_sql
    9 O+ o  |7 I: r# H3 J9 Q
  45. drivername = MySQL中
    - c! Z+ J8 R6 G1 z( m
  46. 数据库=测试
    , M, q) y* s  e& K5 K. T
  47. 主机=本地主机
    : q( x. c9 @% a$ t
  48. user_name = testuser
    3 b2 m& {* O3 R
  49. 密码= my_password
    " `: D" t5 x; l. D6 Z
  50. getdriverfunc = getsqldrivermysql * p4 k4 d. P) W6 _" Q6 d. q" o
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 * ]4 @! C) J" z. J  W
  52. libraryname =. / libsqlmy.so 5 @+ I7 L$ g; d* I
  53. 积极= 1
    ) z% ^/ w4 v" n7 X
  54. ---例如---
    ! U* V2 A( l- `1 ~9 `

  55. # x  X" L/ w$ }/ l5 N( N
  56. 对Windows中,也运行MySQL服务器本地的,那就是: # N+ p, q- \- V6 ^
  57. ---例如---
    / b% d4 H# W/ T. ^6 w/ x3 L2 P
  58. [ dbexpress ]
    ) k7 b/ q# u& m# W
  59. sqldir = mysql_sql
    - X- W7 K( S  w' Z" \
  60. drivername = MySQL中' Q2 f3 \9 Z9 K6 l7 K* u5 q! o8 R
  61. 数据库=测试
    4 ]! v% p3 T, w+ O2 y7 f8 O
  62. 主机= 127.0.0.1 7 X1 l* R8 R5 p) ]4 I
  63. user_name = testuser 6 t( v- P- o( N
  64. 密码= my_password
    , ?% y' ^' @6 Z; {9 b. h& R/ Z5 W
  65. getdriverfunc = getsqldrivermysql
    $ ^; L+ [8 w6 m( {
  66. vendorlib = libmysql.dll在3 a( D) s- Q& O3 z6 _
  67. libraryname = dbexpmysql.dll 3 o- T4 [  Z8 a. I8 q+ J6 u' j
  68. 积极= 1
    $ b! L! a& J* V+ r
  69. ---例如---- 8 o$ H: V; f9 u. Z5 ?
  70. -写在0 2.03.04由p wk.linuxfan1 z0 c0 C5 v4 O7 w" @$ ^" 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
% L5 t; [! I7 u4 G
8 e; @$ e0 t$ L5 q7 @but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-20 21:05 , Processed in 0.101563 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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