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

2229 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
8 g3 a# }/ O( s9 c; S  M- w4 }2 e  l
  1. * ?% z& X1 a& ~. R6 h. F8 T( r/ Q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    7 A: d) F4 c" k5 C$ x* N# O2 Y
  3. % \; j1 ^1 b( b
  4. ### What we need ###
    ( W6 s' S+ b! I" Z
  5. Naturally, we will need a MySQL server to store the data for us, this document
    " ^& j: @( d. P& p
  6. will not explain how this can be done - there are documents out there for the
    0 W/ f# l* [" I# |+ Y: y, M0 z
  7. interested. The requirements include a (empty) database for TeamSpeak to use+ K. J# l4 T4 M% c
  8. and a user account (username + password) that has the permissions to do stuff* v0 X1 _, @3 H8 V
  9. with the database. Additionally, you will need a vendor library installed on the
    ) K5 T- g$ M0 ^9 v3 t, x- G
  10. local machine, this came with my MySQL install.
    3 z" ]6 P) X" ?- e2 _' t6 \5 X4 q
  11. These instructions will not tell you how you might transfer your data from the8 B) _; P( e$ G  y8 v1 ^
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ( g5 D; Y" Q7 Q0 @
  13. database.7 j8 j% |, g6 `+ X- i' n( w( F: z
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    1 V9 M/ o  ?- a2 W# G3 A9 T- o. g
  15. the time of writing, there are still too many issues - check the current status; V# V) n  ?$ n
  16. in the TeamSpeak forums if you are interested.
    ) I7 p+ q# J4 B3 m9 ?: |( n, D, g
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    2 \6 A. ?$ i! {: v& \
  18. Borland was used. This driver can only interface with the client library that 8 R# ~/ A9 g4 m" {0 K
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this! Y: m. ]: P% l6 u  K; c  H1 N. q. h
  20. client library - basically all you have to do is to use a 3.x client library as
    0 J* E  [9 \. L* i8 U& Q- L" G. V
  21. "VendorLib" and a 4.x database to connect to., |! Z5 S4 Q1 [* `2 E
  22. If you need more info about dbExpress, you can contact Borland.
    3 L3 X# w3 o" w9 n  m) U1 B

  23. 9 }+ I3 W$ p2 [7 p' g
  24. ### Doing the work ###
    % Y# ]6 H" h8 m( t+ t; A) W# m
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    / c# o3 D9 R6 p( y. G# N5 a; O
  26. the perquisites right, just open your server.ini file, and add this section at7 t/ T5 L, a* @8 J6 _5 x
  27. the end:
    6 {0 I& D% K4 d  \! `3 |; P+ o
  28. ---cut here---
    % z  ^# g; A7 ^% y
  29. [DBEXPRESS]' j7 Y) A0 M0 u0 w& @% x4 p
  30. sqldir=mysql_sql( T( G* z* s0 q$ b% O
  31. Drivername=mysql
    7 E$ b- J* j7 _* A& z( q8 g
  32. Database=Your_Database_Name_Here1 o! M. d7 t, ~) x& P
  33. Hostname=The_PC_the_MySQL-Server_is_on: S7 E6 ?  ~: N; V: H* S+ E% O. d; _
  34. User_name=User_name_on_the_MySQL-Server
    - y5 n9 U3 l! N; s6 Y% b( m8 n
  35. Password=Password_to_go_with_above_user_name
    : h' _+ y& e5 `
  36. GetDriverFunc=getSQLDriverMYSQL
    * T$ z: k9 H7 s9 P6 i1 x  O
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib; G6 ?, e" ~2 ~. p+ r& Z/ w: ]
  38. LibraryName=path_to_libsqlmy_libary
    ' R4 `0 t2 M( x- K* Q5 u1 i
  39. Active=1
    1 e" _% s& t7 @3 |
  40. ---cut here---( |0 ]* @5 I! ^9 u
  41. In my environment (a linux box with a MySQL server running locally) I have:
    . e7 c; H* K! Q0 s' W1 s7 z
  42. ---example---
    ' W0 U0 w* O  M9 [
  43. [DBEXPRESS]
    7 v8 I5 @& \, E
  44. sqldir=mysql_sql
    : f1 h1 n% z- m  s1 p( v' j  Y
  45. Drivername=mysql  ^/ I5 s& n) k7 s
  46. Database=test+ |3 [  X% V; Z6 K# g8 H
  47. Hostname=localhost
    & `& {5 h# O" E! o$ r
  48. User_name=testuser
    9 [& A- l2 R. O
  49. Password=my_password8 I0 X' [! e  T5 p1 `
  50. GetDriverFunc=getSQLDriverMYSQL
    $ F% ^' c6 |+ c2 ~6 }9 J. @! G6 l
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ; T8 _! B4 \' [/ R
  52. LibraryName=./libsqlmy.so
    6 N, `6 \. b" @, L
  53. Active=1- p% o# v4 M& {) n7 a
  54. ---example---" {) I7 Z& p$ q
  55. 6 w% O' O6 e5 r1 q6 i- f+ k) X1 K, J
  56. On a windows box, also running the MySQL server locally, it would be:3 E* x4 ?9 h$ M
  57. ---example---7 ?* B% b; M; t6 r3 v6 o
  58. [DBEXPRESS]
    ) p. ~% o6 `! Y) U
  59. sqldir=mysql_sql
    ; `' k) ]4 V/ l9 Z/ y. Z
  60. Drivername=mysql; S  h8 }- v% ^+ ~, F
  61. Database=test9 Y- S: t9 c% P# T
  62. Hostname=127.0.0.1
    $ a' s1 ]3 Z8 E: _# P$ y+ o: _+ a
  63. User_name=testuser' F3 w0 N' F0 v8 G9 m- T
  64. Password=my_password
    / h- J  \7 Z# q! ^9 |
  65. GetDriverFunc=getSQLDriverMYSQL0 |2 Y- ]' Q7 n: V
  66. VendorLib=libmysql.dll
    / R- T+ p7 E2 m: `% R
  67. LibraryName=dbexpmysql.dll
    1 Q# a" r6 B6 r
  68. Active=1
    4 R3 G9 |4 C- T4 s- J* y+ D* X
  69. ---example----
    - W; ~. K+ q4 v
  70. - written 02.03.04 by pwk.linuxfan
    7 H  B  a* a0 }7 O& u
  71. / x  p9 Y8 Z5 D
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
5 d' ^5 i! e) H, c. @
  1. 7 Z* T& }) T* |  L0 U, x* T
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    . s8 D! z! t3 W  n2 V+ u) g
  3. ! [* Z+ W3 R. h# Y# u# f
  4. # # #我们所需要# # # - s3 ^1 m" @& `$ s+ e: L
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件3 h: I& x9 P$ |& J3 o! X
  6. 不会解释如何做到这一点-也有文件存在,为+ N" D2 o% y) ]1 X2 ~
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    $ `) ]8 O6 H1 A& M9 @
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西; @7 M* [; }4 c( c1 Z7 H2 R
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    7 D3 `" s1 x3 \; w  w# S1 l, y5 X
  10. 本地机器,这是我的MySQL安装。
    + K9 T- T0 w* a6 q8 N
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从1 R" N! U9 M( A+ z9 u% _1 [
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 8 X" t1 E2 b) Y( |
  13. 数据库。
    4 ]  d. {/ z/ }: E- R/ G4 n5 M, w
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在& `& ~$ V9 S* E- i  p
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    $ R3 W; @3 p, g8 o
  16. 在teamspeak论坛,如果你有兴趣。 $ a) J0 Q$ M6 b# u% q
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    5 @$ A/ x* Z  ?( ?- J. f
  18. Borland公司使用。这个司机只能界面与客户端库
    8 O! S. ?# u7 b& |1 H) B
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    : f+ z* Z; M" J! x7 S
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ) X) a3 Y0 u) ~3 W4 g
  21. " vendorlib " ,并解数据库连接。   N4 `+ W. E: u
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 * ^& w& J3 i8 f

  23. 8 D5 O9 V- V1 L8 g# I  A- H
  24. # # #做好工作# # # / w, |% a/ j) _
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    - K% {- D0 c- ?8 e) U6 G. `+ F( e, n
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    + G/ _! v. Y9 M3 l& h" q, X: k
  27. 结束: / W& [7 C5 }( m% b  V4 p
  28. ---削减这里--- 0 H1 X) k' `5 h$ _: y
  29. [ dbexpress ] 8 Q4 z# [3 ^5 k/ w1 Y# z
  30. sqldir = mysql_sql
    * i$ ?% v# Y: Z4 d
  31. drivername = MySQL中+ }, D  ~8 \# t, d, }
  32. 数据库= your_database_name_here $ |  m; |5 L1 h% W* c0 v3 ~
  33. 主机= the_pc_the_mysql - server_is_on
    / O* m! X- u# z% k( t! L2 w
  34. user_name = user_name_on_the_mysql服务器- e& P( K2 u( f. n
  35. 密码= password_to_go_with_above_user_name
    8 S1 x. M5 W/ u8 N' s
  36. getdriverfunc = getsqldrivermysql
    * E4 E! f! V$ F# N9 {' S6 v* G
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    / w& @9 f4 a3 J% u, U
  38. libraryname = path_to_libsqlmy_libary
    # p, X1 s1 u, z& M2 i
  39. 积极= 1
    9 Y; H  a, @5 h7 t& O
  40. ---削减这里---   Y: x7 t8 _* @3 ?
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    + T3 Q1 O" A0 r0 w
  42. ---例如--- % u! g1 Q2 S- B0 x8 ?
  43. [ dbexpress ] + o. J7 J  F0 G* h! {! D) T# k
  44. sqldir = mysql_sql
    & K1 n/ u1 a! b7 l  z5 U' G
  45. drivername = MySQL中4 M, I2 ?3 j' Z
  46. 数据库=测试( k- q# y  k5 ]5 x5 W
  47. 主机=本地主机1 ~$ I' q' e% x8 ]
  48. user_name = testuser   o" k9 v! z( ^; f( L) j+ v
  49. 密码= my_password
    0 B: ^7 w. h) ], e# B' y9 \
  50. getdriverfunc = getsqldrivermysql : p, b1 u2 k" r  i( o3 s$ C
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 & ~6 @4 }/ v" p+ H9 a. D* ~+ s" L- i( N
  52. libraryname =. / libsqlmy.so
      z% m" G6 j2 y( P) V
  53. 积极= 1
    ' S* D/ p7 ^% K3 W1 I8 C
  54. ---例如--- % G  E1 k' j5 \" m" v
  55. & p2 X( }2 J3 L( a
  56. 对Windows中,也运行MySQL服务器本地的,那就是: & O# b  H$ S8 Z8 i3 U/ c6 F' ~
  57. ---例如---
    7 A$ m( B9 V' o" `9 I. F: [% f) e
  58. [ dbexpress ]
    + y) o7 `" N( J6 y
  59. sqldir = mysql_sql : `: C7 q% Y. Z2 X: k
  60. drivername = MySQL中. R1 C" ]/ x6 ?5 ]0 Y3 j
  61. 数据库=测试
    # T" s9 w# w! J; q% t
  62. 主机= 127.0.0.1
    8 S2 H  e& C: ~; \6 R
  63. user_name = testuser ; a! E2 X/ D$ Q" O5 J
  64. 密码= my_password 3 r5 Y9 w: \# i
  65. getdriverfunc = getsqldrivermysql ( L( f: Q# B4 E$ l8 O: }
  66. vendorlib = libmysql.dll在" b4 X& y5 O$ z& S' j
  67. libraryname = dbexpmysql.dll - j8 a& m6 A" u  [. J1 N, l0 \
  68. 积极= 1
    % ]4 |- v: F1 b- {( U, p& k$ y
  69. ---例如----
    $ X9 J0 B) N& C. x
  70. -写在0 2.03.04由p wk.linuxfan! i: L3 w0 C- q1 N) M3 d
复制代码
发表于 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 words7 L+ a! Z0 @: i
/ o7 K' b9 {! [5 U% m
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-26 03:24 , Processed in 0.109524 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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