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

2270 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan " L6 g, d' w; T! j/ z7 P) V7 W8 w

, r2 X- q3 I- e( ~8 \8 b
  1. + G( M+ I  J4 f' F6 t& e% A1 y
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ####### \0 A, a  ]/ B$ q( Z) b

  3. " B* g3 l$ ?4 _. W: G
  4. ### What we need ###
    * @6 x& H8 `1 G! ]7 z
  5. Naturally, we will need a MySQL server to store the data for us, this document
    3 J9 ^9 S8 k5 v. G% D
  6. will not explain how this can be done - there are documents out there for the
    2 c, L7 [, v; o, t- }
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    / p! f* P4 w9 e' E
  8. and a user account (username + password) that has the permissions to do stuff
    . n  g9 [3 W0 G. j' J
  9. with the database. Additionally, you will need a vendor library installed on the$ X# V: \& v0 @  e5 z! n
  10. local machine, this came with my MySQL install.
    6 ?+ M; x, \# ]( |6 k  _; \0 U! A; [
  11. These instructions will not tell you how you might transfer your data from the
    ( U: U! k6 O3 N. o
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    . ~; N/ m, M3 q  i, d( U6 z
  13. database., d: t& x$ R  `' D
  14. Some users have reported ways to import a SQLite database into MySQL, but at' N2 ~/ ^5 b9 S1 h
  15. the time of writing, there are still too many issues - check the current status
    ' ?1 k) i$ I' q9 i
  16. in the TeamSpeak forums if you are interested.
    7 v8 z) ?5 l2 x- t$ |' C9 k
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from7 ^  q4 k2 J  {& A2 H! L8 ?: G
  18. Borland was used. This driver can only interface with the client library that   x. n0 T! {- f% c3 N- i
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this8 O4 e# Y+ ]: v6 K4 X4 G
  20. client library - basically all you have to do is to use a 3.x client library as
    & W5 ?6 k! s6 Z* z
  21. "VendorLib" and a 4.x database to connect to.7 q1 D# M6 J; \
  22. If you need more info about dbExpress, you can contact Borland.
    3 i) ~7 N4 u1 f  W: p& T) _
  23. 7 ]2 B0 c1 d! L7 w" Q
  24. ### Doing the work ###
    + s% v0 `; M! D$ E5 M5 t8 o3 }9 b
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all" N# x1 D! @0 Y
  26. the perquisites right, just open your server.ini file, and add this section at
    : e: n3 O! |; r8 q1 ?
  27. the end:) Y- s# [: S8 r& P3 ~
  28. ---cut here---
    " V3 [' n' s) j$ Z8 B
  29. [DBEXPRESS]- I* |1 y1 }) I8 J; g
  30. sqldir=mysql_sql% [; Z6 F1 i2 x" e$ j  |
  31. Drivername=mysql) t" A! ]+ M6 {4 n0 Q) B; E- k4 V& T
  32. Database=Your_Database_Name_Here- g8 l4 [& c9 N
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ) @% F/ B" y$ Y
  34. User_name=User_name_on_the_MySQL-Server
    1 r/ e9 h  U1 D
  35. Password=Password_to_go_with_above_user_name
    9 U5 S% j& l  S; C
  36. GetDriverFunc=getSQLDriverMYSQL9 L! e0 E7 A% R: o/ b  U* \; v
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib6 |$ x2 J) {! f6 ]# Q4 h
  38. LibraryName=path_to_libsqlmy_libary
    : V# L- q7 G, B  e9 P9 c( _" y! |
  39. Active=1
    - t, U: q$ W: {# [2 u& d) q, ^
  40. ---cut here---  o: t* @; j  h6 c: D' @
  41. In my environment (a linux box with a MySQL server running locally) I have:  T3 E2 d7 v5 S% g. \2 m
  42. ---example---( u, z" Q/ F" U5 c
  43. [DBEXPRESS]
    / K+ e! ^6 ]' k  {
  44. sqldir=mysql_sql3 s" ~/ S3 p- c+ ^* c# x
  45. Drivername=mysql
    + O) i; k8 |7 L7 s- w: N3 ^* @
  46. Database=test' T7 v/ f0 C" i
  47. Hostname=localhost
    " V4 A- B- r6 [9 U
  48. User_name=testuser
      D! T5 I( f, M5 p
  49. Password=my_password
    9 m3 g( l0 c+ X* Y! s
  50. GetDriverFunc=getSQLDriverMYSQL: P7 s# g) K9 A% [+ n/ B5 z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    2 }( s) F7 A' O: }, m
  52. LibraryName=./libsqlmy.so
    " b. `- W+ K2 M! n' F
  53. Active=1" F7 @7 e) J' ]/ [/ ?* X
  54. ---example---
    , [+ n7 N$ J( g3 ^8 G0 J" l

  55. 0 }6 x% V+ [. X
  56. On a windows box, also running the MySQL server locally, it would be:% I: o1 v+ t/ _4 _/ T( ]
  57. ---example---: s! \# x6 A% u+ |! e
  58. [DBEXPRESS]& x) q2 v- M' {- f6 p
  59. sqldir=mysql_sql
    3 R0 d/ D/ }; h
  60. Drivername=mysql
    : ~( M- {, S3 _
  61. Database=test, Q. y( C: U  [3 G- i8 i3 G7 y% H
  62. Hostname=127.0.0.1
    4 s2 i8 L$ |: G3 U3 v
  63. User_name=testuser/ k5 `+ G  N6 }
  64. Password=my_password! x; b. t8 y& ^1 a
  65. GetDriverFunc=getSQLDriverMYSQL
    2 Z' K/ y1 b" e6 I! x3 U
  66. VendorLib=libmysql.dll% \: Y6 k( F/ E/ Z+ Y6 y9 R* ]
  67. LibraryName=dbexpmysql.dll9 Q$ h: ~' ?. [$ D7 p- z7 H
  68. Active=1" X  Z2 W% C$ O" O6 L+ A; `
  69. ---example----, r- B4 ?' i, N# l; x
  70. - written 02.03.04 by pwk.linuxfan
    $ D: O; a* J9 g* t" H& H. M
  71. 6 [5 l" @$ H' R  ^/ |
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
+ @, Q  s2 k. n

  1. $ P" v) J4 \* T* Z  ^- ]3 T
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### # q- l7 q( A1 T/ W+ ?5 ~
  3. * R" S5 @2 O- e& a8 W
  4. # # #我们所需要# # # ) @/ B. F, F) S
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ; I8 k. t1 x. X0 o
  6. 不会解释如何做到这一点-也有文件存在,为
    3 y9 ~  E; y6 y1 K8 |, j, ~, X
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    6 V3 ^! A! q  A+ G$ y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西/ Y  u4 G  m9 b1 I, f, S* X
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    : v6 T$ K) K) s! d/ y
  10. 本地机器,这是我的MySQL安装。 2 `4 w5 A- Y/ u5 Q/ T
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    7 a& o8 P% D% f7 _& }% K
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 2 y3 T* d* s1 i" ]+ N3 D. U+ d+ p
  13. 数据库。 , {6 E/ p' c% C
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    2 I3 C% G! c$ p: b& H$ ?
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    & k5 R! u" U2 N7 m
  16. 在teamspeak论坛,如果你有兴趣。 3 M/ P' y+ ]) |" P' Q
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    & n( g- G7 `2 k( ?. [
  18. Borland公司使用。这个司机只能界面与客户端库
    / L( k3 N4 w6 L) b
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    1 W$ Q2 @+ K, a8 l) S! B
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    3 N9 Y9 d7 P, u/ \) U1 U
  21. " vendorlib " ,并解数据库连接。 ) ^0 F* V, [4 I, Z2 @* G  {
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    / m4 J! s& ]' Z- s& o, b: X- P% f1 k6 N

  23. ! d! X, O7 b1 n  r! `
  24. # # #做好工作# # # 0 E$ W) W( [9 `4 h2 s
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都3 @/ T* [; h# |7 L" Z+ v) u, r
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在9 K. t$ H8 ?/ ?9 S- z5 _
  27. 结束: 3 o6 W& j/ c: A% F5 j- Y
  28. ---削减这里--- . @( |: n) s( Z& ?* p9 k
  29. [ dbexpress ]
    ; _) F- g% |+ G3 S! |9 v2 i+ o
  30. sqldir = mysql_sql
    , g/ u9 c  R9 t& a9 e: Y
  31. drivername = MySQL中: F% O; c: _! G& `; I# U" i
  32. 数据库= your_database_name_here
    5 A  w. {0 b) O( n: g* t( k  b; K
  33. 主机= the_pc_the_mysql - server_is_on
    & p3 u5 A* D1 G9 ?) R& r7 ^/ d
  34. user_name = user_name_on_the_mysql服务器
    ( O% u' W; h5 R8 ?4 U
  35. 密码= password_to_go_with_above_user_name & u1 F3 M+ [! R
  36. getdriverfunc = getsqldrivermysql
    . i( z/ @2 j# a8 X' T
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib & R5 Q! E2 r# B; |6 s' |
  38. libraryname = path_to_libsqlmy_libary ) ^9 o% e( u9 C
  39. 积极= 1 3 p8 t  G/ `8 e# a! t
  40. ---削减这里--- : f  b8 u0 {8 R" G  j
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:   g' a+ w/ \! j7 V
  42. ---例如--- 4 h& f* H9 a* z
  43. [ dbexpress ] " y' c. p9 D1 |9 d: T: ^$ W
  44. sqldir = mysql_sql
    # g: j7 H4 V$ N* @" [' a9 h5 t
  45. drivername = MySQL中$ o* M, }- l; |9 a
  46. 数据库=测试' f; O' V- A+ e7 r2 W+ S
  47. 主机=本地主机7 u. B6 w( `  Z3 r' }# t
  48. user_name = testuser
    ( e4 R) i% b+ Q- s2 V
  49. 密码= my_password 1 n8 K9 P# K6 s
  50. getdriverfunc = getsqldrivermysql
    4 e( F4 _9 h# J$ c  a
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ; B- p) F9 r0 d  q9 \
  52. libraryname =. / libsqlmy.so
    * f7 }1 a5 ]1 Y4 o7 J( g
  53. 积极= 1
    7 o% U7 q8 T* r
  54. ---例如---
    1 i( c2 A% [: v9 Z! {
  55. 1 x+ T; |) L$ N
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    , y6 L/ [0 b" E2 V* O
  57. ---例如---
    8 ^& C( L/ g$ t' J- x& v, `- i0 q
  58. [ dbexpress ] 8 G8 t" S3 ]/ A8 X; C+ D. h
  59. sqldir = mysql_sql
      d; y: S0 ^" S( w
  60. drivername = MySQL中3 `! o4 k8 }: p% j5 a
  61. 数据库=测试
    ; p& S* |4 @0 @" t0 V0 U( l& t
  62. 主机= 127.0.0.1
    " H$ Q* `8 I3 x! X9 X" k
  63. user_name = testuser
    % o8 q0 P$ [' u  H9 y- @, \
  64. 密码= my_password 8 T! Z. T2 D( ^8 R8 c' G
  65. getdriverfunc = getsqldrivermysql
    4 o; o2 S8 |: S) E# l! {# L; y
  66. vendorlib = libmysql.dll在& V$ i; v6 j2 L0 z
  67. libraryname = dbexpmysql.dll 8 D5 {( T6 R4 }6 K4 T. f7 L
  68. 积极= 1
    8 p. v( E8 ~8 E6 C
  69. ---例如---- % L! Y  `# }5 H, X' m& `) ~* K
  70. -写在0 2.03.04由p wk.linuxfan
    1 D' k+ [# g( r) ]( ~  ?
复制代码
发表于 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" V9 e- d( p: R" F$ Y) _
; O8 N7 Q! U. U; x
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-7 00:58 , Processed in 0.113025 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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