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

2552 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ( d/ R% [5 n9 ]0 |! p' E' t( C& O
( Y' l+ P* i+ ?" S4 p
  1. / E% X1 i* {( X' r8 I
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ' ?  g: p7 F1 v+ c! ?* N

  3. 2 f6 _( {6 S1 {% B0 H
  4. ### What we need ###
    6 S* p" x, o* g9 e/ y  f+ h
  5. Naturally, we will need a MySQL server to store the data for us, this document ! C+ S+ K2 G: M6 Z$ v3 {
  6. will not explain how this can be done - there are documents out there for the
    : S- c/ b' r5 p. Z" Z* ]5 `
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    5 H4 O: ^% J( [' l
  8. and a user account (username + password) that has the permissions to do stuff# {4 ^5 N# p9 W* e% y
  9. with the database. Additionally, you will need a vendor library installed on the
    ; B/ g1 t0 }# f( B& j
  10. local machine, this came with my MySQL install.
    0 _7 v) {& t* ]" t- ]* C1 u1 s
  11. These instructions will not tell you how you might transfer your data from the# m& @' K- X# ^# U
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    * S) p, d/ z" v+ U" p3 f
  13. database.: h# a" v$ o/ H3 z6 T
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    * r% U& S! G& o# k9 H! Q& r
  15. the time of writing, there are still too many issues - check the current status
    ( l5 E: y  V4 U3 p+ C
  16. in the TeamSpeak forums if you are interested.2 m# [- O4 g! i1 v
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from1 y* S& x4 H; K: _7 D. f
  18. Borland was used. This driver can only interface with the client library that , {- i, c. [6 Q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this1 n$ M$ {  A% `' @+ N* [5 K* W
  20. client library - basically all you have to do is to use a 3.x client library as   n" u& [) q+ w; v+ V6 c
  21. "VendorLib" and a 4.x database to connect to." e& K0 D$ {, W
  22. If you need more info about dbExpress, you can contact Borland.
    2 F. k6 b- R! s" ^8 n

  23. , [' R  W: g. j
  24. ### Doing the work ###! P3 @& F* S6 N) g. t- [2 Q0 o
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    . p! z* Z; O5 E/ G2 r# C
  26. the perquisites right, just open your server.ini file, and add this section at
    - b7 U6 R# L0 @. F; C7 E, x
  27. the end:
    $ P' Z+ a# \0 N9 B5 k
  28. ---cut here---
    1 ?: L; G8 F- n# @# h$ o# M
  29. [DBEXPRESS]6 }' `9 R( Z0 P0 Q+ \' c. O
  30. sqldir=mysql_sql
    / ?% ~: @; x2 l' G+ V$ K
  31. Drivername=mysql& Z  w7 I8 c% p9 H' _& k/ e
  32. Database=Your_Database_Name_Here
    ) J. ]4 n1 i& M0 [) ~2 U# Y" o
  33. Hostname=The_PC_the_MySQL-Server_is_on! k6 c( c* d( E8 _
  34. User_name=User_name_on_the_MySQL-Server! [+ p! N6 Q. c4 p$ H  G. l
  35. Password=Password_to_go_with_above_user_name% e  a7 z- E, _
  36. GetDriverFunc=getSQLDriverMYSQL  `* u; U2 I; f" R' C
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    # E1 e; b2 C. o/ |; S
  38. LibraryName=path_to_libsqlmy_libary
    & w9 i) C8 @% s0 ?) `
  39. Active=1
    ; Z) f) c6 f2 z$ j
  40. ---cut here---
    , A3 i' J) O7 x
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ; p5 S; Z0 w; C1 ]+ O) S
  42. ---example---
    & o, ?9 V0 \9 v" l, O, V
  43. [DBEXPRESS]" Q+ k/ H" p/ u$ }  t7 {
  44. sqldir=mysql_sql
    ( t* j. N: y+ Y& D' S2 p# J1 S( n0 P
  45. Drivername=mysql7 `. |% P$ f, E" Y
  46. Database=test
    5 K* w$ L0 I/ o
  47. Hostname=localhost7 q" t3 n' V4 M
  48. User_name=testuser+ }8 H. q6 U) s9 p9 N% R% \, W
  49. Password=my_password
    $ x  v" w) U- a3 h7 \  ]6 u
  50. GetDriverFunc=getSQLDriverMYSQL+ v2 T& \: ]$ O2 h$ W
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.01 D# S' Z3 L" C# A, k4 N
  52. LibraryName=./libsqlmy.so/ d% w6 P5 s. D8 k3 l0 u
  53. Active=1
      t/ x/ @' R# E0 h! K
  54. ---example---# L+ y4 {" R: o  I/ M2 ~8 v3 k

  55. " ~+ u3 T; F, X! }
  56. On a windows box, also running the MySQL server locally, it would be:2 c3 Q1 N4 [% q
  57. ---example---
    ( g  @/ j2 v+ u& ^# K8 P; N
  58. [DBEXPRESS]
    4 \$ w1 o! E/ c
  59. sqldir=mysql_sql# l' p3 t! `6 e
  60. Drivername=mysql
    1 p" z- b/ h7 ^3 z/ a
  61. Database=test
    & S+ A4 d& U: h% l! H! f- K, _
  62. Hostname=127.0.0.1# R( w: _6 l- ^- [. v  k
  63. User_name=testuser
    6 X! b  H2 H* v
  64. Password=my_password
    ) ]* C( |& y' P, U5 N
  65. GetDriverFunc=getSQLDriverMYSQL
    5 o; u2 p! g" a; O; t7 A9 M4 F
  66. VendorLib=libmysql.dll0 Q$ o- @, I6 @8 m
  67. LibraryName=dbexpmysql.dll6 j3 t9 G2 K4 o( s
  68. Active=1& q) C5 ~: n3 c. R$ m
  69. ---example----
    5 n/ b% {* ~) g/ @' H. m2 Z1 L
  70. - written 02.03.04 by pwk.linuxfan( O( n# I2 F% ?2 W; l/ M, N  n
  71. 8 G& Q: t' M7 P8 o
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
0 N  V) o- c. i+ ^7 c3 Z$ C
  1. 8 K# }- ?! ^, A3 D+ R2 S
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 8 }9 K) R8 X' o  C

  3. * `7 S) W' w0 J' Q
  4. # # #我们所需要# # #
    ( T7 A- F0 t  r, S- _
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件' f. x9 y, r0 Q
  6. 不会解释如何做到这一点-也有文件存在,为5 Y* b% S0 `* H/ X& m# L
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用2 b. f+ B9 U" S" I7 G
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西3 E3 z$ l$ r* ]6 N
  9. 随着数据库。此外,你需要一个卖方图书馆安装于! y6 i7 }' g9 {- K7 l4 _
  10. 本地机器,这是我的MySQL安装。 " b- r% ^: X+ Y1 y1 o
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从6 }! K. C9 ^" ~  Z! Q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    , P7 g+ N- s6 q
  13. 数据库。 1 t3 M+ e: P, M6 S2 V
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在! _) x" K$ {) I4 k# Q5 `' A% J
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    0 ]/ ~# ?$ ^3 A/ z2 M* p/ g; e6 R7 ~: J& G
  16. 在teamspeak论坛,如果你有兴趣。
    $ ]: j9 `7 Z% A* Q" z2 ~
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    % U3 {3 q0 X, m' N
  18. Borland公司使用。这个司机只能界面与客户端库
    8 K" f0 O1 Y1 ~, G) l. z
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这$ L4 n, |; l- h. A" z! y! b
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为$ O, Z# @( G9 v0 b. _) v( P
  21. " vendorlib " ,并解数据库连接。 ; t8 l5 M, V/ C7 i" n, u
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    : t6 ~7 E( F# B8 ]- R9 r5 ?' p
  23. 0 U" C( ^8 {" l- G0 U  ?+ N' \
  24. # # #做好工作# # # $ ^+ E1 r$ S1 N9 F- r* z  C0 g
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都6 o6 K$ W; S$ b' R
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在, h* m" D; c1 O
  27. 结束: 6 m: \) j6 W, w% D' I* u/ o
  28. ---削减这里---
    ' m% s; l$ }8 |! |6 Y2 C" Q0 i- c
  29. [ dbexpress ] . }/ ^4 c9 s9 I
  30. sqldir = mysql_sql
    # u& ^+ w" J1 h/ Y
  31. drivername = MySQL中" P; y& _' _- ~* \' }" W# ]; G
  32. 数据库= your_database_name_here
    ( K$ c, u' m8 V4 k. @
  33. 主机= the_pc_the_mysql - server_is_on & h0 e9 ^2 J1 s
  34. user_name = user_name_on_the_mysql服务器# X; v7 f  ^% e2 t& \( r. g
  35. 密码= password_to_go_with_above_user_name
    . [4 s9 D9 Z; T) w# f$ h/ _
  36. getdriverfunc = getsqldrivermysql
    ( X% t4 W- {) L# u5 O. B' k$ B: r
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib # q5 i3 w3 E! w5 I/ {8 l
  38. libraryname = path_to_libsqlmy_libary 4 C: |9 Y! j9 F& r' k$ J
  39. 积极= 1
    6 \+ A! u* C- r: F! G- B! ~
  40. ---削减这里--- 8 {4 G$ n) o' u+ u) g; Z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    1 U* j- m2 ?+ f( u: |
  42. ---例如--- 8 u7 k5 A8 E7 j& w; B
  43. [ dbexpress ]
      K( d( @/ z  z! F9 n
  44. sqldir = mysql_sql ! t% S# i9 w% b. Y3 S
  45. drivername = MySQL中
    * ?+ Q* Y- J6 H, k% f
  46. 数据库=测试
    % [' z% R. \" ?' w% W3 Z
  47. 主机=本地主机, j& ~/ z3 d; I2 W; w. V' l
  48. user_name = testuser 6 z+ f% p0 B, ~+ U: `% ^2 q0 q
  49. 密码= my_password
    8 S* V$ L3 Y1 L8 p
  50. getdriverfunc = getsqldrivermysql
    9 y% ?& w  ~3 |. _
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 8 `* c: w/ R2 ]1 q* v; h, m
  52. libraryname =. / libsqlmy.so
    : ?# V. D8 {/ N. ]' O  l6 S
  53. 积极= 1
    7 X( Y& l! {" o; d4 B. B( o
  54. ---例如--- ! x" h; U' Q/ ]2 I. M# e
  55. + C* c/ f9 [8 h/ {4 y4 z
  56. 对Windows中,也运行MySQL服务器本地的,那就是: * |" t( M2 ?/ D. A3 b# U$ _' o
  57. ---例如--- 4 V5 }1 ^. e. b& f
  58. [ dbexpress ] ( C, E8 N; P# a/ |% ]/ N$ z# G$ M
  59. sqldir = mysql_sql   @  `9 y5 q- w
  60. drivername = MySQL中
    / h' z1 y1 c( k4 h/ w
  61. 数据库=测试& e: c3 B$ x  z% O9 T" n4 z' f
  62. 主机= 127.0.0.1
    ; Z# N" e' |: [
  63. user_name = testuser ) v8 a, G5 ^) |
  64. 密码= my_password
    6 O; W. @5 k5 D
  65. getdriverfunc = getsqldrivermysql % k7 b) w+ n/ a" w
  66. vendorlib = libmysql.dll在. X# t7 O( I. P  }: ~" L
  67. libraryname = dbexpmysql.dll
    : r/ z6 {+ }) h* q
  68. 积极= 1
    : V) t3 p2 W/ [
  69. ---例如---- / ?" v! P) U. k( g
  70. -写在0 2.03.04由p wk.linuxfan8 s; b; o* b5 O9 Q1 Z2 H
复制代码
发表于 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: {1 m8 y8 o4 W2 ~+ j: F5 w+ _8 s
  \3 G$ Q; h" i# W6 q. p( O
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-25 05:22 , Processed in 0.091341 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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