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

3030 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 7 _" [0 M5 u7 f* u6 x' }8 J

' o5 P7 @2 ~" Z# Z8 U1 J9 f4 I

  1. % ?" N5 o# @1 ^+ S
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######3 g: z; }, f' e
  3. 9 p" k* x) V$ z) R. f
  4. ### What we need ###
    ! L  v/ H* B# z9 h' ?0 k
  5. Naturally, we will need a MySQL server to store the data for us, this document
    $ K, _$ Y: Y/ `7 V$ O! G: O5 y
  6. will not explain how this can be done - there are documents out there for the ( Y: l8 U+ f0 Q# T! g' D  I( D
  7. interested. The requirements include a (empty) database for TeamSpeak to use% X$ h+ D) s+ I
  8. and a user account (username + password) that has the permissions to do stuff
    $ Z0 j& v* [9 _/ _5 L$ U( d
  9. with the database. Additionally, you will need a vendor library installed on the
    8 n' I) \1 h+ z! p; |3 ^
  10. local machine, this came with my MySQL install.
    ) F* w4 X& m: K. O9 C
  11. These instructions will not tell you how you might transfer your data from the' X) I7 ?: B2 p6 G1 E
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    3 p+ `& Q1 C$ Q7 i% ?7 ]$ K8 J
  13. database.
    8 d: H7 u7 s$ W4 u' C
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    - m, |- p" M4 D) j9 k
  15. the time of writing, there are still too many issues - check the current status* D& ~+ }& T3 F' V
  16. in the TeamSpeak forums if you are interested.
    / J5 P3 x. I$ P% ?( [
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    7 j  n( i" D" P, W- {, Z0 D2 E+ r
  18. Borland was used. This driver can only interface with the client library that ( q6 N- D& a+ K2 E  v
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this7 `: A9 _' E& s8 g
  20. client library - basically all you have to do is to use a 3.x client library as
    % x0 @) N/ F+ L& F
  21. "VendorLib" and a 4.x database to connect to.
    8 }- }, t  Y& U5 k" y6 m
  22. If you need more info about dbExpress, you can contact Borland.$ s- @) R, ^+ N, t0 N9 k
  23. : e, f! [8 w$ P, X1 ]: z
  24. ### Doing the work ###( g3 j$ l6 B. h% u; U/ t1 Z; J
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all8 ?# A+ B# ?+ m4 _# y
  26. the perquisites right, just open your server.ini file, and add this section at
    2 r. c8 o1 o" n
  27. the end:; O+ N9 Q5 W5 f4 E
  28. ---cut here---
    " M: e; q, F- h7 b2 U4 E  w/ [
  29. [DBEXPRESS]
    $ g5 _5 Q' D/ e% s" D( H
  30. sqldir=mysql_sql
      s4 v+ `, p/ N1 W5 G0 n) z
  31. Drivername=mysql. a: R  Y1 g0 a1 L( @
  32. Database=Your_Database_Name_Here
    / ?- H  R" b- A$ o8 }0 R8 O% H
  33. Hostname=The_PC_the_MySQL-Server_is_on
    4 P4 B# l$ ^- q
  34. User_name=User_name_on_the_MySQL-Server
    + W% Y; M! G! E# M8 E- a
  35. Password=Password_to_go_with_above_user_name% E9 d2 i. n9 d3 D
  36. GetDriverFunc=getSQLDriverMYSQL3 n1 F3 i# T9 ?
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib+ {, l4 {4 I" }6 [4 Z
  38. LibraryName=path_to_libsqlmy_libary
    " I  d4 I) Y2 |# t0 M
  39. Active=1: ~& y+ y) L/ O  g. T9 Y
  40. ---cut here---
    ; R( P( [0 E1 _9 D+ ~1 u
  41. In my environment (a linux box with a MySQL server running locally) I have:
    + d5 q: R( g, i! b( d0 \
  42. ---example---& u) ~* _$ B% w6 ^. [
  43. [DBEXPRESS]. U" X4 g6 s1 d+ I( u! i
  44. sqldir=mysql_sql/ [( i; o3 ]% _+ ^2 Q3 p( R
  45. Drivername=mysql
    8 V$ l  O7 X1 x9 N
  46. Database=test8 o1 U9 b8 \8 {
  47. Hostname=localhost
    4 n4 e' h# U& B7 c! \2 S' c
  48. User_name=testuser( f. ]9 `) |9 L( E
  49. Password=my_password
    1 c& a8 ^+ _# z7 Y+ |5 d! F+ ]( h$ g
  50. GetDriverFunc=getSQLDriverMYSQL3 K* r$ Z# M. w
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.08 y/ f& \( L: P3 ?, U" [
  52. LibraryName=./libsqlmy.so3 G' {% `! _2 g0 z" j- I$ _  W2 d9 j
  53. Active=1" y1 _- [( l' |- _
  54. ---example---
    , E4 Y% g+ ]; M# _% e5 V3 b4 m, d
  55.   @5 I5 g& E* G5 L4 H1 z$ ]
  56. On a windows box, also running the MySQL server locally, it would be:
      f+ k- n3 ?( X7 x7 ?# z1 v8 {
  57. ---example---0 M" ~; [/ ~2 p+ w; j1 g& j
  58. [DBEXPRESS]6 b4 j( C2 Q8 L  u5 g
  59. sqldir=mysql_sql: b5 h3 X+ j: w
  60. Drivername=mysql
    4 @+ D6 u/ N1 V5 {: V4 r
  61. Database=test
    & K2 d; }# s' x6 O1 o/ d2 i- X- Y" [
  62. Hostname=127.0.0.1( `8 ?' c. Z" e" Q# W- W. [8 c
  63. User_name=testuser
    ' @  z4 M( H7 _% o) d
  64. Password=my_password
    ! ?% \4 {/ ?& i* m, N& X$ {
  65. GetDriverFunc=getSQLDriverMYSQL
    ! S7 x& P: a3 c9 Q# l
  66. VendorLib=libmysql.dll9 z9 e3 P9 l3 s  e5 a; W
  67. LibraryName=dbexpmysql.dll) m  \7 Q# Z* b. r& Z
  68. Active=1, y. P) @. ?* l+ |: P8 T+ s: k- }
  69. ---example----
      |  B' K: J8 {. O  n" T
  70. - written 02.03.04 by pwk.linuxfan  I9 X1 V2 k$ e; n* ?( u
  71. 5 e4 r5 D+ C3 ?- S9 L5 ], C
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
$ \* [! R! E; }) E
  1. 2 d" O- i( [6 Q+ G6 C5 L
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 8 ^( n0 m/ Y" `  S  t  y

  3. . y& j$ R  B" Q7 H- B
  4. # # #我们所需要# # # $ O$ ^' Y, ^# D
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    2 ?9 A. e9 t( Y# f
  6. 不会解释如何做到这一点-也有文件存在,为
    6 D2 y0 d: i4 C! @! g6 q
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用- j' Y7 q/ O8 r5 g- [& q
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    1 l" M. f7 F& V* I8 |  Z
  9. 随着数据库。此外,你需要一个卖方图书馆安装于5 }( R' [8 I  B7 C% ~
  10. 本地机器,这是我的MySQL安装。
    $ z! Z4 R& d+ e1 B! B+ G
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从% T. {0 V$ X' ~' V. R
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    " m" r8 K  ?0 ]$ i6 A' t8 w
  13. 数据库。 " B* E+ |1 v6 G. v  ]; C- \
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在+ w6 Y6 w* {" E  r' ]
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    6 m' _2 @! @! c. H' o+ r+ K3 Q3 W, f
  16. 在teamspeak论坛,如果你有兴趣。 . S* W& B3 o8 \, [# T
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机. a0 c2 `( L; c) t
  18. Borland公司使用。这个司机只能界面与客户端库
    * Q2 n* {9 v1 ]$ ^$ ^
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这, P; k  T0 t$ z/ Z' {- ?
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    & k; H' j  R7 n  }% K4 j; s- I
  21. " vendorlib " ,并解数据库连接。
    5 R( j4 ^* P' e5 n3 Y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ; E9 u: d1 c, w: y" ?
  23.   f# s* a2 R9 _  X
  24. # # #做好工作# # # " Z+ s+ N0 _7 }4 ?
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    8 b3 a  p0 [) M4 N3 }0 c
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    * V5 q" p( s! ]+ f$ M% h9 i# k, U
  27. 结束: $ S% i- L; J2 ?
  28. ---削减这里---   }0 D3 z% c# V* I; f0 T8 \% D( Q
  29. [ dbexpress ] - N; l" h3 z8 J' {
  30. sqldir = mysql_sql 9 j3 m% z; W' X
  31. drivername = MySQL中4 Q0 q. I) F9 Q, L5 t5 H
  32. 数据库= your_database_name_here
    1 n! T- i8 B) T1 I3 x2 u
  33. 主机= the_pc_the_mysql - server_is_on 6 y3 n% `, ~2 y" Q8 d, [2 t8 V- I8 f
  34. user_name = user_name_on_the_mysql服务器! k; l# ]. q7 @: E# u( ?) a, u
  35. 密码= password_to_go_with_above_user_name & x5 t) l) J2 K- t0 y
  36. getdriverfunc = getsqldrivermysql * c( I2 k6 N5 Q# y  z5 m! M
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    $ R2 u8 ^7 Z% T! ?
  38. libraryname = path_to_libsqlmy_libary 2 d1 o  y/ J( K- j, t, M5 {2 W
  39. 积极= 1
    2 z1 N+ M; Q- W9 ~: g  W7 {
  40. ---削减这里---
    + k& j$ D( I& }: }+ L5 N# P, s- ~
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 6 N* [) Q! _/ W5 U
  42. ---例如--- 9 z! I' s' l* H8 t* Z# o
  43. [ dbexpress ] - p5 _% l. L) u5 i2 \
  44. sqldir = mysql_sql
    $ I/ o) u& ]* a% q$ a: P4 Z2 S& I" J7 r. j
  45. drivername = MySQL中
    8 ^. ?  E$ f. P0 N/ \& L" `
  46. 数据库=测试
    ' E3 [' P0 `# b2 z
  47. 主机=本地主机' K. ~) u8 R( w- m
  48. user_name = testuser
    ! [3 F+ N# ~5 G+ q" i: L9 D
  49. 密码= my_password & t3 s/ e9 w/ \% [9 j
  50. getdriverfunc = getsqldrivermysql + Z7 F) r* W* z7 c( d! h' |
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 & s# Q: N5 E" {5 X+ G* J6 I
  52. libraryname =. / libsqlmy.so
    3 {( o$ ^* l$ m* ^* l
  53. 积极= 1
    0 w# \  D+ ~& W1 Z$ z
  54. ---例如--- + o: o9 U5 q. m( J
  55. % T  C9 k2 B% @* r
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    7 @+ @9 E( f/ r# p; B. P8 a
  57. ---例如---
    $ E; a. A5 T- Y
  58. [ dbexpress ] 5 P: e2 F" T: _0 i$ d* ~  ]& s
  59. sqldir = mysql_sql 8 `3 f" @- Q' e+ i! X: S- d
  60. drivername = MySQL中
      Y* x, u/ X* x
  61. 数据库=测试( O9 N- y6 M$ ]; }' A/ o0 M5 N
  62. 主机= 127.0.0.1 7 w4 e) Z; ?" t/ V
  63. user_name = testuser
    & p* \! ?5 E1 I* |$ C1 R7 V
  64. 密码= my_password & X* M  A3 e' K& l+ [0 c  G. {0 @
  65. getdriverfunc = getsqldrivermysql " m+ ]& B) r1 j( R
  66. vendorlib = libmysql.dll在
    5 k3 r( C" v# ]& x+ P
  67. libraryname = dbexpmysql.dll
    / Y! {+ ^3 T6 ?5 @" y
  68. 积极= 1
    5 L- q- I4 b" [6 ]
  69. ---例如----
    ; U: h( G7 W& x( T# {
  70. -写在0 2.03.04由p wk.linuxfan: O# _, P3 {9 @; |+ K. 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- K( }! s" B, H8 M7 ~: s
/ L- E$ k( W; k6 u6 I5 S
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-16 13:00 , Processed in 0.090325 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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