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

3308 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
+ U+ G0 _* ?& Y5 U7 u2 j
# s0 A% K% p6 X) i" O8 g
  1. + U* W! B/ Y2 ]% ]9 V
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######* m2 K/ h: }0 ?$ M! Z. c
  3. # c0 ?1 K" c1 N# u
  4. ### What we need ###1 ]; g% p% m; j6 ^
  5. Naturally, we will need a MySQL server to store the data for us, this document # S9 o) b) u  G2 D8 E
  6. will not explain how this can be done - there are documents out there for the
    5 F5 y# Q9 j0 w& t
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    3 h- k6 m$ F0 ^6 q/ S$ J2 _
  8. and a user account (username + password) that has the permissions to do stuff
    6 g# y  }. N/ o5 J6 y0 g3 j6 F9 ^: P
  9. with the database. Additionally, you will need a vendor library installed on the: }8 _1 \' U" H% V* }
  10. local machine, this came with my MySQL install., [& V5 E7 }) e8 ]8 D( @
  11. These instructions will not tell you how you might transfer your data from the# c  W$ ]  R+ C: k' d5 b
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL. d! f1 p" W& _5 @" a1 j2 ~
  13. database.( |6 }$ t) N5 ^* j; l
  14. Some users have reported ways to import a SQLite database into MySQL, but at# y* Z  k3 ^+ R" h1 C
  15. the time of writing, there are still too many issues - check the current status; T& A, ]$ L# }" t. r
  16. in the TeamSpeak forums if you are interested.
    4 [, _# Y9 Y* j# f- \
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from: j) |' j5 d( F
  18. Borland was used. This driver can only interface with the client library that - n3 I$ ~5 i  X  \
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this3 A, [: i4 ~& V# j9 L$ s5 Y3 t0 J+ S
  20. client library - basically all you have to do is to use a 3.x client library as 1 r( }* u6 `0 O* \% T
  21. "VendorLib" and a 4.x database to connect to.
    9 q# ^+ z/ r- a8 I' u
  22. If you need more info about dbExpress, you can contact Borland.
    1 d9 }+ J# x  k- F

  23. 3 h% f/ V% v# c- a& R. l9 s
  24. ### Doing the work ###+ s" x2 I+ [- l9 _! K- T
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all% l+ U0 {$ i4 b5 d/ ]) N
  26. the perquisites right, just open your server.ini file, and add this section at
    9 j( s% k, s) [& B; }# O  I
  27. the end:
    " L% E$ r; l. h
  28. ---cut here---' U7 C! F4 g! z8 W5 X
  29. [DBEXPRESS]
    ! Q* \  h- A9 I# j  ?
  30. sqldir=mysql_sql
    / {  H  h7 o2 @" X5 E9 Z
  31. Drivername=mysql1 _# Q/ a( ~& ?1 \  B( P" W
  32. Database=Your_Database_Name_Here
    1 z1 J( D. ?2 N8 h
  33. Hostname=The_PC_the_MySQL-Server_is_on. ~$ _! s1 I) ?$ G2 Y
  34. User_name=User_name_on_the_MySQL-Server
    % {1 e6 m$ J- c' m
  35. Password=Password_to_go_with_above_user_name
    7 E3 \9 l& o9 V. Z1 {: A2 o+ Y* ?
  36. GetDriverFunc=getSQLDriverMYSQL2 ]; r, D) t- r; C) e3 _
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib5 B6 C- x( o+ q9 R) W, c# g
  38. LibraryName=path_to_libsqlmy_libary
    # y# g" \# ?) r
  39. Active=1
    * W8 ^3 N6 q' Z5 O
  40. ---cut here---
    4 p8 H0 |0 K$ S; M9 G& K" f3 [* N! B
  41. In my environment (a linux box with a MySQL server running locally) I have:/ ^4 ^! C2 w' X* ]
  42. ---example---0 [2 ~. G! j2 o% |0 Y# y. B
  43. [DBEXPRESS]
    4 L1 C: V) P$ [- Y& q) n- `
  44. sqldir=mysql_sql2 `5 l( Z8 F6 l% a  ?
  45. Drivername=mysql) v) {, n9 c  e+ p* n; n: T
  46. Database=test7 x' ]8 J  g. o' Y) G
  47. Hostname=localhost) Z) R$ Q/ |, x$ X
  48. User_name=testuser
    0 U; u" f" z* @5 N. Y% l
  49. Password=my_password$ l8 H) a5 O- v4 R$ w. c
  50. GetDriverFunc=getSQLDriverMYSQL( U3 {  C2 @, [! l7 a- N& {) G
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0. G1 w( d& L, z: u2 ?  |' f* Q/ J0 j
  52. LibraryName=./libsqlmy.so  `1 r$ N) K; a  V8 u$ X$ Z4 S
  53. Active=1
    ' j9 j4 }; M9 }$ D; R9 s- R$ Z
  54. ---example---# x2 l/ o0 S2 j8 [2 t, H
  55. ; i7 z% X, A  D+ L( f. y! r+ X/ I
  56. On a windows box, also running the MySQL server locally, it would be:
    ; u, X6 L$ F, g$ w  p' L' b" h6 M
  57. ---example---
    - S+ i! x1 r  F
  58. [DBEXPRESS], W: ^  q1 s% t% `
  59. sqldir=mysql_sql* U/ y. x8 M& z# `& \! [
  60. Drivername=mysql+ R! _' q( }9 Z  G& g
  61. Database=test  K* A2 R1 [0 F4 g
  62. Hostname=127.0.0.1: f' [2 S9 l+ {1 a
  63. User_name=testuser* `) d7 N2 a: g! F
  64. Password=my_password& x2 ^- N2 u3 J( Q: I4 m: c
  65. GetDriverFunc=getSQLDriverMYSQL4 a/ A0 P" h6 P  s4 i; @3 s$ r1 D1 Z
  66. VendorLib=libmysql.dll
    . ]( P# N4 D/ _2 B% V
  67. LibraryName=dbexpmysql.dll  Z& t9 }2 W. C! \+ H- F
  68. Active=1
    1 `! A0 |- ]" T& S. ~7 R/ Q1 {/ ?
  69. ---example----
    3 x$ a+ a1 [; w3 m( s5 f
  70. - written 02.03.04 by pwk.linuxfan
    6 |; p3 Z$ |3 y1 h3 D

  71. ( z& b- ?) K( _' Z/ x( l  }
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
3 `, ?) N- R3 c/ l" C

  1. & d9 B# F, V. a. z/ e
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : ?, r( P/ [6 a& \- I) C, _
  3. 2 n, _$ P: f( J- U& w# d: r. w
  4. # # #我们所需要# # #
    & _0 Q! e5 x/ `6 l2 ^; |/ D
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ( K+ P. c' I, {
  6. 不会解释如何做到这一点-也有文件存在,为
    : H& O& e5 B5 l. F% @% x, w
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用9 P/ G! }$ t. G
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    4 c3 G+ V+ O4 q3 T0 J
  9. 随着数据库。此外,你需要一个卖方图书馆安装于1 x- W4 t- A+ X6 e" v5 a
  10. 本地机器,这是我的MySQL安装。 1 Q& f7 [  ^1 M4 y, K. i* B
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    % d  t- j( [& s! L0 ?1 h7 U. j+ F5 z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    # v9 O, g, \% U1 ]- u4 ^
  13. 数据库。
    $ G( v/ x" O# Y9 e9 o( k
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    7 A1 @/ b0 v$ E* g4 S
  15. 编写本报告的时候,仍然有太多的问题-检查现状, H1 Y6 p# i1 R; Z" R" u# H
  16. 在teamspeak论坛,如果你有兴趣。
    1 C  X6 l$ u  }( W8 O
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机: }' k) y8 e. I1 ?9 r
  18. Borland公司使用。这个司机只能界面与客户端库7 }* [/ W: h. t
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这. ]2 N7 k8 W6 ]8 N; R4 k& E) D9 [
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    5 @) h5 b, o6 j; Q$ C, s+ o
  21. " vendorlib " ,并解数据库连接。
    * |4 @& ]* Q7 |& ]3 |6 C
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 / K2 u/ y& {3 v9 y
  23. 0 U+ Y9 s; f( }6 h: ^
  24. # # #做好工作# # # " L. T* F* A. f7 E3 h
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ' e  ?7 F( k, d: Z& y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在" u, ~5 @. _1 [6 \# w- \
  27. 结束:
    & X  w( M; u" F
  28. ---削减这里--- 4 _7 {9 X! l* W' b
  29. [ dbexpress ]
    ' k, f$ R- F) L  q
  30. sqldir = mysql_sql ! ^$ n/ {+ I, t
  31. drivername = MySQL中
    + x, I9 W0 p, }. U/ n; K/ T1 N
  32. 数据库= your_database_name_here
    0 H* z8 u7 j8 E! V# z
  33. 主机= the_pc_the_mysql - server_is_on / s1 U  \3 t. b
  34. user_name = user_name_on_the_mysql服务器$ \. t. C$ _$ W/ z
  35. 密码= password_to_go_with_above_user_name 5 v2 Z1 N' s% H% {$ G% @0 z& [
  36. getdriverfunc = getsqldrivermysql
    $ e( m% C# C0 @4 D
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib # m9 T/ C, J6 z( y7 I3 E) X7 M
  38. libraryname = path_to_libsqlmy_libary
    9 M- n; g' f7 A% P( i
  39. 积极= 1 ) u! D( S$ p) v  U
  40. ---削减这里--- & `# v& u3 O" F) B- N- c! s7 ^
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    & l( X3 F3 @7 c% {5 z$ o
  42. ---例如---
    ' ^6 D6 d; j$ l& P
  43. [ dbexpress ] / t9 }$ s" a2 j2 S1 O9 ^! v/ i) I
  44. sqldir = mysql_sql
    9 r8 f" R0 }- G9 d) J2 Z% W( h
  45. drivername = MySQL中' w3 Q( _/ x" g$ M
  46. 数据库=测试& }- d: d" Z7 Y4 d& M( @
  47. 主机=本地主机/ t8 t. K" R, v3 M
  48. user_name = testuser
    " j+ L, T: G* H# k) n, h+ u; ^# |! U
  49. 密码= my_password
    0 l/ H# u3 }. C, \" Z2 F
  50. getdriverfunc = getsqldrivermysql & G4 j( v3 Q1 ]6 u2 }. V
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 * r* r  Y  A$ i# m/ F( h
  52. libraryname =. / libsqlmy.so
    1 _- F/ V4 q1 {& t* }% I
  53. 积极= 1 * s$ V7 p$ l- {
  54. ---例如--- + Q" V4 U9 U4 J: @2 Z: b
  55. % h, i# Q: Q  _5 J1 \
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    " L! D# ~  N6 C1 s/ a3 {- q
  57. ---例如--- & D9 t9 [6 F: n: `0 s3 V
  58. [ dbexpress ]
    / L9 D% e$ p) J0 |& W
  59. sqldir = mysql_sql
    - q3 k/ W; B" `0 }
  60. drivername = MySQL中$ @& P/ g% X6 i; ]& M' @
  61. 数据库=测试
    * A: x& V; ~" g# V/ S" Z
  62. 主机= 127.0.0.1
    1 s2 ~) u1 K& }+ Z% G$ V
  63. user_name = testuser ' X1 [1 B$ Y& F+ X6 G4 _
  64. 密码= my_password - N5 b- G/ o6 o8 s
  65. getdriverfunc = getsqldrivermysql
    6 M4 o# C! w5 O4 B& P0 M' k' V
  66. vendorlib = libmysql.dll在; H$ h- y- I: @$ X( x
  67. libraryname = dbexpmysql.dll * f5 [5 J8 c  [1 v2 W* J. M- w
  68. 积极= 1
    " ~( ^" z% G2 O* d  G9 v0 R
  69. ---例如----
    / i4 G' z8 G; ~! b
  70. -写在0 2.03.04由p wk.linuxfan& i& c2 c7 ?( w- A: `
复制代码
发表于 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
+ e% M  n$ y5 e* a* h+ s: C0 m1 ~% j$ ^9 d! p0 y( w
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-9 12:27 , Processed in 0.092014 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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