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

2315 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ) l; ]$ I) C7 s  b. g7 n9 e

2 d$ A# j  L. \( N3 E4 z

  1. 2 h. U& \+ c/ O/ y3 ^, G/ l( a
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######1 z6 E9 W, q' l4 v2 ?& M
  3. . {3 ^/ u+ R# M4 [5 N
  4. ### What we need ###
    ! f: o9 t' @' ]
  5. Naturally, we will need a MySQL server to store the data for us, this document % ]6 k" J- Z' w7 y# E
  6. will not explain how this can be done - there are documents out there for the $ c8 O4 X- G- O& j
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ) c' m+ D, o" `2 _$ e, L1 G
  8. and a user account (username + password) that has the permissions to do stuff
    + I. [6 d) [/ k5 a
  9. with the database. Additionally, you will need a vendor library installed on the$ b) s* v8 ~1 m4 O; s
  10. local machine, this came with my MySQL install.' q8 a! O7 O  i8 G2 x; P
  11. These instructions will not tell you how you might transfer your data from the
    % G8 T$ a" z3 e( F, D1 O
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    9 T# f5 I1 R; m8 w1 @" A
  13. database.4 z! O& r- b. J  q! J5 M: i
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    1 n. o! O2 `5 S. z( Z' w
  15. the time of writing, there are still too many issues - check the current status% q, B) u& X% I/ F# }; p
  16. in the TeamSpeak forums if you are interested.
    0 ^& t1 k% U! F' K
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from1 m- M. T  J, e0 l) _4 a. Y  f) u
  18. Borland was used. This driver can only interface with the client library that 2 a! N+ n3 C8 I! u
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    $ E) r- g8 X* O/ {; a" F7 T
  20. client library - basically all you have to do is to use a 3.x client library as
    8 r& q% f7 m2 {" F8 w
  21. "VendorLib" and a 4.x database to connect to.
    $ A8 M" T9 j( U0 q
  22. If you need more info about dbExpress, you can contact Borland.* f$ M) K) l6 Z% K- F% H

  23. " U" E, B' r$ @# `
  24. ### Doing the work ###
    % g, J) j8 O) \% G5 l' l( n  r
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    6 l1 C; @* Q1 J! W/ }6 r- k; y
  26. the perquisites right, just open your server.ini file, and add this section at
    0 ^3 @- V7 p5 ^  o9 P/ O7 K4 u
  27. the end:2 C6 b9 T8 R. N/ I5 D7 ^# a# _
  28. ---cut here---
    0 x  H/ q/ J* r
  29. [DBEXPRESS]" Q2 i- i& _8 S4 G  S
  30. sqldir=mysql_sql
    0 B" G* o; l$ i- T! ^
  31. Drivername=mysql
    ! c& _1 L' U" @3 C# z- ]  B( X3 X
  32. Database=Your_Database_Name_Here
    : |# \* R' R8 U( v7 t7 E
  33. Hostname=The_PC_the_MySQL-Server_is_on
    7 h! m! a: P- \9 p( O
  34. User_name=User_name_on_the_MySQL-Server
    & Z" d! r9 h% ]8 }/ S7 n4 I
  35. Password=Password_to_go_with_above_user_name8 @6 f$ c1 l) F6 G# L, W$ c5 L
  36. GetDriverFunc=getSQLDriverMYSQL7 k7 m4 @* O$ O5 j
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    0 G2 s) l0 r5 G# [4 t/ P7 c0 P
  38. LibraryName=path_to_libsqlmy_libary8 J* c9 L) @( m/ W. E( H" i
  39. Active=1
    8 R8 v5 V& V0 Z0 b& R/ i+ P
  40. ---cut here---, z7 h2 G& ]% s, _8 c6 v1 G$ G% V
  41. In my environment (a linux box with a MySQL server running locally) I have:0 [4 P( U' K" |/ |  }
  42. ---example---
    4 C5 J/ @% D, M# _* A: Z( \
  43. [DBEXPRESS]& w- }* Z; v1 E9 P
  44. sqldir=mysql_sql% h9 b: |6 _# P, n  P- z4 j
  45. Drivername=mysql
    ; {9 A  i, J( m) F9 ]! ^
  46. Database=test3 w1 s" i! d* K! [! C2 P, o- }
  47. Hostname=localhost
      M$ t& X( o! C/ g" g# D
  48. User_name=testuser& a, o; z' A7 h! m* I
  49. Password=my_password4 W- l3 z9 s& k7 E
  50. GetDriverFunc=getSQLDriverMYSQL3 e" |' \! q+ K) x
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    # E  e* m! M3 H, ~1 G; c) |1 g9 X/ |
  52. LibraryName=./libsqlmy.so1 A2 I  J# J7 o1 P. H4 e/ `
  53. Active=1; [' m9 U) S( z6 C
  54. ---example---
    5 P+ S. i/ K/ V' H1 W( s, I$ @6 A
  55. # q$ ?; v/ g3 l* w2 {9 [
  56. On a windows box, also running the MySQL server locally, it would be:1 l# \1 F/ D  |/ S/ H0 v8 B6 Q
  57. ---example---7 p% q3 p1 K3 r
  58. [DBEXPRESS]7 _0 k8 p" J3 D8 @& [
  59. sqldir=mysql_sql
    / _! x: x, p2 F/ ^- H+ i
  60. Drivername=mysql
    ' {) M7 L0 x7 u& D( B4 q3 L+ m
  61. Database=test% x( H7 k7 ]. Q  x
  62. Hostname=127.0.0.1
    : z8 I: h' `& ?) r
  63. User_name=testuser3 y6 o/ m. `& V, Z* [& A
  64. Password=my_password
    2 w- K) _0 y. A4 D3 P9 ?5 E) I$ N
  65. GetDriverFunc=getSQLDriverMYSQL# F# C" k3 M+ t/ G
  66. VendorLib=libmysql.dll
    & o/ |+ b) I$ ]7 G
  67. LibraryName=dbexpmysql.dll" p5 L+ N7 v) o/ U+ A5 l% q6 O) x
  68. Active=1
    3 ~" Q% N$ ]# ~
  69. ---example----
    8 S, K6 a  Y! D+ U0 Q
  70. - written 02.03.04 by pwk.linuxfan1 `$ L% [  C+ i3 N% \8 c
  71. $ B  l' V& R5 l* }+ P
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
" B" H) C! |( W  ~1 n. w
  1. ' {+ N' P" s3 X: Q9 ], O/ i8 g
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    8 t7 V$ ~2 W8 e* [! p

  3. + `# I; R1 B. v8 {
  4. # # #我们所需要# # #
    & A: Z0 [4 b4 m- n
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    + y8 G9 k4 x  b; s/ _" z
  6. 不会解释如何做到这一点-也有文件存在,为# O* m3 l6 n. {, O: _! W. @
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    . J6 N: N' F0 p- X
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西3 p3 F0 U- k  p- u6 n5 n* Y
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    % G5 a4 ]* ]' d/ W0 t6 E
  10. 本地机器,这是我的MySQL安装。
    3 ]" H: X3 Q. P5 f
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ; [6 K& v) ]% T, R2 a
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 1 }8 U. ^, T; ]
  13. 数据库。 * k6 z( N3 x+ M: S) \- r
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在0 x5 [7 F9 z& t8 ]
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    & M0 F" d) ^( ?; a# i" l; S8 N
  16. 在teamspeak论坛,如果你有兴趣。
    & v3 Q0 t' W/ f
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机. p8 c0 b2 @0 q, ~) N$ _
  18. Borland公司使用。这个司机只能界面与客户端库
    & f+ U  t! h% l* W
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这: k' v$ {+ y% t* _* q- F
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为8 H& Y# F) b; s7 n. q$ W' c9 s
  21. " vendorlib " ,并解数据库连接。 , h: \$ l$ v; f  ]5 F9 D7 z
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    % k" K: w5 d/ f) `$ [7 ~

  23. & }; o4 E. f& F5 ~  ^/ g5 }
  24. # # #做好工作# # #
      z4 e( S- n5 s3 k1 Y) I) r
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    - y( Z0 t- p: Y; J/ R
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    1 l, Y0 O: x8 c! t( P0 s: f
  27. 结束:
    7 M6 L# K8 J* W* s" m% f
  28. ---削减这里--- 0 [( @  a% N  H( B, N
  29. [ dbexpress ] 1 x" K& l/ a# i* {& C0 o
  30. sqldir = mysql_sql 8 Z* [: N& `4 V) @
  31. drivername = MySQL中$ S. n$ ^! v/ |
  32. 数据库= your_database_name_here " V# k4 W, p1 X1 P/ Z/ j
  33. 主机= the_pc_the_mysql - server_is_on
    . X& U+ U( F  T% x
  34. user_name = user_name_on_the_mysql服务器+ g: F6 i& t7 o9 @+ s1 A, O
  35. 密码= password_to_go_with_above_user_name
    2 A! S5 l  [, x. q
  36. getdriverfunc = getsqldrivermysql
    / [4 E* H) ?2 |) X7 J( h; [( [
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 3 L& r$ X( a- h  A! f) z
  38. libraryname = path_to_libsqlmy_libary ! w! g/ b% J: ?
  39. 积极= 1
    : m4 G. H7 f- U. p# P0 `. [
  40. ---削减这里--- 6 _( @' z: T* F7 `+ f2 s* `- ^
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ! w& C, \1 P7 x( o
  42. ---例如--- 2 ?! x. @3 ?. h3 t2 m" Q
  43. [ dbexpress ]
    $ g; B8 \$ `) i2 S. k; o$ Y
  44. sqldir = mysql_sql ) {4 j7 J! [" s5 t* B3 {9 d3 m
  45. drivername = MySQL中
    & F+ }- t8 t! |9 V0 O
  46. 数据库=测试
    0 e+ W9 g' A% o
  47. 主机=本地主机
    , P( H* r( Y2 X1 F5 S; O- n7 g
  48. user_name = testuser # E$ X$ [9 Q* j/ j. C! x
  49. 密码= my_password
    . v7 {+ {4 c- x7 R% @- n
  50. getdriverfunc = getsqldrivermysql
    ! W5 ~* W5 |( X3 P, S4 a2 z/ S! c) a
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ; ^' W* x+ `( }  I- G" F* V
  52. libraryname =. / libsqlmy.so + `/ X, E9 c% g0 B! Q; D7 d
  53. 积极= 1 / P& G% b  K. o& N
  54. ---例如--- , C4 s6 ~' S. K+ G6 V+ _

  55. : ^6 w9 L1 Y0 g6 l0 H
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    / o& f" l. l: c) i# ?0 W
  57. ---例如--- 2 C8 q; J/ [0 O/ g: v# B6 g
  58. [ dbexpress ] # ]* I% Y, v5 O  ~, D
  59. sqldir = mysql_sql
      C! c4 |% _1 e0 d
  60. drivername = MySQL中/ D3 C+ a9 D' l  S" s
  61. 数据库=测试
    0 i- `% V4 e) a* C
  62. 主机= 127.0.0.1 0 c, Q) e: V, g
  63. user_name = testuser
    7 q- f* z0 I+ ~$ S# ?
  64. 密码= my_password
    5 o2 ?$ F1 ]; B6 x  w( i+ K$ U5 N. \
  65. getdriverfunc = getsqldrivermysql
    ) \5 m/ q+ l( s- X8 |
  66. vendorlib = libmysql.dll在5 R: B0 L1 ^# X4 o( C" l
  67. libraryname = dbexpmysql.dll
    1 n2 z/ c) ?4 r7 d
  68. 积极= 1 2 O3 W" f; |" t- j/ l
  69. ---例如----   j4 `. g7 ]. g" t1 n
  70. -写在0 2.03.04由p wk.linuxfan% ]; P$ f+ G/ S' u! K9 O: K5 o
复制代码
发表于 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, j# C; S/ o: N) o% O
" f0 A+ u% X) ]) x9 R0 s& Y
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-19 05:23 , Processed in 0.091852 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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