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

3134 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
3 \; s5 o6 `  C+ L- x. [8 |2 f. L0 P( t; n$ a6 l
  1. " T, W$ B2 l7 |% q; E
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######2 l- R( v0 k& b

  3. 4 O' @' n0 b* E0 d1 I
  4. ### What we need ###
    0 T; P; d7 z1 u1 U& N7 b3 Q  h
  5. Naturally, we will need a MySQL server to store the data for us, this document
    + a7 [4 Q0 G- q. n: f' `
  6. will not explain how this can be done - there are documents out there for the " {* I& W( H% s. e1 N$ C
  7. interested. The requirements include a (empty) database for TeamSpeak to use$ c' ?6 z. q: v; H6 F# w
  8. and a user account (username + password) that has the permissions to do stuff
    ) b8 v* X) R" ^& o) ~
  9. with the database. Additionally, you will need a vendor library installed on the7 |1 l4 A( e- ?) c7 E; G
  10. local machine, this came with my MySQL install.
    6 @8 Y+ Y9 f7 j$ B! t! u3 @
  11. These instructions will not tell you how you might transfer your data from the
    : z! T, E$ m% _6 @% ~% b  ]
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL+ g0 u- k) @% a7 Q
  13. database.
    # s$ I- D" {6 E" ~" B# `, p4 m( Y
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ! }8 |% D# {5 e
  15. the time of writing, there are still too many issues - check the current status
    ! s/ k! l+ K2 m7 Q& a  b
  16. in the TeamSpeak forums if you are interested.
    ( A% G/ D3 b5 f9 c3 t, ^2 D
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    : I; v( l4 x* j' h4 {  k
  18. Borland was used. This driver can only interface with the client library that 9 D" f9 Y8 O4 i3 P' ~
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    - v! w8 }2 J( [1 b! T% p
  20. client library - basically all you have to do is to use a 3.x client library as : `1 d; b' z! i6 s
  21. "VendorLib" and a 4.x database to connect to.7 W* [& `8 a( v8 m
  22. If you need more info about dbExpress, you can contact Borland.- @- B  Z! k$ {8 L- f

  23. - y. [- H* V! q# ^+ Q0 h2 M1 d/ @# ]
  24. ### Doing the work ###
    , L2 F& i* ~) k' \# ^3 X
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    3 D- m8 Q( ~- W; d4 e  V  \! i
  26. the perquisites right, just open your server.ini file, and add this section at( y. l6 L2 f6 `
  27. the end:) M$ Q4 [1 L  X$ D4 ^
  28. ---cut here---
    ) c9 i/ r' i2 n6 ^: ~4 V. {' D2 H
  29. [DBEXPRESS]
    . ?" g# u' g6 s& P# b  B0 A
  30. sqldir=mysql_sql4 D  O# M' d3 o! t$ U2 ]: X7 }: h
  31. Drivername=mysql
    & @& M0 F3 ~% k9 ?3 W* |- h
  32. Database=Your_Database_Name_Here
    & Z9 m" }, C( F& K/ J/ h
  33. Hostname=The_PC_the_MySQL-Server_is_on, B0 _9 `# K# m0 ]
  34. User_name=User_name_on_the_MySQL-Server
    / d2 Q0 `" W" j+ O
  35. Password=Password_to_go_with_above_user_name
    & G# D1 y* z: U2 k3 \, O5 v
  36. GetDriverFunc=getSQLDriverMYSQL+ [/ `2 _4 h* e
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    6 N8 \( E% j8 F/ B, o% t
  38. LibraryName=path_to_libsqlmy_libary
    9 `( ^2 @  J& ]
  39. Active=1  ~6 J3 x5 f! \6 n0 r7 E- l
  40. ---cut here---
      U+ o2 S( u& z) W1 `6 Q& A
  41. In my environment (a linux box with a MySQL server running locally) I have:$ }/ X5 y3 p, Q3 F, ~7 {7 _# A
  42. ---example---
    ) K- }. L, ?$ O; Y4 t; H
  43. [DBEXPRESS]% m$ x2 `: g3 P0 @* P2 U
  44. sqldir=mysql_sql
    2 w# N, `9 F* P0 P
  45. Drivername=mysql
    ( p' l( f6 t7 _- V6 c  y
  46. Database=test+ j4 Z; L; b2 k) W. `
  47. Hostname=localhost  i5 U4 Z4 e5 B
  48. User_name=testuser
    . T) p$ Z7 b8 r5 ?2 ^
  49. Password=my_password  _, N) ~* h8 a- r3 j! I1 o
  50. GetDriverFunc=getSQLDriverMYSQL
    ; q/ a: a/ c# H% G1 W7 D
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.07 @- t. D0 x1 R* X! l5 f
  52. LibraryName=./libsqlmy.so
    7 j1 D, I1 f6 J3 N( q7 r& V
  53. Active=1+ O9 m5 z+ ^/ K4 H( D) y
  54. ---example---6 A  D8 E' N! m; M8 n. Q

  55. : a0 b2 A3 t+ X6 l, @0 s
  56. On a windows box, also running the MySQL server locally, it would be:
    " T, o" E% S5 t6 Y: u9 U
  57. ---example---" j7 f* k8 t. a/ I3 N5 |
  58. [DBEXPRESS]
    & c* ]8 \1 ]+ _: p9 a! w
  59. sqldir=mysql_sql- M; Q- b- [! U6 }; {# ^
  60. Drivername=mysql+ m) P! s9 G& U* P# L
  61. Database=test, j7 i% z6 X' L3 u4 s5 N" f
  62. Hostname=127.0.0.1
    ; ^# A9 G$ w; E1 B+ g
  63. User_name=testuser
    : P# t" j% b4 {: b# L
  64. Password=my_password) y( S) Q) m) ^: {+ Z' i
  65. GetDriverFunc=getSQLDriverMYSQL. p2 l8 f4 F8 k7 c1 o- n! O
  66. VendorLib=libmysql.dll* D6 T- Z) F6 A! r8 T6 [) D
  67. LibraryName=dbexpmysql.dll- W8 E/ L) }9 S/ D- ~: W
  68. Active=1
    + A0 t( l5 }1 T) c) a. M# P
  69. ---example----& r( C1 E$ u( ~( e& P: A
  70. - written 02.03.04 by pwk.linuxfan
    . p4 p" ]" }. d. E8 L/ O

  71. * ]; p* o, }1 Q; @# l
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
% c, B+ _$ e1 H
  1. " t. f5 _6 X  e* b1 A: K
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    % \2 C9 r, n( o* w: G$ D; f
  3. % R4 Z2 B( Z7 S9 M! A$ o, s7 C: C  P
  4. # # #我们所需要# # # 6 X3 O7 h0 Q" e9 r
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件; W9 C7 K) V; X# Z. q' e
  6. 不会解释如何做到这一点-也有文件存在,为
    / k( H$ t3 a8 c) u+ m
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用( K5 O& P( Q& q
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西) \: y, y& o$ E: a  v/ H( d* e6 _7 P: J; Q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    , T  [; P7 Z9 \
  10. 本地机器,这是我的MySQL安装。
    $ M9 P0 U6 U7 o1 D8 v& n, i- \
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    " G0 \+ B5 C  F5 w
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 6 s$ b3 \3 y9 w( Q5 L3 ?
  13. 数据库。 : E( }* e- j5 j
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在/ k+ n$ o4 _+ g2 ]* t
  15. 编写本报告的时候,仍然有太多的问题-检查现状) r  u! F  B% F# W
  16. 在teamspeak论坛,如果你有兴趣。 4 l6 E+ M5 C4 M0 w6 f. Q. r
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    & q9 @; [2 @5 Z7 `( x
  18. Borland公司使用。这个司机只能界面与客户端库2 u! n& J2 ~% j' Y" @
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ! E( u& k/ r6 ]7 {) }% m
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    + q' \: T: |3 O0 P
  21. " vendorlib " ,并解数据库连接。
    - E% i% H- k" o: ?
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ) n: R4 L. h4 V/ F
  23. & A. J1 |! n3 }9 |- I& A' \
  24. # # #做好工作# # # ( d1 g1 I+ K9 t
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    " x! U, K: {8 }1 ]* @/ `
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    : S( R. T6 e8 b% h
  27. 结束: 5 g$ q& S4 V: Q! Q. w+ A
  28. ---削减这里--- & A# e# c3 `# d5 ]6 A
  29. [ dbexpress ] ( t5 {$ ~) C( s+ v3 {
  30. sqldir = mysql_sql * ~$ Z* Q6 B: U  ?
  31. drivername = MySQL中
    - F; P% y8 M4 u% I' f; L+ \
  32. 数据库= your_database_name_here
    " P2 K( p/ y( X8 Q
  33. 主机= the_pc_the_mysql - server_is_on 6 s3 r, L8 t8 G9 h* r  I6 Q
  34. user_name = user_name_on_the_mysql服务器
    9 N7 h2 C- T2 ?
  35. 密码= password_to_go_with_above_user_name
    7 Z6 Q. K" w. B, j9 }6 W4 Y  R
  36. getdriverfunc = getsqldrivermysql 7 P7 e6 e/ p* H/ G7 ~2 K# t
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 0 m0 C& @4 V" `1 f$ Z
  38. libraryname = path_to_libsqlmy_libary 5 S* Z7 ?0 }3 G
  39. 积极= 1 ( _! q4 O# {1 ^1 L
  40. ---削减这里---
    & o3 n; `& V3 R" M( \6 ~
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    5 I$ }/ }5 D& H! s
  42. ---例如---
    ! [& c. Q% S; j6 K( g
  43. [ dbexpress ] 2 z3 c2 |: E( a
  44. sqldir = mysql_sql
    6 A9 P; v8 O. C
  45. drivername = MySQL中
    2 y8 a' I% m* [" O; ^" Q5 I
  46. 数据库=测试5 N% X) Q- n: s( e* M
  47. 主机=本地主机. X, N  h9 j* n$ a1 B/ \6 l
  48. user_name = testuser
    + y* v. d) @( j5 F+ o; W
  49. 密码= my_password
      R6 M8 ]# X8 s! k) q5 b9 z
  50. getdriverfunc = getsqldrivermysql + Y: ]* k' G" O4 @, N+ z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    " ], M. `# \& Q* T
  52. libraryname =. / libsqlmy.so 4 F: U: L' z/ V4 J& Z
  53. 积极= 1
    ) V) u3 _( ~8 I* j. m& K7 Y
  54. ---例如---
    " e2 R' @) a+ m

  55. ' q+ a0 ~8 S0 m/ `% M2 R- u. r. t
  56. 对Windows中,也运行MySQL服务器本地的,那就是: , e1 R6 S! D9 z- ~
  57. ---例如---
      O4 I# L4 [5 Y0 ^: f1 [# Y: F
  58. [ dbexpress ]
    * `/ u) ?8 R5 E7 o5 A
  59. sqldir = mysql_sql 3 F: K2 ]& z9 ]( f5 U' D' `9 m
  60. drivername = MySQL中
    % a/ R  v1 i' g  a- m/ X$ O3 D0 }
  61. 数据库=测试7 b& B1 `+ {7 U9 m
  62. 主机= 127.0.0.1
    " V! P1 c5 b7 p, b& A) g
  63. user_name = testuser 1 ?' v4 W1 v) U7 o  _) a
  64. 密码= my_password
    ' `2 L( p7 ]1 B
  65. getdriverfunc = getsqldrivermysql
    . _* ^6 r, ^$ R4 f& n+ U
  66. vendorlib = libmysql.dll在) u. n# u# t$ C. U! E
  67. libraryname = dbexpmysql.dll : S$ D4 O( _' Q
  68. 积极= 1
    ) B$ J+ |9 A9 g7 j
  69. ---例如---- 5 @. R2 W$ [% e* M
  70. -写在0 2.03.04由p wk.linuxfan% x/ T5 `( s$ L7 I0 g$ w$ I
复制代码
发表于 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
5 n* I' ^) y. L8 }8 k  R
0 p4 n# V# s9 |% _but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-8 06:19 , Processed in 0.087088 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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