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

2887 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 7 b% T2 w* _/ A* }

! d$ {" ]2 `9 m. r6 F- r. P$ X  p
  1. 5 H& o( e' P' M; y9 A* x* Q( r: v
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    + Z  G- C+ B* a
  3. & R# h( f6 J6 S6 M& d
  4. ### What we need ###3 P( @" U$ T6 M9 Q
  5. Naturally, we will need a MySQL server to store the data for us, this document
    " b. Q: |# s6 F2 w. D2 V8 o' @
  6. will not explain how this can be done - there are documents out there for the ; H- Z/ _9 f0 Q3 W* f0 N; O
  7. interested. The requirements include a (empty) database for TeamSpeak to use5 H- l* H1 \- T2 k- t1 t8 Z" h! I- j
  8. and a user account (username + password) that has the permissions to do stuff* e7 y; p2 j$ k* \
  9. with the database. Additionally, you will need a vendor library installed on the2 M( b7 J* |2 @2 ?6 T
  10. local machine, this came with my MySQL install.
    3 z7 [/ m& y2 G/ y$ @
  11. These instructions will not tell you how you might transfer your data from the
    5 ~5 _$ O4 k& N4 @& I
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    - F. m( l- c( _' C  u5 G5 A
  13. database.
    4 j, L1 k! z2 F& }
  14. Some users have reported ways to import a SQLite database into MySQL, but at! [2 }; V1 T# f
  15. the time of writing, there are still too many issues - check the current status) F( J, D0 S- _* y- m2 C8 s
  16. in the TeamSpeak forums if you are interested.
    7 P/ E0 r6 d( [8 S; S
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from' _) a9 B5 C; Q3 A
  18. Borland was used. This driver can only interface with the client library that
    - V3 D8 |# o% V! p
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    1 ?, i& F8 f: u9 m
  20. client library - basically all you have to do is to use a 3.x client library as
    ! ~1 T/ f0 b3 E# K0 j
  21. "VendorLib" and a 4.x database to connect to.
      k+ B, Y: e3 \/ Q: a
  22. If you need more info about dbExpress, you can contact Borland.+ _: f, t. O8 c! r

  23. . S8 r2 s2 o# }$ q  P1 |. k
  24. ### Doing the work ###
    - m) \1 P) d' T8 U6 V5 f
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all& u: S% S$ N6 w
  26. the perquisites right, just open your server.ini file, and add this section at7 H2 ^1 K. T! Y) z* ^' D7 O! j! q
  27. the end:
    " A1 J9 e7 d) X, N. M1 U6 @! i
  28. ---cut here---
    $ @6 \5 A( c& m6 u2 J
  29. [DBEXPRESS]  A- \5 M" ]8 ?+ _% B7 d
  30. sqldir=mysql_sql% p& Q7 D' d# \0 C
  31. Drivername=mysql
    * L$ {1 N" R$ X$ k; _2 M$ v, v
  32. Database=Your_Database_Name_Here( G) G* S) u+ T9 h$ J% @& u& C
  33. Hostname=The_PC_the_MySQL-Server_is_on" L: V* D* \/ W+ ?( j- H* w
  34. User_name=User_name_on_the_MySQL-Server
    1 X5 [7 z) q5 k
  35. Password=Password_to_go_with_above_user_name; h2 Z+ w9 c* r) U0 i
  36. GetDriverFunc=getSQLDriverMYSQL
    & ?# t+ Y0 m; @* m! y9 ]
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib6 E8 g  L1 h2 L1 s
  38. LibraryName=path_to_libsqlmy_libary
    / s9 R7 [2 a5 A
  39. Active=1
    " d0 v+ h; k6 Z) r; h; h$ u: _' D
  40. ---cut here---$ _/ O9 C6 v0 K$ p0 T% [
  41. In my environment (a linux box with a MySQL server running locally) I have:
    % W7 H" k# w  ^* l- ~
  42. ---example---& }  L3 N6 {; P0 k
  43. [DBEXPRESS]7 U3 G) H# P- L
  44. sqldir=mysql_sql( w/ W; Q) Y1 t$ S% E  M: J- ~4 @: |. G
  45. Drivername=mysql8 O" W) o  L. d6 A
  46. Database=test) o  \+ a3 H0 ]. Y( Y
  47. Hostname=localhost1 w5 `6 B5 T+ X$ Q3 a; l
  48. User_name=testuser
    ! t$ ?. v1 l  ]% E) w
  49. Password=my_password
    7 M" \+ A# a2 r& Z
  50. GetDriverFunc=getSQLDriverMYSQL
    ' J% |5 k" c% `% M7 Q
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0: ?. `# K4 \3 ?0 R
  52. LibraryName=./libsqlmy.so- o+ G  }0 g8 f
  53. Active=1  I( I3 Y( E6 W# F  J
  54. ---example---5 S6 ~& F0 N7 U: Z

  55. ) S# R: y2 N  U: E8 N! C
  56. On a windows box, also running the MySQL server locally, it would be:
    5 F3 i8 y: s' d: ~) s8 W, C* H( S
  57. ---example---
    4 o+ Y# j) i4 |% `
  58. [DBEXPRESS]
    / U/ f( F( `7 l. r/ C* x, G
  59. sqldir=mysql_sql
    / U( q4 H8 Y# o, l8 m
  60. Drivername=mysql
    4 d6 [2 F6 j; g' r# M
  61. Database=test+ Y! v( ^) p5 \  @4 n0 U! M
  62. Hostname=127.0.0.1/ o9 ^8 N( f2 f# D4 K
  63. User_name=testuser
    5 c& J; [9 ]$ z2 A7 F
  64. Password=my_password5 K$ A$ B) |, A  L: J9 A8 B
  65. GetDriverFunc=getSQLDriverMYSQL
    - N& m6 ]* s: Q8 o' {% b
  66. VendorLib=libmysql.dll
    8 \. v% |2 j, I- G, B: @: ?1 t
  67. LibraryName=dbexpmysql.dll
    1 u$ [" s+ O8 r  C& x
  68. Active=16 E' D3 ]& [# t/ B
  69. ---example----
    . ?- A! |. K- ]7 A
  70. - written 02.03.04 by pwk.linuxfan
    4 ]* v, B9 _4 `+ ^, X9 ]

  71. % J) @$ s' f; [1 h  y/ w
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
" Q2 c, w) @3 q7 c6 I
  1. $ x6 v+ r" R* O( p0 W* s' ~) O
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    . h8 a* G0 G8 {/ M+ }' A
  3. 9 N  ~" ^4 \, U& d# `6 n4 N- Q
  4. # # #我们所需要# # # ' D1 K* V: o' M. c  m
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件) I* E, c- ?, H2 {# h
  6. 不会解释如何做到这一点-也有文件存在,为4 X# _# Y6 h$ u& P5 ?4 R
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用8 Y7 U0 J5 n. f
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    5 G* q6 S2 n7 {/ _) P1 }, \
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ( z* K: V8 o8 B# S
  10. 本地机器,这是我的MySQL安装。
    4 O. d/ X7 z4 ^
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ) M  R# z5 P# f7 A4 y' v, N
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 3 D& n/ F8 h. t* P6 V/ ?8 W( m6 }/ Y
  13. 数据库。
    ( Z. [/ I2 Y, G5 g& X: r
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在7 M6 k6 k, C! i  V
  15. 编写本报告的时候,仍然有太多的问题-检查现状4 r0 w/ t4 W& T/ D
  16. 在teamspeak论坛,如果你有兴趣。
    - v2 Z( X; I3 ~. l
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机$ c6 ^2 G, Y, N' B
  18. Borland公司使用。这个司机只能界面与客户端库
    - i) L* f. P2 J1 c+ ]5 J9 i; B* L
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这) X" M. m/ ?& x$ p' S
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ! `$ _$ G- ?- Y( E
  21. " vendorlib " ,并解数据库连接。 0 l+ X( h2 N4 n; U7 p; N
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    1 ^7 g$ K; J- R0 g  z' [) j! h

  23. # P" M& ~, p. c& i
  24. # # #做好工作# # #
    2 n* \% w2 A, M# z) \$ B
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都" |( y: {) a, Q' g: J3 l
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在: O4 N- k" M: G. o
  27. 结束: 8 g0 O2 \+ `3 u: _% K
  28. ---削减这里--- 1 h% H+ i) a  O$ ^! z
  29. [ dbexpress ] 4 D5 L5 d) Z) ^& i  l
  30. sqldir = mysql_sql 1 L* p! `$ s" {4 K2 q9 X; P) {
  31. drivername = MySQL中# ^3 z; {/ g& N. q2 j2 `% A' o4 X) F
  32. 数据库= your_database_name_here & X3 {; P& |" j% M- y
  33. 主机= the_pc_the_mysql - server_is_on
    : Y3 p7 D7 x3 ~- @- c* n  n
  34. user_name = user_name_on_the_mysql服务器
    8 v4 M" Y3 s' m* I
  35. 密码= password_to_go_with_above_user_name 7 r, l; a/ Y3 |/ c( c$ j' ~" h3 J
  36. getdriverfunc = getsqldrivermysql
    # W8 J1 j. y9 w, i
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    * _3 z0 f1 x9 G0 |/ k( O8 S5 C
  38. libraryname = path_to_libsqlmy_libary
    $ z$ O2 u3 E7 U& W8 H
  39. 积极= 1
    9 |5 P) O+ Y1 f( _
  40. ---削减这里---
    * o% C' G5 |7 v' h, k6 v9 X# ]
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 5 y$ A/ ^0 Y. F& k. X# q2 v
  42. ---例如--- 8 H. @4 {3 N, Q" T$ y) ^
  43. [ dbexpress ] * [0 E" r5 L( Z% B/ C. Y
  44. sqldir = mysql_sql
    2 x# x% R9 k; ]
  45. drivername = MySQL中
    6 {* U- }5 L9 q8 E0 R+ \! l+ g
  46. 数据库=测试/ Q" x1 a* n! i/ S, A  }0 `
  47. 主机=本地主机/ k) a1 ^; ^6 S8 {; E
  48. user_name = testuser 0 f% L' l' ?  Q1 K& R
  49. 密码= my_password 7 u  z9 N" I- e  ]  ^- w
  50. getdriverfunc = getsqldrivermysql
    $ ?+ I6 D4 y1 K( p7 ?
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 , ?% d5 R* S7 }. I4 s3 P2 ]1 k# k" D! q  G
  52. libraryname =. / libsqlmy.so 3 s; m4 t! L4 X7 _: k& M: D* I  ~
  53. 积极= 1
    6 r" e' E1 _- e2 A9 A' L0 q$ K. O: p  c
  54. ---例如---
    ' r& r# E1 M3 c3 j$ r$ a0 q

  55. & v& k9 R, M  e
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
      K1 w4 U! U6 [% U3 r
  57. ---例如--- 1 |8 ^+ }; z& D$ A' b+ @7 }8 b
  58. [ dbexpress ] 4 z8 ?6 o2 F* y' P4 }0 [( y! u
  59. sqldir = mysql_sql
    ! Q; Y/ m2 H7 H$ ]: b* Q, r
  60. drivername = MySQL中$ s5 s' u5 V+ u1 r1 I
  61. 数据库=测试
    + @% M6 j8 ]# S4 ^$ R' m& w0 f
  62. 主机= 127.0.0.1 8 Z2 X' v3 z; ?5 X  p
  63. user_name = testuser 1 G! D" J* j/ }/ k
  64. 密码= my_password % p, M6 Z5 |, \0 H5 {
  65. getdriverfunc = getsqldrivermysql ) a1 a2 Q3 T3 {0 H$ P; }
  66. vendorlib = libmysql.dll在
    1 E% @, R: I1 b7 V: h& ~
  67. libraryname = dbexpmysql.dll ) i& V, u2 V5 p* }$ ^6 ^& I, F
  68. 积极= 1
    # @8 F+ R, {4 f/ l! {  k
  69. ---例如---- 9 `0 V) h7 @# W& p% N& G
  70. -写在0 2.03.04由p wk.linuxfan
    4 g. v$ _+ S; u- ~2 Y, B
复制代码
发表于 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
$ t# r1 a( ^! ^$ ^( v( A- h- x/ @4 [& C6 J
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-13 14:52 , Processed in 0.111055 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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