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

2330 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
* w$ H* ~; k5 n2 D$ T7 e' \1 x$ a  s8 @* a5 \2 K( k' D

  1. ( Q$ A" N6 E: X! Q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######1 J! j  [; U( q8 N; ]
  3. + }" M; h: y# z" Z. c1 t
  4. ### What we need ###  ~7 _  c8 B' W3 r/ O$ r* w0 m6 A
  5. Naturally, we will need a MySQL server to store the data for us, this document
    0 e6 j% {5 \- Y- `6 y4 D
  6. will not explain how this can be done - there are documents out there for the 0 y3 T. v$ F$ e2 L& }/ g
  7. interested. The requirements include a (empty) database for TeamSpeak to use
      u! K* D$ i  U! u! P
  8. and a user account (username + password) that has the permissions to do stuff
    5 b$ x. Q; {& G
  9. with the database. Additionally, you will need a vendor library installed on the: \& u5 L, g6 j
  10. local machine, this came with my MySQL install.
    / `; A/ G! \$ D/ q
  11. These instructions will not tell you how you might transfer your data from the8 }0 W# r5 u% c  t0 h* f
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL1 w- u  I0 B1 P1 [% y
  13. database.
    3 ]% j# C( d6 P, A2 m
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    + Y3 c5 S# Q3 x* f* e1 u
  15. the time of writing, there are still too many issues - check the current status0 n7 J$ L# h* Y5 S8 l
  16. in the TeamSpeak forums if you are interested.
    / K. S# U) R3 ~
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from8 m# y  [4 V2 f6 v6 Y
  18. Borland was used. This driver can only interface with the client library that 7 t3 G$ {! E' k0 r" w* K* R
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this, {$ x/ t! @7 e
  20. client library - basically all you have to do is to use a 3.x client library as 1 [' F& E5 K+ v2 P5 O) ~$ g
  21. "VendorLib" and a 4.x database to connect to.
    % a) C) K( }5 u& ^) k9 Y
  22. If you need more info about dbExpress, you can contact Borland.
    1 s- k# W* e# |' D$ m7 N
  23. - R1 a. e1 Y& y  p
  24. ### Doing the work ###
    5 ]2 ^' T6 V1 Z; u) d4 j( N
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    - S2 U9 \  B( V  z3 a' ^' N+ y1 i
  26. the perquisites right, just open your server.ini file, and add this section at: O* s( V* G! D+ B% |4 I
  27. the end:
    - h- A, A9 _/ C' o1 Y; B
  28. ---cut here---
    ; L! Y( y0 K- \- P5 d+ X3 n& \
  29. [DBEXPRESS]3 x2 \: N7 s  K% O8 T* G
  30. sqldir=mysql_sql8 G' @9 z. u: d6 O# M$ v
  31. Drivername=mysql
    2 S$ K) K1 ^& [' L, \* v) ^
  32. Database=Your_Database_Name_Here; X0 P3 f5 H' _! L. B1 s3 S; d
  33. Hostname=The_PC_the_MySQL-Server_is_on5 e- X0 i3 N( A& l# x) w9 [  Y
  34. User_name=User_name_on_the_MySQL-Server
    : l3 ]" V( D- x+ J/ l" R8 C
  35. Password=Password_to_go_with_above_user_name5 I; V' ]% a$ \3 H- D
  36. GetDriverFunc=getSQLDriverMYSQL: t  d  C. C9 R. Q* V2 ^, V* Z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    $ m1 X" J+ z( D% a4 V
  38. LibraryName=path_to_libsqlmy_libary
    4 F+ `8 [9 R( V/ A5 _: x1 M
  39. Active=1
    " b0 H9 E& \  K& ^3 g7 S: a
  40. ---cut here---
    0 }2 P, k- Z! V. P' ~
  41. In my environment (a linux box with a MySQL server running locally) I have:
    7 H0 l: g" [* G4 c  Q! E9 t
  42. ---example---% I6 m1 ~' d* p' c2 c
  43. [DBEXPRESS]
    $ f& U" {1 K: S* M' ]
  44. sqldir=mysql_sql- C% f% f  @/ \, m5 U# R9 Q
  45. Drivername=mysql
    % `$ P; x% V: N( B
  46. Database=test  ]" `! @0 R6 a6 r1 G
  47. Hostname=localhost
    " n4 U! N7 L  j: J
  48. User_name=testuser1 ~+ w2 x: t; K. e" E
  49. Password=my_password% W$ Y7 e" P- q# Q
  50. GetDriverFunc=getSQLDriverMYSQL
    3 M; x! f9 ^3 Y7 j* k1 h
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.06 Q0 O; d* H5 ^( J2 Y- r3 \
  52. LibraryName=./libsqlmy.so
    4 c5 h7 y' J$ z; ?7 s
  53. Active=1
    & ^  q. T/ R: E) \. {% r4 ?
  54. ---example---
    % J0 W+ ]: i- R  |2 w
  55. - e( Y* V" t. u0 V
  56. On a windows box, also running the MySQL server locally, it would be:
    2 v- |; J9 m2 i# `% A  E( J
  57. ---example---) I: C0 i: S" E$ m$ `2 G
  58. [DBEXPRESS]+ c- _. }+ u' W( c
  59. sqldir=mysql_sql, `$ x8 Q) C, t2 [
  60. Drivername=mysql
    1 F+ ^, w, }* C/ I
  61. Database=test. V$ q1 n3 r! B! v/ v3 z) r! A
  62. Hostname=127.0.0.1  q) `3 k' g1 m$ F
  63. User_name=testuser
    ! P! ~+ O2 J2 O; {  {7 M
  64. Password=my_password( ?: Q- Z  v* X$ f
  65. GetDriverFunc=getSQLDriverMYSQL
    2 _+ }6 ?& s. y
  66. VendorLib=libmysql.dll7 d( n: K, a9 `. l' n+ N8 Y
  67. LibraryName=dbexpmysql.dll
    ' r, O& ~0 f' J, v, v: J: O
  68. Active=1
    3 Y5 ~- C! {7 l; ]& s7 P
  69. ---example----% ~9 ?" v- r5 {$ E$ t0 d7 V; R+ A2 p; Q
  70. - written 02.03.04 by pwk.linuxfan
    1 ?) E# K- y* k7 F
  71. 0 d8 t6 ~+ {9 r) _+ X! j8 D8 o
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看8 Q3 U' T2 E0 M7 ?' r
  1. ( Y7 C: S5 s  s$ q5 {3 t% r
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    0 w; h: A% V# K. m2 ^# v

  3. 5 y+ U) b' @  f! Q: `4 T( t
  4. # # #我们所需要# # # ! `3 {1 `6 J* R" `
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    - r& R- h  M5 r4 @6 P
  6. 不会解释如何做到这一点-也有文件存在,为
    * L% D" _2 F! W; u/ w( e  z! j7 T
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    1 P+ f/ L8 W2 V. I
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西- e" |, |; P* t3 I
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    7 ]' f" C& l# J: `/ [) b
  10. 本地机器,这是我的MySQL安装。
    % K: }& x, ?! b3 {. e& C1 j
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    0 i- @* H. Z% h# {
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL + x# K' P6 `# ^; x
  13. 数据库。
      s& a. g: V9 G" a3 ~8 }
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    % g# i+ _- H9 Z5 M1 ^
  15. 编写本报告的时候,仍然有太多的问题-检查现状- s7 I% ~# `  X  B
  16. 在teamspeak论坛,如果你有兴趣。
    + O. S. L3 B; @6 f. \! M9 A
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    4 _. F# [  Y# q' m2 q, s" K
  18. Borland公司使用。这个司机只能界面与客户端库
    " i4 p0 r5 _3 u  F1 D  A, W7 T1 Y
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    2 J4 _8 D6 O! E8 s5 k6 v
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ! K: v5 _) L  q* G; ]. U; h2 \
  21. " vendorlib " ,并解数据库连接。
      R4 [; y, j2 m' j4 z8 M
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
      w2 I) e; o) f# X6 d+ U/ ~

  23. . k. y) A; |! u7 A2 R4 ~
  24. # # #做好工作# # # 3 ]5 b2 U# [! q. K- ]
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ( O$ T; h9 C) g
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在* e# b1 z; O) J& `9 Z
  27. 结束:
    ) F6 @9 s0 g: m8 X1 |  i
  28. ---削减这里--- $ ^8 V* B- @; m# V& |+ E) v
  29. [ dbexpress ]
    ' N/ B, D9 L7 D' X
  30. sqldir = mysql_sql
    * c2 H1 c: N1 D
  31. drivername = MySQL中' ^/ i$ V% p  W$ V
  32. 数据库= your_database_name_here
    $ Y9 u# m% a' r9 r. p( ?0 G
  33. 主机= the_pc_the_mysql - server_is_on
    3 m9 W8 U/ N  _1 I9 `6 e, h( m
  34. user_name = user_name_on_the_mysql服务器+ K4 {# z! C( ~
  35. 密码= password_to_go_with_above_user_name
    + ]* i9 Z" @- M. ?, I+ K
  36. getdriverfunc = getsqldrivermysql ; z3 y/ X; k  u0 n! ~6 O& Q+ Z/ C
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 1 q+ U* I$ X* x  e2 p' \+ ^
  38. libraryname = path_to_libsqlmy_libary
    8 i. Q6 n/ Z0 t" A9 p
  39. 积极= 1 4 A- F& q1 J. |$ \* x
  40. ---削减这里---
    , d& c# B% g! l- O; I+ F2 y
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ! g; ?! c! j; ^4 X) A6 }% ]
  42. ---例如---
    0 N2 w% O1 n; K. o7 l5 H
  43. [ dbexpress ] 8 \% ~+ m/ E; Y/ Z. x5 R
  44. sqldir = mysql_sql : W8 y; I7 |4 M
  45. drivername = MySQL中
    + V! I. e+ p" O* ?3 j3 a/ T! J
  46. 数据库=测试) o/ O4 A$ D: ~5 a  K9 g2 O0 Z
  47. 主机=本地主机% y; z# r" b8 q
  48. user_name = testuser 9 J& y) `  V) [
  49. 密码= my_password
    % ], N6 t$ w6 A/ q6 C
  50. getdriverfunc = getsqldrivermysql % K7 j- x! S, q( X/ ^$ R
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 : v& M, R; [8 f- ]% B5 R
  52. libraryname =. / libsqlmy.so
      H$ P6 Y+ y* {+ A* k- ?6 ^  I7 b
  53. 积极= 1 , u) l* {6 e" O% J! ?6 j, T
  54. ---例如--- / S5 w2 c7 b8 Q
  55. 8 ^  f, m$ S4 H" d$ b+ P3 \6 d
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    / T# u" F  L1 d6 }/ P5 o$ x; D
  57. ---例如---
    + p' }% ~5 {$ ?' X
  58. [ dbexpress ]
    # @6 V# U# R+ \
  59. sqldir = mysql_sql # Z' u: n3 `6 s4 j+ p
  60. drivername = MySQL中5 g3 Q7 W& ~9 T; O# A
  61. 数据库=测试
    / w- Q  n( Q. ?8 U
  62. 主机= 127.0.0.1
    , i# Y, N4 {2 o
  63. user_name = testuser $ [# ?& f  D* y$ v
  64. 密码= my_password
    : N8 A" \4 {0 _4 D! q
  65. getdriverfunc = getsqldrivermysql 6 V5 O" g- j% x) {: y
  66. vendorlib = libmysql.dll在
    $ B. R' z; e" C$ \2 m6 ^& V) c2 B, ]
  67. libraryname = dbexpmysql.dll ( C9 w* ^3 z: c1 ~5 u6 L+ L& X
  68. 积极= 1
    + m2 C8 m, n. y* v# m* n
  69. ---例如----
    7 U6 h1 f: S$ n  B) ]
  70. -写在0 2.03.04由p wk.linuxfan+ [/ N6 c. \7 w3 e. 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
9 B/ |  `8 e& E* @6 x3 f' y7 r' o. j3 R& q6 x& i" C/ I+ S) k4 f' A
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-23 23:47 , Processed in 0.110026 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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