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

2345 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
2 F+ k& ~& n' h0 ?7 C& R3 L+ ?; ]/ y6 O

  1. + h1 h8 W1 z2 M3 H
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######' d6 ^8 j) c, ^

  3. 8 |1 ^: Z* r  [
  4. ### What we need ###
    ! w; e8 S0 e9 Q6 x/ u1 ]; `
  5. Naturally, we will need a MySQL server to store the data for us, this document
      W! V" \" Y1 ^7 o5 h
  6. will not explain how this can be done - there are documents out there for the
    # Z% m1 e  p$ r+ `/ ?
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    , Z3 O- N5 K+ z2 \# x0 G! Y; F( j5 S
  8. and a user account (username + password) that has the permissions to do stuff- I( q5 J- S; u  ~) q5 n2 O
  9. with the database. Additionally, you will need a vendor library installed on the( l: w: a( M: P! c, W
  10. local machine, this came with my MySQL install.
    : s( o0 ?- G% x0 M- j. ~4 O; a# s
  11. These instructions will not tell you how you might transfer your data from the
    * R6 F, N3 v# U; D2 G
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    0 L, Z8 n, S) b5 k9 b! e4 D4 L
  13. database.  F' m0 U7 D5 s* J+ f/ J) p3 x' b4 p7 J
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ( O0 I! F) ^& o5 X/ ]
  15. the time of writing, there are still too many issues - check the current status
    ! h/ _7 O3 a! y+ A7 D
  16. in the TeamSpeak forums if you are interested.
    & t6 h- }* P' u6 P
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ( m  M- }$ Z% {8 A
  18. Borland was used. This driver can only interface with the client library that
    1 B- Y+ W7 ^# C7 O
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    : x% f' Q7 N. k
  20. client library - basically all you have to do is to use a 3.x client library as
    0 Q% x: G/ c9 _3 A, ~4 ]" @3 v
  21. "VendorLib" and a 4.x database to connect to.
    1 s$ D- r7 T( M  M3 L
  22. If you need more info about dbExpress, you can contact Borland.
    " v' Y* @3 q3 H$ F7 a% O

  23. 0 {  _0 ^$ ?1 p5 Y% J) Q3 f
  24. ### Doing the work ###
    " e# g! g1 {6 ?, ?! ~+ n
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    & R* f! B! }- ]5 H
  26. the perquisites right, just open your server.ini file, and add this section at
    7 }1 B6 G% M1 D; s) k* X6 r& [
  27. the end:4 j% C# n/ M, b9 P
  28. ---cut here---
    ! H) ]6 M8 H: d5 Q
  29. [DBEXPRESS]
    3 r5 F- g: h; Z6 V3 \
  30. sqldir=mysql_sql
    ! S4 ~/ Z! V) B" B, z4 s
  31. Drivername=mysql) G. ~. f: C7 A
  32. Database=Your_Database_Name_Here
    & _8 W3 x' `0 L0 J$ ^$ e
  33. Hostname=The_PC_the_MySQL-Server_is_on
    : W6 H6 [3 O2 b+ L
  34. User_name=User_name_on_the_MySQL-Server
      o- S7 s  x6 s$ A: q# B( t
  35. Password=Password_to_go_with_above_user_name
    1 i; r& v6 Z% H9 ^
  36. GetDriverFunc=getSQLDriverMYSQL3 l3 n# M) q4 T$ _# @9 Z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    2 X: o2 d- D, S1 \9 ^2 M: L
  38. LibraryName=path_to_libsqlmy_libary
    ' U2 @+ j8 S2 C( R
  39. Active=1
    + M2 |" I  {* K3 ]3 ]) d! i; R
  40. ---cut here---
    . B! y$ H/ l5 e& `4 [
  41. In my environment (a linux box with a MySQL server running locally) I have:* g0 P4 @& b9 O+ q
  42. ---example---$ \4 V2 w" R1 C- p
  43. [DBEXPRESS]6 @% a+ ?8 p7 |( N
  44. sqldir=mysql_sql: M9 n. Z6 ~: n6 m
  45. Drivername=mysql$ X) X% Y/ C' r. H( I$ _
  46. Database=test
    * D1 p! \. s* d  L
  47. Hostname=localhost
    . V7 T! v* {' L' z/ @, [3 c
  48. User_name=testuser
    . Z$ x& B% g1 n2 `" j
  49. Password=my_password
    / j% s% e% T: l, H# l
  50. GetDriverFunc=getSQLDriverMYSQL
    8 W- `# j! g/ Z2 g' S5 v3 r4 u" d& V
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0! I4 V$ s" A/ e2 f
  52. LibraryName=./libsqlmy.so
    , |4 o; d- M6 b
  53. Active=1. c6 f/ O4 y$ h  E9 e3 H, U
  54. ---example---/ G9 G: K( F6 J9 J  I; A( X
  55. ' R# u7 A5 E$ _
  56. On a windows box, also running the MySQL server locally, it would be:/ r+ g! D: E" B' j; u* m% y$ ~
  57. ---example---# B' F; Z2 G- ?$ J$ S
  58. [DBEXPRESS]7 p* a+ V: Z! u+ q
  59. sqldir=mysql_sql, J. o( m$ P' T& A4 s* ]# {
  60. Drivername=mysql
    " N5 N; L9 P) b; a7 M4 s! d
  61. Database=test
    5 b" o4 e, j+ P( m
  62. Hostname=127.0.0.1
      A# f1 \& a) Z5 K5 t
  63. User_name=testuser
    6 J- d  {$ E4 m* Y1 f
  64. Password=my_password
    # @3 P- M4 K& Y& A
  65. GetDriverFunc=getSQLDriverMYSQL1 a* e, z" }, o# [' {
  66. VendorLib=libmysql.dll
    + o# M: _. M8 `1 u% i. F: U
  67. LibraryName=dbexpmysql.dll
    5 h0 v; R$ T* F- @! _' w7 o
  68. Active=1
    * J% X2 K0 I% o' L7 g$ m
  69. ---example----
    " _: W/ V4 J8 l
  70. - written 02.03.04 by pwk.linuxfan0 G; I0 o$ Q: [/ \

  71. # ?. d! Y( x( q" v
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看  ^; a2 O+ F  }7 u" x1 w
  1.   S* B4 _  \) q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    / Q0 V8 Y! {. F. L7 u
  3. 1 b! U, N- }4 x) w
  4. # # #我们所需要# # # % f1 i1 A0 }/ v
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    . s$ Z, B% f1 A% B2 e4 ]
  6. 不会解释如何做到这一点-也有文件存在,为8 s2 W/ k( |4 N( w; _( w' b
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用- ~7 [4 V8 C" J; i" |1 U6 t
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西" Q2 m% v% K, t0 M
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ' W) w0 Q+ V5 h- e. \
  10. 本地机器,这是我的MySQL安装。 0 {( p  ]5 Q- S! _& d
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ( L! H" w0 i+ |" l% r* J
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    & m9 O( {. _8 N% R
  13. 数据库。 9 J" f- a: A7 U0 K6 w  E% L
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在; A! Y+ G6 [4 ]' n( f1 k' `( }& e, F
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    & p' f5 D9 S- `
  16. 在teamspeak论坛,如果你有兴趣。
    9 W2 a, G1 ]/ W+ R# y% r
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    * i6 l# T. P, I$ ?5 c
  18. Borland公司使用。这个司机只能界面与客户端库
    / i% Q! @3 G) }6 X# R9 t. i7 D1 ]
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这; m; r% k+ \+ @& j. v. A1 i! y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为$ z4 ~+ I) ~  D1 W
  21. " vendorlib " ,并解数据库连接。   T1 Z+ z9 Y$ s7 i
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    * V/ [4 ]6 l6 D

  23. $ H+ A$ [3 m8 N/ u6 P, q
  24. # # #做好工作# # # ; e- K7 H5 r- n) a8 U. d" i% j
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都! `& Q: e9 _; S% x7 @0 L
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在$ S' b% w7 \" z/ {  y1 M" C6 G
  27. 结束: . l8 Y2 e+ D2 d
  28. ---削减这里---
      u2 m# I. _. H1 L
  29. [ dbexpress ] # ~2 {$ U" A: d3 Q
  30. sqldir = mysql_sql ( g1 }, A1 v: g' [" M/ c. `
  31. drivername = MySQL中$ t6 J9 x1 r* [8 L8 S9 `! H+ Q
  32. 数据库= your_database_name_here " t( U" Z/ V; ]1 `" ?7 @
  33. 主机= the_pc_the_mysql - server_is_on
    0 @! x. a  W, e5 m0 D' o
  34. user_name = user_name_on_the_mysql服务器
    5 L5 K- c1 v; ^" \
  35. 密码= password_to_go_with_above_user_name
      s- Y# }8 ^  ~1 G. b% @- M: l
  36. getdriverfunc = getsqldrivermysql ; ~3 {" Q/ c4 c3 G) s8 v8 S+ @
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 8 p% A3 K9 C; w3 F  e' g
  38. libraryname = path_to_libsqlmy_libary ! v5 x: B2 h5 N
  39. 积极= 1
    % c+ V; I  q$ _5 t6 u
  40. ---削减这里---
    2 d/ h. T, A5 m% n- _3 B
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    + V1 E9 o. D4 u/ V  k1 z, v' ^
  42. ---例如---
    ' i, J! b: n, m+ I5 [
  43. [ dbexpress ]
    , }$ H3 w6 y( y4 Y; M1 `- M6 V" K
  44. sqldir = mysql_sql
    ; i* I9 c2 E9 C' T
  45. drivername = MySQL中' _( _% y) I8 f
  46. 数据库=测试
    3 ?$ k' x) M( f- K( t4 \
  47. 主机=本地主机
    & n& @2 e+ \  N2 u; ?
  48. user_name = testuser
    1 |3 i8 u  v0 k( T1 ]
  49. 密码= my_password & E* ?9 Y$ q) e6 C+ b
  50. getdriverfunc = getsqldrivermysql / O$ ]; r' |: F/ C5 Q
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 8 [3 p6 m  b& k" z' l& \- w3 y
  52. libraryname =. / libsqlmy.so $ l- ?) q7 S, X# C/ g6 I. [: y
  53. 积极= 1 # n5 B! U4 j$ r! {  m
  54. ---例如--- / W% C* `: ~" K' W% Z) n8 V
  55. 0 O! y" F: B$ G0 A9 w
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ; B" V; e; o+ Y4 m) L/ Q
  57. ---例如---
    # L5 I) A% C1 S1 ]+ H1 |
  58. [ dbexpress ]
    ( |' S6 C. N7 s- `* u
  59. sqldir = mysql_sql : ~! |. g% l7 E( ?* O& {+ Y
  60. drivername = MySQL中& T# @3 B2 y1 Y: G
  61. 数据库=测试7 p# j7 I. e  Y( J! a" g* n- j
  62. 主机= 127.0.0.1 " w+ [3 k. L3 x3 B/ T* `7 m/ l0 L
  63. user_name = testuser
      I- i9 O5 C" E
  64. 密码= my_password , [8 z: Y& e$ _( l3 G7 T' S* r
  65. getdriverfunc = getsqldrivermysql $ ?# M2 x: q- `$ ?* A" X8 }
  66. vendorlib = libmysql.dll在, K) A: R- ^9 u4 k; d( ^" T, V+ f+ L
  67. libraryname = dbexpmysql.dll
    3 Z: `2 E- [6 w! v5 ^1 d( m# R
  68. 积极= 1 + A0 V- D; V' m
  69. ---例如---- ! i" i8 V1 @" n0 ], K+ Q
  70. -写在0 2.03.04由p wk.linuxfan& @: D. V7 _) E2 s# z
复制代码
发表于 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
  Y$ d( f9 s0 U5 [6 A  [% z- R9 e. O9 ]$ R* m% P. n0 Q! t6 t0 M
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-28 03:01 , Processed in 0.094777 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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