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

2803 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
' y, J( k- E1 U8 h, P- v
9 U# \( E8 M/ q0 @! b$ E
  1. - H% F% O( F8 F( [. O: O
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######8 [; J# H) U2 w  }" r; A

  3. # ^; \3 [% h/ J* G$ p( v) |0 d
  4. ### What we need ###
    - R9 N2 j- \3 Q" K0 R' T
  5. Naturally, we will need a MySQL server to store the data for us, this document " I2 i! Z2 Y! Z
  6. will not explain how this can be done - there are documents out there for the
    , H  G4 k+ P; U  y  @  z: u
  7. interested. The requirements include a (empty) database for TeamSpeak to use' P' G; l6 A* y
  8. and a user account (username + password) that has the permissions to do stuff' D- A- I% v9 \4 a+ B
  9. with the database. Additionally, you will need a vendor library installed on the) U1 W0 U1 ]) w" t: s" p
  10. local machine, this came with my MySQL install., E& I: i+ }6 o7 B5 C4 j
  11. These instructions will not tell you how you might transfer your data from the
    : ~2 w; {+ s7 \5 _# Y1 ?; ^
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    2 `& L. a3 t6 H: m, e
  13. database.$ Z1 ~0 g" t% a, u& n( J
  14. Some users have reported ways to import a SQLite database into MySQL, but at# p4 Q& }: S$ f4 u
  15. the time of writing, there are still too many issues - check the current status! U: L2 k- V+ e8 l
  16. in the TeamSpeak forums if you are interested.5 p. T3 R1 o  p2 |8 k5 {7 A% y
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    6 W8 m" M- [' q7 g# `0 B* N$ R; {6 N
  18. Borland was used. This driver can only interface with the client library that
    0 l- z6 g2 }" u
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this! q5 m1 V6 e3 y( B$ ]7 C6 @
  20. client library - basically all you have to do is to use a 3.x client library as
    + Q+ @6 T1 M" Y+ Q6 ?
  21. "VendorLib" and a 4.x database to connect to.
    9 ~9 M2 {, T" A5 t  p
  22. If you need more info about dbExpress, you can contact Borland.
    5 N' q$ X2 a3 x2 Q
  23. % [; `& [; g% y2 r3 r, n
  24. ### Doing the work ###
    7 u- }$ I' a# y& u+ o0 D  A% b2 a
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ; z! J/ {7 i* ?% L
  26. the perquisites right, just open your server.ini file, and add this section at, m( c! H3 A4 Z- v4 N% l9 {
  27. the end:4 V& R5 }0 v) q7 x
  28. ---cut here---+ q9 e' p4 l& D0 J' L% |) K
  29. [DBEXPRESS]
    " [8 l0 Q, S, V9 {
  30. sqldir=mysql_sql
    9 ~% C9 ]9 m( ]2 t6 r
  31. Drivername=mysql* [7 t: d. H! F9 Z# s% l
  32. Database=Your_Database_Name_Here
    7 p' m+ `5 D& W2 r- n5 `8 m
  33. Hostname=The_PC_the_MySQL-Server_is_on3 M* _/ A% @5 Z: F1 J  C; Q/ a( D$ b) Z
  34. User_name=User_name_on_the_MySQL-Server5 X2 {6 [! e- F( U
  35. Password=Password_to_go_with_above_user_name
    & F' M- q: s: l
  36. GetDriverFunc=getSQLDriverMYSQL/ {! c* F# `& W# E
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    . N; \* w5 Z. X
  38. LibraryName=path_to_libsqlmy_libary. ?+ i5 l* D3 E2 E
  39. Active=18 t: q1 E" d. I2 `7 z
  40. ---cut here---
    + Q* _8 t: M1 H/ Z* c
  41. In my environment (a linux box with a MySQL server running locally) I have:  C% T% c6 z' K# G7 U3 z) }
  42. ---example---
    ; K1 s- o1 z" x8 x' i" K
  43. [DBEXPRESS]
    - k0 W" R! C& d
  44. sqldir=mysql_sql
    1 x/ R2 Q, c$ o. [& k6 i9 u
  45. Drivername=mysql
    0 T, q9 T# b+ D* j! N& \% J
  46. Database=test, t/ q. I+ R& H) m4 S- v
  47. Hostname=localhost" F' ^. M0 E4 R# o3 F
  48. User_name=testuser
    + Y, n# C$ y' W+ s7 X
  49. Password=my_password
    ( ~9 e+ I3 b  c3 b' m+ L3 M
  50. GetDriverFunc=getSQLDriverMYSQL. B4 S! b8 Z/ a& {: `
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    9 s) l! H+ T" r/ l) B" z; }
  52. LibraryName=./libsqlmy.so% N5 V6 p, d$ u' j8 Y
  53. Active=1
    9 T# f1 `# M8 E
  54. ---example---
      N* x" m. D- a4 K0 A/ T% v& I
  55. ! f3 L( q" s5 g, H6 y+ f0 [! N
  56. On a windows box, also running the MySQL server locally, it would be:$ I& M  E8 v4 h- \9 j
  57. ---example---
    ! ^! ]2 q+ ^1 D: m4 ?0 S% c
  58. [DBEXPRESS]" p5 p" ?/ i7 I: j) @5 n
  59. sqldir=mysql_sql2 g  G  T9 u& C) u5 p& a) `
  60. Drivername=mysql- A5 K' R/ P2 o! b% u
  61. Database=test
    ) X# F" @0 M0 z9 i" `4 A
  62. Hostname=127.0.0.1
    " H9 m  P2 q3 q( w/ O2 H4 s+ _4 B
  63. User_name=testuser
    1 q1 g# Q' i4 q0 O3 i3 p" X7 e
  64. Password=my_password" z0 H" |- i4 M1 P1 o2 ]
  65. GetDriverFunc=getSQLDriverMYSQL1 ]4 s5 `7 W; X9 s$ o, Q/ P
  66. VendorLib=libmysql.dll& K; D% K' n! \" ]* a8 p
  67. LibraryName=dbexpmysql.dll
    # K' f4 ?" H+ G# U. m2 n6 [
  68. Active=1
    * p, i; Z- D2 c7 M! v* V& o
  69. ---example----. d: g" d; H2 D3 K6 G
  70. - written 02.03.04 by pwk.linuxfan
    & D, j8 m7 j; X9 E; j

  71. $ Y  ^3 i9 z# Z* i7 a3 N% ^- _
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
, N" n. X; n% s" N

  1. 8 V* T& }/ J: h% f) o
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### : q" _4 I" [" G% P6 j
  3. * P- d3 o/ w/ Q8 I4 \3 W; ^
  4. # # #我们所需要# # # 0 ?% L2 j8 `# f8 N3 t; c
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件( R' l, V  Q8 @2 Y: m8 D+ V
  6. 不会解释如何做到这一点-也有文件存在,为
    8 Z; A% d, v9 G8 ?
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用: J7 o+ P4 K' P/ N
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西6 T3 H) P4 T7 \! \) z0 H8 m
  9. 随着数据库。此外,你需要一个卖方图书馆安装于; i$ ^1 {0 x1 S) C8 W
  10. 本地机器,这是我的MySQL安装。 2 j  \% I6 \  d3 |& c0 _$ [+ E% Z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从# c* r6 m- d9 R4 c. v. V
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL + K8 T& s- C7 C% A
  13. 数据库。
    , c9 s2 E1 b% c) W1 [1 v; R. ?" y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在; n' a. ~/ p+ @5 m
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    * j5 w7 f6 b, w$ o5 m( Z* m
  16. 在teamspeak论坛,如果你有兴趣。
    % z9 l) w7 \% r+ j; K
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
      D# l. n1 z% m- \; \
  18. Borland公司使用。这个司机只能界面与客户端库
    ) V& j% @% P# n: S3 s
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    . K5 Z- @7 \7 ~
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    3 k$ i  q9 n& }* a
  21. " vendorlib " ,并解数据库连接。
    ( ]5 ?6 T: q& }" J
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 $ s  `+ X  v6 r. J; W
  23. 9 o& K5 D- N  z- q( `2 B7 i7 Y
  24. # # #做好工作# # #
    , @; F$ W; b* p$ c: @9 i, A
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都, @1 a6 Q3 n+ n& _
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在: k0 |: V! X, c9 ?* [* d
  27. 结束: ) J% c  S/ o/ y- s, P7 b) h" ?) p
  28. ---削减这里---
    3 B3 D/ h& Y( G* |. }
  29. [ dbexpress ]
    8 i7 o/ }, V( G6 {$ m0 ]. y5 C
  30. sqldir = mysql_sql
    " `" w4 d5 B7 m! ?, Y
  31. drivername = MySQL中  ^% x! k! S0 ^5 \/ z
  32. 数据库= your_database_name_here 9 d( c+ g3 F0 x7 S
  33. 主机= the_pc_the_mysql - server_is_on
    % v5 F2 P/ h: a/ O8 X7 n
  34. user_name = user_name_on_the_mysql服务器! F( b/ |7 t. \
  35. 密码= password_to_go_with_above_user_name / _) I( O5 H5 P; |0 w
  36. getdriverfunc = getsqldrivermysql 5 P( V6 [1 t. o! n7 _2 t' @
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    # p. ^9 ?! Z7 c$ m7 n8 `2 M
  38. libraryname = path_to_libsqlmy_libary
    ( n; O" F2 {8 p+ g2 U
  39. 积极= 1   u' _- B0 s7 F" n' P. U* {
  40. ---削减这里--- ( I, l- w( v' j! b7 D
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    & G* y# y7 n2 @7 B
  42. ---例如--- 0 T5 N0 \$ l8 o% F
  43. [ dbexpress ]
    ; L: R8 `! v: f( a! W) i; q
  44. sqldir = mysql_sql 7 \" X! h: @% M& D4 N. Q$ d
  45. drivername = MySQL中+ V2 C- {% ^% K' B- Y
  46. 数据库=测试
    ! E& {) H4 f! |5 F8 W" Z3 J# Z
  47. 主机=本地主机" d5 c! \+ Z3 f
  48. user_name = testuser
    - Y6 T6 `1 b7 D1 K4 f9 o4 W' I
  49. 密码= my_password & o4 q5 v- l- X% F
  50. getdriverfunc = getsqldrivermysql 7 L  _  ?: N, ]0 ?) ^
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
      p0 a0 o1 ~, n
  52. libraryname =. / libsqlmy.so
    7 G  }  A# x% I$ d
  53. 积极= 1
    9 ~) G6 ?) W: s: h5 w) o* w
  54. ---例如--- 3 A, D8 U/ [& n( v% `. U

  55. 8 F+ X1 V8 U, V- `
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ! J8 ?- h4 I1 K0 o' n6 r- i
  57. ---例如---
    5 c4 G/ I3 Z+ t
  58. [ dbexpress ]
    # D' R- A! Z9 l9 v
  59. sqldir = mysql_sql 1 m# Z1 e6 h( [+ A, x
  60. drivername = MySQL中- S1 a; H4 b1 M6 y
  61. 数据库=测试/ X3 f( W6 y8 i. ]$ R2 v
  62. 主机= 127.0.0.1 4 q$ I- ^7 D' G+ |2 z4 I6 k
  63. user_name = testuser
    - X7 p5 ^' b  Y% o4 E
  64. 密码= my_password
    , d3 x6 ?, F  ?9 r3 p% n% `! Y
  65. getdriverfunc = getsqldrivermysql
    $ o9 {3 A: T( b! R& Y! w2 E$ o
  66. vendorlib = libmysql.dll在% O; |! Q" h0 g
  67. libraryname = dbexpmysql.dll
    : A0 w& V' G4 h/ c% }
  68. 积极= 1
    ! n. X9 C0 \; C9 _1 Z2 `
  69. ---例如---- " i6 z( O4 H) g
  70. -写在0 2.03.04由p wk.linuxfan  E- D3 m/ a6 z1 C' ?
复制代码
发表于 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
* |# q  `! r' A+ k6 H3 V$ O7 W6 w1 @" ~
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-25 02:55 , Processed in 0.094573 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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