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

2627 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
1 v2 o9 i9 _1 ]9 j& n$ H& H0 [  y) ]( l2 {) D) @

  1. / L0 H7 W& C  R0 I! C
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    " w: `- ]* W9 @7 _6 L
  3. ( p! W. W' a6 h! j2 K( t8 P
  4. ### What we need ###
    5 [$ ?; d' W2 T  ^1 G
  5. Naturally, we will need a MySQL server to store the data for us, this document
    , w7 `/ I6 Z4 h. V0 h) h
  6. will not explain how this can be done - there are documents out there for the
    ! P! Q* ^) e- A" H; ?
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    & i7 n1 a7 S: k7 e
  8. and a user account (username + password) that has the permissions to do stuff" |6 {4 t" `) [% \2 L- N4 Y: {" i
  9. with the database. Additionally, you will need a vendor library installed on the
    7 n, Y  m( _. t* m& F6 Z
  10. local machine, this came with my MySQL install.
    * s/ H/ b8 _8 a5 m3 Q3 o5 W
  11. These instructions will not tell you how you might transfer your data from the
    " O& w, U% ]1 l% H3 F5 j
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL5 F$ U/ z8 h! ]5 h5 c" z- A9 S
  13. database.3 H6 X* G) }" L  R. b- E7 q
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    6 t7 ]9 d$ F7 d
  15. the time of writing, there are still too many issues - check the current status
    * B4 d2 y( T9 M$ O! I8 f% Y# M  u
  16. in the TeamSpeak forums if you are interested.
    - s$ c" P' w, y4 F5 a$ p9 ]5 m
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from, N% M9 N! q% T+ C7 Y  f: j8 R% u
  18. Borland was used. This driver can only interface with the client library that
    " y( f2 y6 h1 R. b1 D, a
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    % A3 R3 w7 T' }8 m6 v' q
  20. client library - basically all you have to do is to use a 3.x client library as 4 l1 j, a$ S8 _6 T) a
  21. "VendorLib" and a 4.x database to connect to.
    " ~4 Y+ r# `* b, p
  22. If you need more info about dbExpress, you can contact Borland.8 p/ U/ x' C2 r' n& K
  23. 5 t# {- q+ F' h
  24. ### Doing the work ###/ m, |6 C1 J8 X/ f! d3 b- j
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all2 `9 u6 E9 K  Z) A$ ]! b( x
  26. the perquisites right, just open your server.ini file, and add this section at& x+ d& ~# l) E
  27. the end:
    . ]9 g) g, ]  N# g' {! w; ^* W
  28. ---cut here---' `) u* i* E( A9 X' W1 k% _
  29. [DBEXPRESS]
    . B+ L& e+ L% M5 C* e( n. _
  30. sqldir=mysql_sql2 `+ D9 O- H* H* o
  31. Drivername=mysql5 s$ F- p. L7 i1 E  y0 H1 h$ U: \
  32. Database=Your_Database_Name_Here1 T' c% K$ n  y$ M
  33. Hostname=The_PC_the_MySQL-Server_is_on. A2 F' r4 q; m& e- R
  34. User_name=User_name_on_the_MySQL-Server! j6 N& x$ @8 M. w
  35. Password=Password_to_go_with_above_user_name
    0 p- {4 x) ~3 e5 T' t
  36. GetDriverFunc=getSQLDriverMYSQL, v. C" J! A0 ]; D
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib( P0 x6 ?5 U2 x1 W& _1 _+ G
  38. LibraryName=path_to_libsqlmy_libary0 d1 F; r( g" E0 M# D6 K% G- k
  39. Active=1
    7 e4 }5 F$ ^) A" [7 I8 n
  40. ---cut here---, I) k# d3 z- S
  41. In my environment (a linux box with a MySQL server running locally) I have:
    * N* }2 t, i1 h) E, J9 }0 R7 r
  42. ---example---
    : l& e8 W; j5 r% K3 R. I; r5 n
  43. [DBEXPRESS]
    , J# o0 s: f0 U; J/ E/ B) c
  44. sqldir=mysql_sql
    8 V6 `& W5 L& l, t
  45. Drivername=mysql
    4 e# M4 }& Q3 Z* Z
  46. Database=test1 Y+ v: i7 Q0 X, r
  47. Hostname=localhost# g! a7 v+ ?; y0 S% l+ a$ \/ o
  48. User_name=testuser
    1 }" B  j3 O1 _# D) c$ b9 |  d- O- t
  49. Password=my_password; v! G+ [' s+ t
  50. GetDriverFunc=getSQLDriverMYSQL
    1 \) f1 E; I& _; k( |1 p( c/ A( P
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    $ m! ~4 I3 R9 H
  52. LibraryName=./libsqlmy.so
    1 G0 L6 o' O3 f0 A2 r" a
  53. Active=13 O# y5 M1 j' o: V% e' R) l; U3 r
  54. ---example---. ]5 a# W% o+ o2 L+ s
  55. , I. `+ N/ ]& o& @6 [
  56. On a windows box, also running the MySQL server locally, it would be:+ ]$ G; u9 I5 v; u$ T
  57. ---example---
    ( n: g/ e0 W/ X. ~: J( v
  58. [DBEXPRESS]4 m3 d# A% X# C" v  f: R; n
  59. sqldir=mysql_sql) M' d& o: B! \& K' Z& T8 X* J
  60. Drivername=mysql
    ! y, }- Q, b  p  ^/ N4 U. d$ Z6 o& j
  61. Database=test/ m, ^2 |5 N5 k+ c8 h3 Q
  62. Hostname=127.0.0.1
    6 d0 S# B0 W& \. w, C0 `: @
  63. User_name=testuser
    & J2 m/ N& r# R, `2 O
  64. Password=my_password1 t* }- q5 B/ F. D5 Q3 e
  65. GetDriverFunc=getSQLDriverMYSQL
    ! ?. j8 A) K5 a/ |% r
  66. VendorLib=libmysql.dll6 M) y2 N* \+ p+ k% _# L  ?4 @
  67. LibraryName=dbexpmysql.dll# z9 |  m  m* t$ c5 K
  68. Active=11 W" {  j/ @( x$ W& p) X4 ?
  69. ---example----
    & N  ~5 @7 c1 [
  70. - written 02.03.04 by pwk.linuxfan
    7 P. d, [0 n- I# a

  71. * ?- _. X$ r; N# H9 A
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看. X0 S  X( b/ ]$ M
  1. 9 j; n/ D7 Q% f$ b) v& n
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ! @5 \8 k0 y4 y8 b
  3. - z$ A: V7 R# D" q
  4. # # #我们所需要# # #
    + V" ~! g0 s) u3 P; c. a+ k
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件# i2 w4 V1 P3 |  F# b
  6. 不会解释如何做到这一点-也有文件存在,为
    1 e8 A" z- K; y# p$ D6 x9 V# U7 H
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    # f" g) @6 h4 ~! f' i0 X
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西- z9 a% h" A& P: h8 V, a
  9. 随着数据库。此外,你需要一个卖方图书馆安装于/ @& Q  j) @4 T; R2 F6 S
  10. 本地机器,这是我的MySQL安装。
    : |' [+ d, X- S
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    - s9 S: `+ R& Q$ N; o% R+ B; R
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    + A/ W3 `+ D% {- G3 N
  13. 数据库。 5 t( w8 C0 A, A! P$ h6 Q5 {
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在3 E- u+ A9 _1 e5 E' `0 R7 n
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    9 h% O" S; [( k& q# i+ o9 @; o5 E8 b
  16. 在teamspeak论坛,如果你有兴趣。
    / C! Y! p2 B0 p5 R: e# K
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    . a2 I; A5 c% t, Z6 E" L# o
  18. Borland公司使用。这个司机只能界面与客户端库
    / e: T6 S7 G+ c# G4 _
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    3 Q3 u3 N5 P5 h. i- R0 o. u
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    " S- g& t2 H/ {9 q8 L+ r: I; }+ D. A
  21. " vendorlib " ,并解数据库连接。 & |# q! k# r# y$ f' }# }
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 : d2 U4 j3 ^4 _' A2 M! Q

  23. $ o2 M6 K7 f/ ?( B# Z  l9 q
  24. # # #做好工作# # # ' K& }+ y+ S/ Y) N
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    1 k! v5 j( ?6 H2 H( C; `: d5 p
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在& `2 |& A- H2 Z/ F8 [
  27. 结束: 9 m. e; g" M5 |' d# K/ |/ ~
  28. ---削减这里---
    ! ~, Z. s+ z, E" |6 o0 K# W+ c
  29. [ dbexpress ]
    . C& w3 h; e- e9 \
  30. sqldir = mysql_sql 7 s, A1 b7 G$ J; V  [
  31. drivername = MySQL中8 W1 J4 a' s' f. R
  32. 数据库= your_database_name_here
    ; u$ W) g1 v+ q6 F% v0 D+ \
  33. 主机= the_pc_the_mysql - server_is_on - l$ P! n) h( X/ `, r+ w
  34. user_name = user_name_on_the_mysql服务器' s" G# h- R& T: E, K. s  q' v4 N  X3 @
  35. 密码= password_to_go_with_above_user_name & c& O$ B- ]6 j8 J: D8 W
  36. getdriverfunc = getsqldrivermysql & q: U0 i7 X3 U- M
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    / K1 h5 j( S/ T$ N
  38. libraryname = path_to_libsqlmy_libary
    , m8 V$ _- h7 u  ]9 m% v
  39. 积极= 1 3 m* z$ X. h- D, }( x; X
  40. ---削减这里---   e# \+ h) Y6 l1 `; g- F& c, b2 l
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    2 `, i/ W% b( q5 ]. K' l2 J$ C
  42. ---例如--- 1 d4 ?$ q" z, x2 S- O9 A* G
  43. [ dbexpress ]
    5 ?' n; ]* \& a+ C! v
  44. sqldir = mysql_sql 2 k' \  Q& A! |+ H7 Y& \$ O
  45. drivername = MySQL中% F/ z/ y0 ~/ h0 ?, w, i9 n  G
  46. 数据库=测试- w. ~5 `% ^2 R% @4 u. `  Z
  47. 主机=本地主机
    " T1 k& l- v1 [1 u" |% i. K) J8 y# L
  48. user_name = testuser ( I- D$ Y  N- X0 N& W
  49. 密码= my_password   T+ I5 o* v7 _# k3 z
  50. getdriverfunc = getsqldrivermysql ! ^) R; q- R  {  ]! C/ K
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 % U7 q; {( ^. n/ P
  52. libraryname =. / libsqlmy.so
    2 o! G3 ]7 D: p9 I9 g$ D: M+ L. R) F
  53. 积极= 1 % R" W, c+ o) A; i5 u
  54. ---例如--- : X8 {* |' B2 l) y
  55. 1 [* P% ]6 J. A$ f0 @
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ) l/ p( ^0 @0 B0 W; h3 L
  57. ---例如--- 1 I! _3 Q! x) N5 F9 C
  58. [ dbexpress ] ! n5 M- J, ?( S! H. `
  59. sqldir = mysql_sql
    3 \: G1 R& g+ l
  60. drivername = MySQL中4 e" \- [1 U4 Q8 Q) S- P% M
  61. 数据库=测试
    ) ]0 N7 W2 g% |1 S/ P) \
  62. 主机= 127.0.0.1
    : `" g& p# x% C4 O3 e
  63. user_name = testuser
      j3 n. }$ a2 T/ N6 ^1 L2 N0 ?
  64. 密码= my_password
    % r2 O) a7 \8 j6 g- L$ p5 o
  65. getdriverfunc = getsqldrivermysql
    0 ?+ g: y" `) o, `  x) P8 p
  66. vendorlib = libmysql.dll在) k, l) O; U4 E1 G
  67. libraryname = dbexpmysql.dll
      {. a1 P  Y, {
  68. 积极= 1 / a$ T" x* {0 A5 ?! N. Z0 B  B6 e! S
  69. ---例如---- / M/ y5 S8 b# R
  70. -写在0 2.03.04由p wk.linuxfan# |2 v% V) T3 i, j( 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
  D! n; J" b8 x2 B
& G& l( U( e3 Qbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-16 13:12 , Processed in 0.125818 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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