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

3085 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 4 c- C& s- G2 W
' X  ^8 S" i# g6 M( `' _

  1. % T% A8 z5 Q5 d
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    & S) ~( W) d. s1 m; T

  3. ) T5 [  \$ B# f1 a; R* m$ }
  4. ### What we need ###
    , j% ~( D% @3 H. _
  5. Naturally, we will need a MySQL server to store the data for us, this document
    % O9 p- ^% E. G) v4 |
  6. will not explain how this can be done - there are documents out there for the $ i3 [6 n% x; F0 F$ a" A
  7. interested. The requirements include a (empty) database for TeamSpeak to use, G' U8 B6 g/ Q. A
  8. and a user account (username + password) that has the permissions to do stuff
    2 ^- ]: i* b* u0 G+ b4 R
  9. with the database. Additionally, you will need a vendor library installed on the2 E# J5 K9 @  x  i
  10. local machine, this came with my MySQL install.& O. _$ a; l  A& O0 W' r; C% K
  11. These instructions will not tell you how you might transfer your data from the
    2 F' M% E: k! j2 f/ l
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL: E1 w) {, `9 L4 F
  13. database.
    0 m$ Z  d! \7 m. ]
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ' S" g& F; k! Y$ H# K
  15. the time of writing, there are still too many issues - check the current status
    + h; ]4 s/ ~/ s/ h7 I# \6 f- e
  16. in the TeamSpeak forums if you are interested.% g# N2 ?/ ]. k! G8 I, g& K9 X
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    2 n7 R. I4 v* o2 O$ Y/ y3 J
  18. Borland was used. This driver can only interface with the client library that ; P( w4 A. g( t6 z- k+ w+ O1 g8 ^8 d
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this; U8 B+ H2 d7 M) E
  20. client library - basically all you have to do is to use a 3.x client library as
    ' n! x4 b1 ~1 L. q' m- r
  21. "VendorLib" and a 4.x database to connect to.! M* a! ^$ D  f4 g# \
  22. If you need more info about dbExpress, you can contact Borland.  i! W" R8 v3 M& X6 ]& Y
  23. 3 |" X' L  p' ~/ U- q: P
  24. ### Doing the work ###
    ! s6 N) s# ^3 X1 k/ Y% O2 y2 E
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all1 v- ?" b1 Q( q* S- K+ n4 N  D
  26. the perquisites right, just open your server.ini file, and add this section at
    ; d6 w( B# @% p+ r( J, B. a
  27. the end:9 B2 q5 \" k" g- {. s- ?! [( S
  28. ---cut here---
    . w6 m6 f. k2 u1 p' C
  29. [DBEXPRESS]* |' `8 ~. W: Q( r* m6 P( k
  30. sqldir=mysql_sql, ]" S, K' U2 f8 t6 ^( m/ ~
  31. Drivername=mysql
    , i4 l6 p. r6 r5 c7 B
  32. Database=Your_Database_Name_Here2 T# o' ]8 ]  t. c7 Y
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ' H* t) a8 Q  V8 ^2 e( K
  34. User_name=User_name_on_the_MySQL-Server. X' c! U$ q( n& s- g3 t: q
  35. Password=Password_to_go_with_above_user_name' n% O! `3 W! l1 n* p
  36. GetDriverFunc=getSQLDriverMYSQL0 y2 j( _2 B) f4 j" t" c
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib6 q" G: ]6 O+ @$ v1 d
  38. LibraryName=path_to_libsqlmy_libary; {* X9 }' t! r
  39. Active=1# B% V" ]! f1 Q. P5 F% E
  40. ---cut here---
    / X) x2 @' m1 V
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ( t5 |$ a' \$ D! i3 o5 h  [
  42. ---example---
    1 W0 c# E* r/ }$ [5 x$ f
  43. [DBEXPRESS]
    & A4 {5 C" F8 z9 o# {7 [
  44. sqldir=mysql_sql: ?+ d/ ^( U1 H! U7 u! x) W
  45. Drivername=mysql/ g/ R; v: U0 v
  46. Database=test- C& l! T! {' m  g) x
  47. Hostname=localhost
    % Q  {2 s6 }( |5 U( d
  48. User_name=testuser8 d! o/ r. P& Z2 u. r' ^$ W4 Z9 N
  49. Password=my_password$ F% ]: V! E) b5 @
  50. GetDriverFunc=getSQLDriverMYSQL
    6 Z% b! L, n+ T+ ~4 f
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.09 U" I8 x3 u4 q% t
  52. LibraryName=./libsqlmy.so
    * O9 y7 Z- X& U
  53. Active=1
    1 P+ p& F, N7 i' W+ X
  54. ---example---" f4 {9 R. |4 S
  55. + @. D% q9 c, k- [, K. P: ]
  56. On a windows box, also running the MySQL server locally, it would be:
    1 G4 M/ n: o5 A7 R0 A
  57. ---example---7 M! ~% j& o; ^1 s
  58. [DBEXPRESS]9 T( h: S1 [3 o8 M3 T% T% o$ v
  59. sqldir=mysql_sql
    8 W5 ^9 y8 G0 c9 b: l9 W4 y
  60. Drivername=mysql7 L4 `, d+ ~1 R/ U$ D
  61. Database=test4 I* f' S. }; u% \, E
  62. Hostname=127.0.0.1/ \* z! D/ g6 D  ^8 q; H' `
  63. User_name=testuser
    6 M$ i- i$ l2 o* y# c( I
  64. Password=my_password
    4 x% J* [" y4 i+ U  {
  65. GetDriverFunc=getSQLDriverMYSQL
    0 A. Y# w. t1 w9 ?4 [  l, I5 f
  66. VendorLib=libmysql.dll
    , J" w+ ?/ X# b+ h& I% {
  67. LibraryName=dbexpmysql.dll
    8 y) |+ R! z9 Q* U* E, x
  68. Active=1
    ; [. ], |5 |3 u. i# B: w
  69. ---example----
    7 u4 c* U9 x. y  @
  70. - written 02.03.04 by pwk.linuxfan
    / K3 O* V& d) p! N2 ^  H0 b

  71. " h* U1 V8 x1 w
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看$ u3 o% O5 U, O7 k1 T- b

  1. 2 u7 S0 V% C# R3 @3 l$ d
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    1 ]3 i1 a6 j6 d/ j6 o$ B

  3. $ d, A0 P4 n1 R4 T
  4. # # #我们所需要# # # 6 j, a7 t8 b, I) M2 E( K
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    3 e( Z$ B# d0 L. d
  6. 不会解释如何做到这一点-也有文件存在,为; L2 W+ p# P% Q/ }- {5 P
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ' [& i: n+ W( ]7 `; U9 l( J# D
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西2 d+ E/ m3 D2 b
  9. 随着数据库。此外,你需要一个卖方图书馆安装于1 X5 d# e2 v* x9 V
  10. 本地机器,这是我的MySQL安装。 / P! ]- D; ]% D' }
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从& j  y1 j1 _) x. M. [) C
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ' |9 n  `7 b$ w& @! m- H$ q  d" b
  13. 数据库。 3 U# d( v% R; {
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    - L! m0 I" U' Q* r( }* g
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    3 {6 J4 N$ d$ ~* h3 G3 K
  16. 在teamspeak论坛,如果你有兴趣。
    / H. i" G4 g! u' v/ A
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 e& l7 e0 ]2 O, f7 m0 z5 n
  18. Borland公司使用。这个司机只能界面与客户端库1 P/ ]7 J8 N! b# z( X
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    # W( t: V. h9 X$ L; b9 f& T: K
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    . S4 ^/ j" I6 S2 I. e9 m  J
  21. " vendorlib " ,并解数据库连接。
    0 B9 L1 H+ _% @  X! B# V$ X5 I
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    " ?% u* z: X* i

  23. / n3 u/ d' Q% V' ~9 J2 x
  24. # # #做好工作# # # % O8 E* t& U% b2 {# ]
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    / Z  m0 R  u$ c
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    . [, C$ m7 ]3 l' V, u6 @
  27. 结束:
    9 A/ V4 H' h8 [- h' c" @
  28. ---削减这里---
    % e: g1 m6 w# G0 _' m+ Q- l1 f
  29. [ dbexpress ]
    * T. A* z- j1 T6 r0 }, A  N
  30. sqldir = mysql_sql + `: B9 x/ U3 b1 {8 p, Y9 T+ r
  31. drivername = MySQL中0 m" N) k2 F- Q7 S2 p
  32. 数据库= your_database_name_here % j: X. e. M; B4 }! a3 [6 B9 f
  33. 主机= the_pc_the_mysql - server_is_on 9 p3 ^# }2 Z( c3 H, ^3 \; x
  34. user_name = user_name_on_the_mysql服务器) a' ]  z% `- `- Z+ c% f
  35. 密码= password_to_go_with_above_user_name
    ( Z3 ?; f& r! |6 T2 d" J
  36. getdriverfunc = getsqldrivermysql
    5 W5 E  ^" K1 `7 B9 @- c
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 0 E- [& O3 l5 {  _7 `
  38. libraryname = path_to_libsqlmy_libary
    ! _* h& R* k" f& W/ g
  39. 积极= 1
    $ U9 R9 ?+ Z3 R% M2 H* s+ S
  40. ---削减这里--- " i  n+ a5 \8 L. R: V
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    $ P9 L( c6 `& b/ v$ C: o- x3 B7 J
  42. ---例如--- * S, }& U! Z7 ?
  43. [ dbexpress ]
    9 A; A  c# ]2 _
  44. sqldir = mysql_sql
    . K: z0 u4 \3 c1 v( n/ F
  45. drivername = MySQL中* Q; q2 \0 Q) A9 }
  46. 数据库=测试
    ! i$ a$ ]9 @/ x7 q! P0 S. A. M
  47. 主机=本地主机
    ' e6 ^1 `) X# o' A$ U* ]2 g2 S1 k
  48. user_name = testuser
    * M8 ?9 V# s6 _6 ?
  49. 密码= my_password
      S4 R" U) l0 L% V/ \
  50. getdriverfunc = getsqldrivermysql
    : Z+ i4 M5 q5 |: v! Q
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ! v! y( V# W, t0 L+ ?2 a
  52. libraryname =. / libsqlmy.so 0 M+ g$ Y/ g, V' m9 P& b1 D" T' k
  53. 积极= 1 & F$ ]  G2 A3 N( T6 F1 K
  54. ---例如---
    ) o7 ^. b6 R5 S" l  m7 G
  55. 9 |3 B0 Y+ R# Q8 T5 b
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ! b) s! z8 v( e! H
  57. ---例如--- # l. l; y4 }8 ?+ H3 ?% n
  58. [ dbexpress ] % _' r# B* O0 G  p
  59. sqldir = mysql_sql 0 X- X" R8 `, F# i0 f
  60. drivername = MySQL中
    ; U  s8 ^- t7 p% Z5 x, @
  61. 数据库=测试* R3 |8 W, x5 C/ l; j3 [
  62. 主机= 127.0.0.1
    + j8 x9 m/ F) H- u# [
  63. user_name = testuser
    % {! T1 ]# P3 ]2 ]7 Z3 G. V
  64. 密码= my_password
    0 k' w1 P5 J* W5 h) N
  65. getdriverfunc = getsqldrivermysql
    7 n) o/ S7 i+ U! D2 G- J
  66. vendorlib = libmysql.dll在/ q& P4 g9 D: b8 w) Z
  67. libraryname = dbexpmysql.dll 5 Y) @. I, h1 n9 h. ~$ `
  68. 积极= 1
    + T% y7 e% n% E8 Z& J
  69. ---例如----
    $ S$ M0 p  K5 k0 |) B4 s" c
  70. -写在0 2.03.04由p wk.linuxfan
    * k# w3 B% W/ B1 s; h
复制代码
发表于 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' @) i/ u) Q6 }) G! |
$ C& Y  h' y& F" }8 b, F) n
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-29 04:07 , Processed in 0.089922 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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