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

3025 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
( N4 Q2 R# B( O+ H* h" ^. s) F" D
/ G6 ?2 |& S$ U, b0 f
  1. 4 w9 U! g2 @% F9 _
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######9 A8 k. b8 _; h- K
  3. , L9 f1 T6 {' z( n" w* ^+ L
  4. ### What we need ###( }7 c: Z$ Y" A1 s( c* v% X
  5. Naturally, we will need a MySQL server to store the data for us, this document
    9 t0 e, C& {& F# W. B* m/ h0 H! [  P
  6. will not explain how this can be done - there are documents out there for the ' w3 J: m5 `' {8 {4 |! B
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    8 i6 R% _$ H* ]8 {% n% C# A
  8. and a user account (username + password) that has the permissions to do stuff
    - w- C7 c, B) C1 H
  9. with the database. Additionally, you will need a vendor library installed on the
    & \, g/ J* z& w6 z
  10. local machine, this came with my MySQL install.
    * G5 n3 ~- g8 {( K; n
  11. These instructions will not tell you how you might transfer your data from the
    ! m/ G8 U5 c+ E7 P( \
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
      w! e* @! H4 O  u2 }4 ]* j8 [
  13. database.
    / x9 V! L- e, ~& H; A4 s
  14. Some users have reported ways to import a SQLite database into MySQL, but at9 ^, h# o# s6 O& B- ]
  15. the time of writing, there are still too many issues - check the current status
    ; U0 Q7 V! H+ \: O
  16. in the TeamSpeak forums if you are interested.
    0 w* B  r: n3 U; E
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    3 L0 c1 ^5 o: O
  18. Borland was used. This driver can only interface with the client library that
    9 ]- W6 [7 y/ l, U/ w/ Y/ c
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this; K: @* W" d% c  p# m  U2 i- x$ g6 {2 w
  20. client library - basically all you have to do is to use a 3.x client library as + U5 U6 ~7 a2 x9 P2 X  T' v
  21. "VendorLib" and a 4.x database to connect to.9 y  W* K% M: w! _. g. [5 _0 D
  22. If you need more info about dbExpress, you can contact Borland.
    ' i4 J: ^, ^8 F
  23. 1 Z! F- D! [2 |1 L; n1 N0 S
  24. ### Doing the work ###9 L0 p, |( J$ R( k, E' R
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    # G! G3 _( q) K1 ?- I
  26. the perquisites right, just open your server.ini file, and add this section at
      _( Q' l) J+ f. Z; s
  27. the end:) U# Q% F# Z$ |3 U* }- I5 T" L6 o
  28. ---cut here---" b6 g8 d4 ?/ q
  29. [DBEXPRESS]% N3 X2 o$ B) ?4 ?: L/ L! |
  30. sqldir=mysql_sql
    ) v& k4 I  H' \$ S4 ^' ~# D1 M$ e: X
  31. Drivername=mysql
    $ Z" S. K( {& Z* m8 H
  32. Database=Your_Database_Name_Here5 _2 L; H, l3 l- a; e+ f
  33. Hostname=The_PC_the_MySQL-Server_is_on8 e% H1 Q1 P5 N4 P
  34. User_name=User_name_on_the_MySQL-Server* m7 O; o1 m. e+ s3 d
  35. Password=Password_to_go_with_above_user_name6 `4 b! h* }1 r& Y8 T
  36. GetDriverFunc=getSQLDriverMYSQL# M4 ^3 Z9 U: E# M
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib- {  g0 f2 v) B* _) G! J/ T5 _: B* D
  38. LibraryName=path_to_libsqlmy_libary0 i) \6 y# Y9 i4 Q( }+ n; N. m
  39. Active=15 ]+ l. x: T/ m) w* H: k9 s0 L
  40. ---cut here---
    6 T' e0 A6 }3 n9 }0 X2 l
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ! j) T3 a& {) F$ }+ i& h  b2 ~; a% J
  42. ---example---* o- \9 i: c" Z# d& U  u" x, G' `
  43. [DBEXPRESS]- ]! }- {/ Y5 F$ \7 s
  44. sqldir=mysql_sql
    4 m" y* K8 ?: S  T$ R! n/ u
  45. Drivername=mysql4 E8 v+ F1 y5 X9 t2 v! Q0 b, l! X3 k
  46. Database=test( i" S/ j3 C" }8 l  H/ k( m  i# [; Q
  47. Hostname=localhost5 @( ^% I0 |  g1 V8 V3 t* t
  48. User_name=testuser) t/ g5 R, z" |; P
  49. Password=my_password/ c( D" B8 V; o1 t% Y
  50. GetDriverFunc=getSQLDriverMYSQL) N4 V2 m8 H/ L4 Z8 o# c
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    : U) Y, D* U# F) ]+ I* A& }
  52. LibraryName=./libsqlmy.so
    3 X3 x, I8 `+ E1 U& d! u6 j+ S
  53. Active=1
    ! p9 k6 g1 M2 v
  54. ---example---& X, G  ~; n: i& f, y

  55. & Z3 `5 I! K, Y$ r5 K# y8 M
  56. On a windows box, also running the MySQL server locally, it would be:
    ; y9 K+ r& ]" O: ]
  57. ---example---- s) k6 F$ l1 x, \8 o
  58. [DBEXPRESS]# ~; z7 M- S1 O0 M
  59. sqldir=mysql_sql  T) r; Q7 v3 m) h" H3 @/ x
  60. Drivername=mysql- u: m- k& ~& y6 w
  61. Database=test6 m! |- f% u5 i) m- R; t8 b
  62. Hostname=127.0.0.1# q6 ?" M& Z- m
  63. User_name=testuser6 P1 h' ^* P' ~( e
  64. Password=my_password7 w% X9 I* }3 E# p5 ?) m
  65. GetDriverFunc=getSQLDriverMYSQL
    ; E: p2 J- \% f! L7 i+ c8 n  R
  66. VendorLib=libmysql.dll2 m' K5 H' D- m
  67. LibraryName=dbexpmysql.dll
    6 f. o& q& b2 V$ A
  68. Active=1
    # Y: C1 |& Z6 w4 c9 j
  69. ---example----
    & m* Y) n3 l1 f( E" V$ s7 ^( B
  70. - written 02.03.04 by pwk.linuxfan: J- _' |; H% J$ c* }
  71. ! v7 ~! _% e2 F) j& G
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
, w4 Y8 y! [& L" U( m0 r( O
  1. 7 D8 A& W7 v8 ^/ v: I; F
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 3 S5 \. y# g% o& k' n

  3. 1 [5 M& H+ s1 V# y' N) u
  4. # # #我们所需要# # #
    % ~/ o0 T6 k: h, n* N# P, @
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    & c* \6 o  U. f( B  T
  6. 不会解释如何做到这一点-也有文件存在,为
    9 U) F7 Z, N4 G& c! c; J
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    4 n* J0 Y, q( c; W
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西# f8 R9 y* A! c( u( h( M
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ( T/ ?9 t: m: \1 y2 f/ M, l  W
  10. 本地机器,这是我的MySQL安装。 6 v0 p2 s, t4 [, F# O
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    . {5 R3 X0 D5 p- s# R
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 2 h" K3 a+ L& b! `  S) ^; }
  13. 数据库。 $ N$ t: t% `& a. l% g
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    " t8 m- q1 B- ~, M
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ' C: U5 a3 |- t" w
  16. 在teamspeak论坛,如果你有兴趣。 + a/ E, Q7 v) f, ~' I- y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机7 Q4 Y* Z1 L; N- t
  18. Borland公司使用。这个司机只能界面与客户端库8 K7 f: f5 q! |3 N+ R
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这4 @  v; V' C4 m+ w" {" u
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    : a5 s5 k$ [" ?4 f# u0 N, m! V
  21. " vendorlib " ,并解数据库连接。 % n* \' Q8 g, G  O2 J
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    6 C9 E6 D, q- y1 D  H) n; ]0 _6 s
  23. 0 Y9 |$ Z9 \" @2 `0 a% T" t
  24. # # #做好工作# # # % h6 A4 z/ Y) A, W* X
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    6 g1 k) N7 `! C" s
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在4 M0 [1 m/ J2 C' g
  27. 结束:
    $ h: ^- T3 Y, j
  28. ---削减这里--- ) L+ s8 s8 U! d) ?8 s& I8 N; ^
  29. [ dbexpress ] , X& n; Z3 A. \3 G- n
  30. sqldir = mysql_sql
    0 K  S/ I+ ]5 r9 [# m% }
  31. drivername = MySQL中
    ; s) T& u2 t# B9 P5 H
  32. 数据库= your_database_name_here - J5 r: r) r0 j5 z" G
  33. 主机= the_pc_the_mysql - server_is_on 2 ^: b- K0 R; s$ z) t* [
  34. user_name = user_name_on_the_mysql服务器, N; I# q( `$ |3 U4 ]  p% v
  35. 密码= password_to_go_with_above_user_name
    7 [. Q/ O* ~' W3 Q# i3 o
  36. getdriverfunc = getsqldrivermysql 4 N& K3 X2 D  T+ u) e1 C3 V0 R
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ) i- Y+ N0 o% e8 W' ^5 K
  38. libraryname = path_to_libsqlmy_libary
    7 E" y7 T1 K9 X
  39. 积极= 1 5 I9 i6 P% u* B' }) g- g
  40. ---削减这里--- * @+ f( i+ o: `# }* v* g  f
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    . z/ ?6 e* X. Z2 n6 c5 X
  42. ---例如---
    ( o3 N! j# Z/ t; ]  L
  43. [ dbexpress ]
    ! M7 {- ?) K+ ^: V9 K& S$ E2 z
  44. sqldir = mysql_sql
    9 n' ]5 o/ J9 k! |  s* B
  45. drivername = MySQL中1 n% k# X8 Q& ?7 j# |% x8 a* M3 \
  46. 数据库=测试
    ) ?: s6 m, [8 C! M
  47. 主机=本地主机
    7 D$ `2 Z: x( \7 c" ]* r
  48. user_name = testuser
    , ]1 x0 U( ~. d$ T6 L
  49. 密码= my_password
    " I0 J7 p% x) g9 E) w
  50. getdriverfunc = getsqldrivermysql
    : k  ^- [2 m3 S" c& Q( T6 @
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    2 U( `2 m) N" A
  52. libraryname =. / libsqlmy.so
    # w2 q: M" @" d' F7 W6 a
  53. 积极= 1   I) V! v7 W1 Z% D9 |' y2 @
  54. ---例如---
    + d$ W, ]2 W  P7 L, z, D

  55. - B; [8 T* ^* @2 }. |) l
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ) w$ l$ Y$ b; I; ~
  57. ---例如--- 5 g2 H" X# V" O0 f+ g
  58. [ dbexpress ]
    4 q( Q* I* y; R  `# q
  59. sqldir = mysql_sql
    9 V& j% d6 }" E( V3 E
  60. drivername = MySQL中3 \! |2 Z4 D: ~& ~, w
  61. 数据库=测试
    * s; f4 r5 u; H+ T6 s9 Z
  62. 主机= 127.0.0.1
    ) w" U1 j/ s6 L9 T- l# a( k
  63. user_name = testuser
    % w, @$ @8 u; I; `* X+ e9 G( Z
  64. 密码= my_password . M& t& w; F! F+ J" U
  65. getdriverfunc = getsqldrivermysql " Z# R4 D; k: ]3 v) _0 G% j7 {  [
  66. vendorlib = libmysql.dll在1 }7 O; j! Y$ S6 t4 l2 u, v) p; `2 n
  67. libraryname = dbexpmysql.dll
    + c! @( d3 F& T) Q7 Y
  68. 积极= 1
    ) F1 U, v- y) \
  69. ---例如---- 0 ?. [2 K  {# }% {5 R# d; b
  70. -写在0 2.03.04由p wk.linuxfan" S+ d" d* \6 {+ \8 v0 [- M2 o
复制代码
发表于 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
/ M. z' a7 Z( V
; @; e  U4 c3 n% ^* a( Z5 {& Nbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

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

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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