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

3523 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
0 U4 |" a9 E  `# H' n$ B  W  W' I  ^  e3 ?
  1. ( Q& {6 Q4 W- C
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    , a. P  v9 h; L0 X' x
  3.   P; q+ L% Z9 W7 z1 x' r+ g
  4. ### What we need ###
    * R+ m6 S$ S& t) W1 e
  5. Naturally, we will need a MySQL server to store the data for us, this document
    4 B3 M; A6 Z( W# G
  6. will not explain how this can be done - there are documents out there for the . E0 p* ?) B) n% _, Z7 m
  7. interested. The requirements include a (empty) database for TeamSpeak to use
      h0 W7 X, |3 L: N1 H
  8. and a user account (username + password) that has the permissions to do stuff# h1 }5 V8 M7 r$ ]
  9. with the database. Additionally, you will need a vendor library installed on the
    : q8 c9 o" ]  T+ ?
  10. local machine, this came with my MySQL install.* C3 W6 `3 M8 h8 g7 Q! g
  11. These instructions will not tell you how you might transfer your data from the4 f* p( {! Q$ y9 E5 r1 ]; [
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL9 _: `# I6 {# G# F+ Z, O  s" E
  13. database.
    . ]  S- j/ b* U$ n4 ^1 @% Z
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ( Q1 e% i; t; {* V- z& l6 T4 u
  15. the time of writing, there are still too many issues - check the current status# n' l3 T; R1 t! ^# _& e( }
  16. in the TeamSpeak forums if you are interested.
    $ h8 x/ N0 P# S+ j$ `) w# D9 h2 T
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from# {( ?& v) t. a, |5 C
  18. Borland was used. This driver can only interface with the client library that 4 Z* B1 V% b5 P6 x- B
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    $ p2 e8 D! d! {! E. n6 \* p- r' A  N
  20. client library - basically all you have to do is to use a 3.x client library as / ?# _; ~2 W- d. |+ Y) _& r2 J8 N& m
  21. "VendorLib" and a 4.x database to connect to.
    ) y8 A- c7 B& z5 S" z
  22. If you need more info about dbExpress, you can contact Borland.
    ( _" u' M6 p. m) y1 }- }
  23. . V4 ^! Q9 x# A
  24. ### Doing the work ###" }- z% f& N" H# b: |
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all3 \, b6 u3 {# x5 s! e! Z
  26. the perquisites right, just open your server.ini file, and add this section at! u( k3 u3 T- L/ ?
  27. the end:7 `, ?+ D3 y! _: Z5 D& X4 i
  28. ---cut here---$ l: i) x2 U6 q# v8 s$ a4 x
  29. [DBEXPRESS]: _& b; l& y1 {3 r0 D$ Y
  30. sqldir=mysql_sql. v, ~0 i4 a1 g9 x
  31. Drivername=mysql5 L3 C1 q- C# i' a6 y7 `
  32. Database=Your_Database_Name_Here
    % F( O' O, d% S+ V, N* x
  33. Hostname=The_PC_the_MySQL-Server_is_on3 b  r* g2 J4 a# E/ u/ b
  34. User_name=User_name_on_the_MySQL-Server
    # {; w& l$ j4 ]  n% M+ Q
  35. Password=Password_to_go_with_above_user_name( c9 Y. A$ F. W1 f/ N) J
  36. GetDriverFunc=getSQLDriverMYSQL
    + f5 f3 H5 o8 o6 z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib8 \4 h4 m* m% Y
  38. LibraryName=path_to_libsqlmy_libary
    + d- [" [0 |% _2 G( c0 d( o+ s$ t, C
  39. Active=1
    ( S: T4 I' T+ S$ _& b
  40. ---cut here---
    . G& C  @' }. x( r; a7 T
  41. In my environment (a linux box with a MySQL server running locally) I have:# N( R0 m, P4 l( l
  42. ---example---
    : L3 d" O" x2 o; e1 A! f
  43. [DBEXPRESS]
    : u# r: p" }6 m& C6 J2 e& H
  44. sqldir=mysql_sql
    ( w8 k3 @4 D' P
  45. Drivername=mysql; V9 n* p4 U- ~2 D* ]
  46. Database=test$ ~. K& a! L: Y* v
  47. Hostname=localhost0 T) U( K: d2 @% }& L
  48. User_name=testuser
    , A4 B9 X2 ^) |( b
  49. Password=my_password
    ( N; {5 p  \1 @/ }5 t* @
  50. GetDriverFunc=getSQLDriverMYSQL9 F+ J2 @, Q! C% W: ?/ D9 p' {
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ) I" {. b0 {8 q; `
  52. LibraryName=./libsqlmy.so
      R2 [& h: z! x# F/ q# [
  53. Active=1: D4 s' H5 i: I& v8 `" {
  54. ---example---9 l2 B6 N" W/ ?* _3 k# P

  55. - H- d3 ?; C+ @$ t; n) d
  56. On a windows box, also running the MySQL server locally, it would be:2 A. ]. ^7 C: _/ H3 k7 L0 A
  57. ---example---
    # a! i; q4 V+ y9 ?& p8 C
  58. [DBEXPRESS]
    1 c3 I+ [0 _# m4 g
  59. sqldir=mysql_sql! L2 t9 i# T2 {* o) B3 W
  60. Drivername=mysql
    1 k* @5 Y3 ?4 ]( |/ T
  61. Database=test
    ) d$ {% m. z( L5 ]& E/ E) j+ d
  62. Hostname=127.0.0.11 S- y% r1 z2 d
  63. User_name=testuser
    , |& [8 M$ ^5 P( K6 ~, m# p3 g, y
  64. Password=my_password
    ! {% @4 P  b% k
  65. GetDriverFunc=getSQLDriverMYSQL2 M( v: `/ O7 D  j% p# w% f* j
  66. VendorLib=libmysql.dll
    / d+ K- H+ |) }. e! I9 R
  67. LibraryName=dbexpmysql.dll
    # i$ E6 A# K8 l7 W
  68. Active=1$ f( o, L2 N$ s/ e" Y9 j- n
  69. ---example----8 K/ M8 R9 B5 y. I
  70. - written 02.03.04 by pwk.linuxfan
    / F/ Y$ j5 x8 L! i/ s
  71. # s) l) F; A+ z
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
' j% O1 Z9 C: n  `; H! q8 t- C  Q
  1. ( \3 [% D: K8 A% `- w0 B5 ?( L
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 8 R3 \2 D& ~+ G! w( L3 {3 X

  3. $ @% C( b4 f$ m0 s6 D& E: N
  4. # # #我们所需要# # #
    , p1 w' K: E0 X% r/ n, e. Y* P
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    9 m* ], Y& q5 o  G/ T& o
  6. 不会解释如何做到这一点-也有文件存在,为$ G0 Y( X* g% E; g
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    7 a  q# j# l# f. T# z# E
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    " i3 o  ~1 k7 ^
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
      t3 L/ c$ r# ]4 E. a
  10. 本地机器,这是我的MySQL安装。 ! N2 t) I4 O, j$ t
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ' ~+ B3 L0 l$ H) M% R
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 2 U) F; H7 T1 B
  13. 数据库。
    ( Y, X2 l0 G* M3 M+ S( y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在; G+ C8 K4 E' L" }: D
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    , I$ K7 q: `7 P% c' V
  16. 在teamspeak论坛,如果你有兴趣。
    5 F5 M3 H8 ?0 s' o
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    0 M8 s1 n. M. f- L+ j0 c! K
  18. Borland公司使用。这个司机只能界面与客户端库" V# h/ \. [3 U% H
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这4 ]! `' `4 ]. N' q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    & j9 P0 {. B, K, n4 I0 ~
  21. " vendorlib " ,并解数据库连接。 6 R' G7 j8 e5 \1 k6 o7 D; `
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 6 T8 A; I8 O  v1 J. g, V" q2 m

  23. ! n3 W! N: J) w
  24. # # #做好工作# # # / f8 u& ?  h) P" V7 m8 I
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都7 u; u9 {! c; z, E% }
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在: ?/ m/ r4 K# J1 X+ F7 a' y7 t
  27. 结束:
    3 I. Q: V$ ~% _& C' Y5 k
  28. ---削减这里---
    3 |& `" z0 t" K9 k) P3 C: a+ d
  29. [ dbexpress ] " x/ M4 ?  K6 Q; k" p
  30. sqldir = mysql_sql
    ! r1 u/ V% r9 J* L
  31. drivername = MySQL中$ |1 c: z+ X" @. S( p& a, X/ v
  32. 数据库= your_database_name_here
    % K% ]# l6 w$ t1 U7 v0 E3 \- @
  33. 主机= the_pc_the_mysql - server_is_on
    & K/ c% P! B( U. `( x' {" `2 W/ o
  34. user_name = user_name_on_the_mysql服务器; A& G; F8 y# b  I$ H' y4 M
  35. 密码= password_to_go_with_above_user_name . r; {# |( S( S0 L- s$ x! g
  36. getdriverfunc = getsqldrivermysql
    " b4 X3 j0 g1 _3 C
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib * a& d/ `  T( i! u! n
  38. libraryname = path_to_libsqlmy_libary
    ) W1 `( C! E1 e& i# ?7 v
  39. 积极= 1 * B! T6 U! [9 s- e
  40. ---削减这里---
    " j- R1 b4 j5 ~/ l$ C
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    8 ^) L( s% @3 Z" ]; O2 p
  42. ---例如--- 6 X8 b& t& e1 h. }
  43. [ dbexpress ]
    5 Z0 _% h) G% G
  44. sqldir = mysql_sql ) i  y5 m% h& ~9 h9 i; S
  45. drivername = MySQL中
    & p9 C2 x* A/ g& p" T4 n
  46. 数据库=测试! ~! s% T2 {) a- \
  47. 主机=本地主机6 v: Q, K. B. r  R! h5 G% p" a) B
  48. user_name = testuser
    & g  H. r0 ^. i+ J% B0 g
  49. 密码= my_password - ~1 u. x# F* W3 B& J3 A8 |- B
  50. getdriverfunc = getsqldrivermysql   v$ d1 ~( E, a2 n2 p0 Q% `
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    # H# v3 F" a& n
  52. libraryname =. / libsqlmy.so
    ' m# l: i( j! L# g* Z
  53. 积极= 1
    0 q4 r  u" w% \8 D; Y- U/ S
  54. ---例如---
    ( }9 n7 B% A: r$ Q$ h/ L" `" F: h
  55. - F! y! [7 f- {
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    8 w% T( h" {& Q' b; b
  57. ---例如---   {" r) f: E, b
  58. [ dbexpress ] 5 Y0 X  c. U: I8 r- X$ I5 E) [
  59. sqldir = mysql_sql $ o$ t5 W& ?: a8 i6 i& e
  60. drivername = MySQL中/ G" q4 O0 X- U$ _
  61. 数据库=测试
    & |2 y- W1 c5 B8 |4 L, T2 b
  62. 主机= 127.0.0.1
    8 {  F& K" X1 Y& x
  63. user_name = testuser - z+ D) E' s6 M
  64. 密码= my_password - h% ^5 y3 s) b1 N( v+ v" O! [
  65. getdriverfunc = getsqldrivermysql 3 j+ U2 w8 {7 A% ?3 N0 A5 E
  66. vendorlib = libmysql.dll在; ?( o8 r' Q, \5 F' _! R, w
  67. libraryname = dbexpmysql.dll 6 D) y; |9 ]1 ~$ f9 }. C
  68. 积极= 1
    ! [" E4 @8 ~4 N; o8 P
  69. ---例如---- ! C5 ~8 w$ a$ M( e! S) P, ?
  70. -写在0 2.03.04由p wk.linuxfan; e5 F7 n# o( \) s+ G' l
复制代码
发表于 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 words3 Q+ Y+ ?0 L' V  i7 S

  ?0 y1 j& B( J! K( y, I: I5 P9 g& wbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-16 01:17 , Processed in 0.063939 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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