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

2624 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 5 @. Y' ?% n8 r$ ~4 ]" c8 p' y

" Z: \" |0 m( O3 w
  1. ( s  {6 M1 M, \: J
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    2 L# c2 u$ S: ]
  3. 8 Z) a5 L; s& @/ k/ ^; d
  4. ### What we need ###
    : z, k! R1 [7 [0 G
  5. Naturally, we will need a MySQL server to store the data for us, this document 5 m' k1 I& F7 Y, U- @7 T
  6. will not explain how this can be done - there are documents out there for the
    3 E- b* S- a# Z. \$ v: s
  7. interested. The requirements include a (empty) database for TeamSpeak to use  a7 [; U' b8 ~, a( m* ^4 M
  8. and a user account (username + password) that has the permissions to do stuff
    ; j" A5 i4 w5 N+ y
  9. with the database. Additionally, you will need a vendor library installed on the
    . y' t  v" q5 E5 K
  10. local machine, this came with my MySQL install.- A/ K1 P( U8 O4 ?7 W9 t+ Y
  11. These instructions will not tell you how you might transfer your data from the- h- g2 l) t- f! D  t' s
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL6 g% s. M2 X$ f8 Y3 C7 z
  13. database.
    2 ^6 H  e4 v! ~3 m9 C2 U% L
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    . M2 v8 a  ^3 \3 A
  15. the time of writing, there are still too many issues - check the current status
    ; L1 g, v9 }. D4 f# v9 C8 r
  16. in the TeamSpeak forums if you are interested.2 I5 {( B( [& _% q+ O" D( D
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    % Z, q; V0 o" {
  18. Borland was used. This driver can only interface with the client library that ; D. z9 r& q1 K; N0 t! w( |. Y
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    $ ^2 z  v3 u8 D& X
  20. client library - basically all you have to do is to use a 3.x client library as * @2 {7 y- i' b2 Q
  21. "VendorLib" and a 4.x database to connect to.  c0 }; u- N/ v7 \0 j
  22. If you need more info about dbExpress, you can contact Borland.7 Z7 l8 V, P. h5 F% w, Q: t$ s

  23. , a, U- ^& C2 N5 y  w) }
  24. ### Doing the work ###5 [+ J% @) f' O: Z+ C/ E5 i
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    * R$ B) r9 E* O* h0 u
  26. the perquisites right, just open your server.ini file, and add this section at' P, k4 \. o0 V0 O, x5 Z
  27. the end:
    2 v4 [5 d' w2 x4 B2 D/ P9 u
  28. ---cut here---9 U# H1 {5 h  ~* P" a. d4 K- n
  29. [DBEXPRESS]' f: a% C7 g, [: R6 l
  30. sqldir=mysql_sql& K8 Z. F; u8 r* I3 Y1 E! v
  31. Drivername=mysql. l4 s) H! ^0 x
  32. Database=Your_Database_Name_Here% d; E! M5 R; s- h
  33. Hostname=The_PC_the_MySQL-Server_is_on
    1 I% y) `5 |; L( b/ y0 J
  34. User_name=User_name_on_the_MySQL-Server3 d' r4 B- h* r) H0 L
  35. Password=Password_to_go_with_above_user_name
    ( ?* l# c( R( e# i
  36. GetDriverFunc=getSQLDriverMYSQL
    / [8 N' o( w9 J9 }1 ]
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    9 z- V6 x0 y0 c2 i
  38. LibraryName=path_to_libsqlmy_libary
    3 `8 w' o/ F% _. d+ f
  39. Active=1
    - K2 x: c- v1 \% h6 q
  40. ---cut here---
    7 L; J" |) z; `% K; C8 Z. v
  41. In my environment (a linux box with a MySQL server running locally) I have:
    0 R: }5 `4 b) w6 U* d0 t/ @
  42. ---example---
    7 O, \1 i; G$ e" {
  43. [DBEXPRESS]% [+ ~% N* H7 h: B
  44. sqldir=mysql_sql) m- q* |9 D2 b. |) h3 s6 y
  45. Drivername=mysql
    , n% b# V# R& Q& Z: P
  46. Database=test' u( ^1 V3 M/ ]' r
  47. Hostname=localhost  X% u4 g6 Y) T7 P
  48. User_name=testuser+ s% E( d! O- u1 E8 E
  49. Password=my_password$ K" B' `3 E& m+ s' J0 U: i
  50. GetDriverFunc=getSQLDriverMYSQL
    : M6 h) ?' j7 w! r
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0* F- @$ O* J( Z+ \1 M4 o& I5 N
  52. LibraryName=./libsqlmy.so% H3 I+ N2 q4 k# G4 [& e
  53. Active=1
    + o4 T, r. c+ }6 G  e0 y6 z
  54. ---example---. |% t* Y" }: L3 }' V) V' b
  55. 4 v. s. U* T0 n$ ~! R, j! D) a1 ~! U
  56. On a windows box, also running the MySQL server locally, it would be:" Z5 T7 X# U+ _9 Y4 P) t
  57. ---example---
    6 W: l8 T0 h" H7 v+ h
  58. [DBEXPRESS]$ J7 A* i7 l2 c' e& t# @
  59. sqldir=mysql_sql) i% s1 Q* _$ ]! a" p
  60. Drivername=mysql
    . [$ E/ c- ]/ C6 F
  61. Database=test
    3 d& {, ^6 S+ E% Z
  62. Hostname=127.0.0.1- D5 h# x! C8 j8 E& q7 d; o, v* P9 P
  63. User_name=testuser
    9 n6 Y, j1 u# |
  64. Password=my_password
    ' _4 I8 ~9 c' Z# ]
  65. GetDriverFunc=getSQLDriverMYSQL
    4 w) I" C4 P; W2 y) Y2 P
  66. VendorLib=libmysql.dll
    & r" U$ e' h& d
  67. LibraryName=dbexpmysql.dll, L. [1 v; V; Q: x  E. X8 x. k
  68. Active=1
    ) Z# r' I. }( p& |- o) i
  69. ---example----# v$ t) w0 U, A% b
  70. - written 02.03.04 by pwk.linuxfan, ]( _: Q! A- p  a, [9 ?

  71. ! v2 D1 d- g  X' Y% I! k  u
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
5 ?& v' P( i& I8 E8 ~  Z% ?5 V  K

  1. 3 V: ~6 I3 P7 D7 Y- O9 Z
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 6 g9 x7 c: Y. A
  3. + s/ ?5 ^# _4 R4 F2 N0 T0 O
  4. # # #我们所需要# # #
    ( O" T% }  l3 d! h$ K
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    % S" @  l/ ^1 B7 }: ~
  6. 不会解释如何做到这一点-也有文件存在,为3 \" B. I, N0 C4 R
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    8 y) g: g4 Z4 j/ a, s+ ]
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    % y$ J, b: Z0 |+ S
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    6 ~3 M. Y$ s8 b# B# q
  10. 本地机器,这是我的MySQL安装。 7 L) Q) |. K% |# |: g
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    # K0 n" O( R& n
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    # y3 @8 i3 g& F, f0 {5 V+ s
  13. 数据库。 2 ^' z& s7 O1 V* d  K8 V+ R
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在7 V; ~& O' I' ?- S1 y8 Z0 c
  15. 编写本报告的时候,仍然有太多的问题-检查现状& \. |) ^* O- C* Z# d5 v
  16. 在teamspeak论坛,如果你有兴趣。
    % h# k9 [; Q7 j  i
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    5 h, T3 D9 x  h# o$ o& z
  18. Borland公司使用。这个司机只能界面与客户端库
    9 \/ ^2 Z; N; p! L$ v
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    & u, D5 J% C; L) g/ b8 M- ~# Y' B" c
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ( D: n$ L& G# Z% t; L
  21. " vendorlib " ,并解数据库连接。
    ; E$ |# p+ z( o
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 7 O% C, P3 _; X1 i8 \( R& z
  23. 0 T& o7 ?7 H! t( }( U
  24. # # #做好工作# # #
    8 ]$ G" L' Q3 K# m+ y
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    $ ?8 Q& W2 S  q( p9 c1 ^3 X
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    6 r* A% k" X/ Y) i
  27. 结束:
    ) h, [  d# A8 ~4 h/ H% @: C
  28. ---削减这里--- % B4 y  t- A# @6 y& z, D9 i
  29. [ dbexpress ]
    ( p7 c- N4 ~. Y" Z1 @# t
  30. sqldir = mysql_sql 0 w+ q; Q' q9 L- [8 g
  31. drivername = MySQL中1 {0 ^+ e0 H- Y, ]  m; g5 Q
  32. 数据库= your_database_name_here $ h) A1 M5 k* d. O( J% m* f; m
  33. 主机= the_pc_the_mysql - server_is_on $ j2 N* {: W- x
  34. user_name = user_name_on_the_mysql服务器1 B1 r9 f2 \" T" ~
  35. 密码= password_to_go_with_above_user_name
    - M* H* b7 m/ S9 A8 l4 t
  36. getdriverfunc = getsqldrivermysql
    $ b9 m; J- E% ]: k" x
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
      b* A9 J- b8 |$ W4 X" p) k0 F
  38. libraryname = path_to_libsqlmy_libary 1 K* T: Z, G0 k) h6 g7 }) H
  39. 积极= 1 + y0 c4 D: A) m- Y, `; k+ `
  40. ---削减这里---
    3 v6 D, B* {' z# i
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 3 e2 {" w6 {8 h- o  K( ^- y
  42. ---例如---
      V* R6 B# _: o
  43. [ dbexpress ] 5 X% ~9 C# \3 ]9 f+ o' h& ~
  44. sqldir = mysql_sql
    ; m3 q  X3 g: B# k* O
  45. drivername = MySQL中
    ! c+ w! P; R* O
  46. 数据库=测试  a0 p- W; E, z5 |; S7 u' Q' z9 o0 h' v
  47. 主机=本地主机
    0 ~7 U! s( v2 g: R
  48. user_name = testuser 9 C1 B2 J: G7 Y0 ]
  49. 密码= my_password # n& s( V- B: S" o5 ~+ M+ ]1 u" |- s
  50. getdriverfunc = getsqldrivermysql . i0 a& A4 A/ t6 W: }( L% _# s
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 / P) X! ?" W0 j3 f5 i' R1 r- c& o
  52. libraryname =. / libsqlmy.so
    # `5 y! N9 O; ~+ K8 j* n5 q! ?
  53. 积极= 1 ( O  Z2 e! Y' P: |
  54. ---例如---
    7 N: K+ f! o9 @6 e7 @  \# M+ m
  55. ) Y" i( j; N! m& D) t
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ! h0 z& [" k" g8 `& p* w5 k' _
  57. ---例如---
    7 y) p3 I- d4 ?
  58. [ dbexpress ] + U# v! _. b, g% O" D7 o
  59. sqldir = mysql_sql
    % m% [+ @5 R. w0 ?: n
  60. drivername = MySQL中& V9 j( m, |0 I# D1 k8 A
  61. 数据库=测试! H2 ?. G0 r3 S" r$ J
  62. 主机= 127.0.0.1
    7 d: V/ S% H& j0 K+ B6 S- e
  63. user_name = testuser 4 C! X' F3 E7 I5 ?# Q1 l
  64. 密码= my_password
    * R( J, j' E! K& E, }, M
  65. getdriverfunc = getsqldrivermysql . F; v( t, v+ \! e7 C  I0 X- {2 l0 w
  66. vendorlib = libmysql.dll在
      y) g/ T+ F6 Q. z
  67. libraryname = dbexpmysql.dll 9 i+ `7 [' X" e& n- q' x# k+ X& M( i
  68. 积极= 1
    : \9 P+ @- y4 x; ?3 |9 r2 K  h6 r) S
  69. ---例如----
    2 t9 W9 Y; H5 M9 q3 Y% e% b3 a
  70. -写在0 2.03.04由p wk.linuxfan
      w  g7 s7 c. l* D; i! 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 words2 h! _5 g% {4 I9 f& w9 ?$ a

! [! S& @8 s' C5 kbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-15 09:40 , Processed in 0.112789 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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