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

2362 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan / a/ N8 X3 R9 S5 P0 i9 S

( `- t) ~* V, L2 j. m
  1. $ d' `5 W( g" p/ ], X! O
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######/ Y( b9 S5 u6 R  L0 ^

  3. 5 [/ ~# b- V; B/ M8 L+ P5 l7 o7 x6 o
  4. ### What we need ###
    4 P; V2 l/ }' p  ?, }& A, s
  5. Naturally, we will need a MySQL server to store the data for us, this document 4 D( ?; W" B8 F) I% j9 k9 [
  6. will not explain how this can be done - there are documents out there for the
    ) m# |( h2 N( n6 C* Z
  7. interested. The requirements include a (empty) database for TeamSpeak to use  j' l: a) t% X( f7 Y
  8. and a user account (username + password) that has the permissions to do stuff
    " |; |8 h3 F, |, O2 q# r( l5 D- D
  9. with the database. Additionally, you will need a vendor library installed on the
    6 V) h& e  W( v8 v3 E
  10. local machine, this came with my MySQL install.$ e0 b9 c( t' [+ H7 |( D* z
  11. These instructions will not tell you how you might transfer your data from the/ ?/ {9 k: E( \: Y1 J
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL+ Z5 u& W# S# q; f7 O. n* }& G. G/ ?: `8 h
  13. database.& X: r5 |: }! {! ]! |6 R6 O# ]
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    2 [5 c! R& t* G) Y: f1 ]# E0 S
  15. the time of writing, there are still too many issues - check the current status
    ' A# I: d* ?  D5 U( f: P* p
  16. in the TeamSpeak forums if you are interested., y' g* U+ T0 b" C
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from9 i8 o* S% U) L" u4 ~% a* d7 u
  18. Borland was used. This driver can only interface with the client library that
    9 t+ i; f  v9 U0 w
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ; H  t  i. M9 f2 C
  20. client library - basically all you have to do is to use a 3.x client library as
    4 I  e- q! o# e) X0 p$ z! p7 W" u
  21. "VendorLib" and a 4.x database to connect to.
    * O- F$ L$ n) Y5 g9 z6 \, D4 {
  22. If you need more info about dbExpress, you can contact Borland.6 G. n, ~/ Q% ]
  23. 7 w+ s& n! S5 u1 T9 s' |
  24. ### Doing the work ###
    1 \; l3 a3 L5 Q! X. l, J
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ' M- f$ L  ]4 \3 J) R
  26. the perquisites right, just open your server.ini file, and add this section at" _" h1 F9 `2 y
  27. the end:
    ! V% D6 n7 J% ~9 W) e
  28. ---cut here---
    ! A% D( q$ M( }$ t" a. X+ w0 Q) e
  29. [DBEXPRESS]3 P: y; Z* s+ _; u6 u" e  y; G& r
  30. sqldir=mysql_sql6 A5 ?7 X& Q6 H3 m3 [" q
  31. Drivername=mysql
    - E5 i) t. U' z& G$ c  g
  32. Database=Your_Database_Name_Here+ _! Q7 n7 l; ?
  33. Hostname=The_PC_the_MySQL-Server_is_on
      y7 ?7 G: N" Z7 G1 O  Q
  34. User_name=User_name_on_the_MySQL-Server2 H* A! F5 p) I: h
  35. Password=Password_to_go_with_above_user_name
    ; P. q9 F: ^! d" q7 D
  36. GetDriverFunc=getSQLDriverMYSQL) R! \4 X$ w5 ^" O
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib( ~6 [9 K3 @2 A+ S
  38. LibraryName=path_to_libsqlmy_libary
    0 A2 \/ |3 K  ^
  39. Active=1+ L  u3 S2 o, T% w: X
  40. ---cut here---
    . p1 H' \4 x! r. g7 f( ~
  41. In my environment (a linux box with a MySQL server running locally) I have:5 C' Q) q  a- p9 ^; F2 K( G: P
  42. ---example---& T, H% ]; E9 `! s* h6 D6 q
  43. [DBEXPRESS]6 m3 [8 w" V) w% ?* d# s, T+ x
  44. sqldir=mysql_sql
    ! |: R0 n4 V5 P* t0 G3 }& J, y, n
  45. Drivername=mysql
      W7 V) a; j7 }8 f; i9 p$ ^6 s
  46. Database=test4 j4 J) V2 l2 Q& {, m
  47. Hostname=localhost
    - J& k6 z3 O+ \
  48. User_name=testuser
    ( x) \7 ^1 ^) X( A, F( z" C
  49. Password=my_password
    2 w4 |6 n$ g& o. n
  50. GetDriverFunc=getSQLDriverMYSQL
    # ]' f1 U; H4 l: ~$ u6 z3 S
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    % q8 G, E: C" ^3 k! s5 q8 \
  52. LibraryName=./libsqlmy.so6 M6 g4 P6 U: {( W: S- Y! V& d5 D; @
  53. Active=13 D4 h; I6 C& z9 j& N( A
  54. ---example---
    2 X7 c! j0 l- A

  55. ; R. ~* v% O6 B9 e' ?1 M/ Y* x
  56. On a windows box, also running the MySQL server locally, it would be:/ D7 n: ?7 F5 Q; G* Q, d
  57. ---example---
    4 \# }8 T/ m* k: l* l9 J2 e
  58. [DBEXPRESS]; i8 H) N  Q$ ]) d8 E8 n+ ?# ]5 N
  59. sqldir=mysql_sql
    3 Z4 x( j2 p* O& s
  60. Drivername=mysql
      y% b- A2 U! E7 o/ @8 a/ X  U8 p
  61. Database=test: d/ `  ^, S  m+ `! |
  62. Hostname=127.0.0.1
    # A+ _! _# ^, J1 G6 L: I! Z3 W
  63. User_name=testuser5 ^1 J$ D+ K. U
  64. Password=my_password+ w% u) @* P. ]. u8 e4 E' g
  65. GetDriverFunc=getSQLDriverMYSQL
    & @9 U8 G1 C/ R" d
  66. VendorLib=libmysql.dll) m3 x% X( }5 C3 J9 z* E% s" ?
  67. LibraryName=dbexpmysql.dll
    1 r9 D! O0 K% v4 l
  68. Active=1
    6 A1 E: \4 Y4 @' l( n
  69. ---example----
    & b! o% W, {8 z) N" O# \
  70. - written 02.03.04 by pwk.linuxfan
    / v# y; p0 k6 t- p

  71. 0 \$ V4 b  [8 D" G$ y( A8 c) O
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
$ W" J  t; \0 p; F! y5 E& K

  1. ; t* S& s: ^/ [* C
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ; {; z; i/ j3 U) P# D; Y5 i

  3. . d; y8 J- N. m& V3 y
  4. # # #我们所需要# # #
    3 Y+ F- F+ x) ^6 Y. F9 H
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件: [8 @; Y4 r* w" `" e
  6. 不会解释如何做到这一点-也有文件存在,为
    ) A: R* g" K" Q
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ' t4 _% P; ~5 W
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西! ^2 k6 }* \2 r% _
  9. 随着数据库。此外,你需要一个卖方图书馆安装于  Y% G) Q: e  O7 m
  10. 本地机器,这是我的MySQL安装。 0 A# b3 y3 M' @( s' l+ M
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ! x( r% W7 v+ V; Q( F
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    4 i% \8 b5 [' E, I' u
  13. 数据库。 / h# Y" N# B2 I9 Z, G3 v& V
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    % h# p0 b! v$ c& d& ]
  15. 编写本报告的时候,仍然有太多的问题-检查现状$ B: `- t: J6 _, C' h% R
  16. 在teamspeak论坛,如果你有兴趣。 1 d* S+ C- ?! d% f. n4 ~+ N3 H
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机: h  o+ p; Z. t' i  i/ e) L2 z
  18. Borland公司使用。这个司机只能界面与客户端库4 L, Y) Q# t+ X/ ^% y
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    2 v! U$ a2 b) V' o: a
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    / c' U# F# R) O. ^; O* P! H
  21. " vendorlib " ,并解数据库连接。
    6 z# E( F6 W- B2 P& s0 }
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    2 Z8 U9 [2 Y  F8 r) _, _
  23. 9 D( z5 x+ Y/ T2 c  ?2 t- x
  24. # # #做好工作# # #
    & U) D4 {/ ?' b3 @9 A' y5 M
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都2 Q( e/ m; C4 V. z0 u
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在+ o7 V3 z" o2 t" q) ~+ B
  27. 结束:   r3 X* E- R& p  V  @2 B* x
  28. ---削减这里--- % Z$ R; s0 N" Y8 h; E2 F2 L! @
  29. [ dbexpress ] $ N5 y' T9 C7 T2 l; s# c$ D* W
  30. sqldir = mysql_sql
    7 `7 _8 n# g  s! [3 i7 j* a; j. y
  31. drivername = MySQL中
    - ]4 k7 |  v' E3 Y' k6 P
  32. 数据库= your_database_name_here ) K/ p( ?3 g% E) C. G. X2 ^% h
  33. 主机= the_pc_the_mysql - server_is_on
    3 s3 i+ D* n- z# i
  34. user_name = user_name_on_the_mysql服务器
    + e" L) ]* d1 h: N( b- E
  35. 密码= password_to_go_with_above_user_name
    ' Z* d" ?# E7 i9 g7 S7 ]& L
  36. getdriverfunc = getsqldrivermysql : b4 @- A4 U% e3 [
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    # c9 a# u. v! u. J% d6 _( }
  38. libraryname = path_to_libsqlmy_libary
    5 O7 ~8 L6 H9 l3 o) @# P- d
  39. 积极= 1
      e$ Y* E! m+ _% q  M/ _8 O
  40. ---削减这里---
    ' y6 a' q0 g; z% A/ g- N+ Y1 ~% {
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    5 m, {9 N* Z, e( O& `! j
  42. ---例如---
    : h: c/ G  L1 d. y
  43. [ dbexpress ]
    1 `0 W; W* b  S! E, [  O. ?, Y
  44. sqldir = mysql_sql
    . ^0 l% e/ `% g; i
  45. drivername = MySQL中
    ( a7 P- ^0 h; O
  46. 数据库=测试9 `) e& e1 s( E
  47. 主机=本地主机+ Y9 w: O+ d- {$ s+ ?# y/ e3 |4 s/ t
  48. user_name = testuser $ w4 J$ E& i7 J; @- L
  49. 密码= my_password 4 t2 |% w( ~  s/ S2 u
  50. getdriverfunc = getsqldrivermysql
    : K0 ~& s) a& l2 E& A% m: G
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 / C3 u" B% I, t. @
  52. libraryname =. / libsqlmy.so
    5 I( C8 |  f) ~7 B; d
  53. 积极= 1
    2 S+ `% {1 B! k4 ^) m$ r4 g5 f: L
  54. ---例如---
    . J' M  T7 k" Z, K
  55. 5 F: ?% K8 q: X4 H8 \& H
  56. 对Windows中,也运行MySQL服务器本地的,那就是: * m6 v/ g  p7 c: ?6 I( t" k9 j& N
  57. ---例如--- ' M% V) v2 f& t0 R% r& G1 R/ Z
  58. [ dbexpress ]
    : }9 Y4 q6 `- _& \
  59. sqldir = mysql_sql
    5 k* t+ N5 m) _
  60. drivername = MySQL中
    , x, S* K6 [; A' A: o' B1 |$ u
  61. 数据库=测试
    7 I8 A( v' D8 m5 N
  62. 主机= 127.0.0.1 0 `' A- Q- P0 {3 D
  63. user_name = testuser
    & j$ s( R- `- y5 m
  64. 密码= my_password
    7 g% M" W. }* S: B
  65. getdriverfunc = getsqldrivermysql % y! @' a2 |" J5 K/ l1 U9 U2 k+ J2 q& S
  66. vendorlib = libmysql.dll在+ }9 L. j$ j- N6 N+ V, c
  67. libraryname = dbexpmysql.dll
    8 e2 r7 x5 y; P
  68. 积极= 1
    & |: `4 _2 s8 b: E1 e! E. J
  69. ---例如---- 5 r$ y. ]+ @6 Q: f
  70. -写在0 2.03.04由p wk.linuxfan0 S  K2 F- q+ `; C1 d# 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 words
8 L' S: N7 C1 M3 B# o* I- }6 A: \4 w" e
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-7 00:11 , Processed in 0.117856 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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