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

2912 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
+ Q4 x1 ~+ M  [9 _/ ?8 k' c- f2 q
. x  D& K% s; R3 Q7 d
  1. 8 O! j# \1 q4 _
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    6 u0 }. V0 e  S) V% [

  3. . ?6 _4 j! i$ y/ D: b  R0 @
  4. ### What we need ###1 Q% _6 s2 b* U9 i
  5. Naturally, we will need a MySQL server to store the data for us, this document 7 X- b: u: n1 h# O# v( T
  6. will not explain how this can be done - there are documents out there for the ' D3 L) ^: O4 r, f! M
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    7 ?: A, X$ g; J) ^1 g
  8. and a user account (username + password) that has the permissions to do stuff
    0 p% z# U: O: J5 A3 a* X
  9. with the database. Additionally, you will need a vendor library installed on the
    7 E4 F+ {8 m1 }. ^; T* Y7 G
  10. local machine, this came with my MySQL install.
    ! j" Y/ ^/ E* |! {
  11. These instructions will not tell you how you might transfer your data from the
    4 U8 n, j! X9 |
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL' M2 v6 K: E: O* t
  13. database.
    1 w; f6 b( N$ I' G, v
  14. Some users have reported ways to import a SQLite database into MySQL, but at) x7 O+ u+ g" J! [
  15. the time of writing, there are still too many issues - check the current status6 H3 a- f+ N$ O
  16. in the TeamSpeak forums if you are interested.
    / u3 O9 \1 t1 n, |; _7 G' i! G
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    6 O% J0 B! N' k4 J2 W- {
  18. Borland was used. This driver can only interface with the client library that
    7 {6 f0 A. o( l+ l: B( S
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this0 e9 f, [, H- y+ L7 g, S: w. ^" I4 E; U
  20. client library - basically all you have to do is to use a 3.x client library as & h# ~, J" L4 y& q5 P- r) ]
  21. "VendorLib" and a 4.x database to connect to.
    / f: I+ K2 C( P  C7 M- P" m, W3 j
  22. If you need more info about dbExpress, you can contact Borland.8 L9 W( Y0 y6 h% X! Q! U* ]

  23. 5 K  B9 ]+ Q( c
  24. ### Doing the work ###' }. f' l8 M" B/ E
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    9 E. i, C) U+ h5 O: j
  26. the perquisites right, just open your server.ini file, and add this section at& X, m. z* C0 t) V) a6 Y
  27. the end:" W+ ?7 p  z  ~/ s' I
  28. ---cut here---
    , b' ^* D5 U3 Z9 b4 e( ~2 Q
  29. [DBEXPRESS]
    0 S" C0 p+ L1 \' x* x8 T8 G
  30. sqldir=mysql_sql4 w6 O# w9 {' p/ n7 O
  31. Drivername=mysql
    ' ^2 P) d' v% Z$ g' `
  32. Database=Your_Database_Name_Here
    2 w+ q" V; @- n5 u
  33. Hostname=The_PC_the_MySQL-Server_is_on' Y# ]' Y6 D: M9 ~
  34. User_name=User_name_on_the_MySQL-Server
    ' v) {: V$ s% `8 R1 K
  35. Password=Password_to_go_with_above_user_name% J, Q4 w8 `0 d$ j: H5 L
  36. GetDriverFunc=getSQLDriverMYSQL6 s1 v. W! v+ C! e1 _2 ^# x. S* s5 o
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    1 S% `) o5 p' o! e6 `& S
  38. LibraryName=path_to_libsqlmy_libary+ l4 ~& H/ }9 [; ~' T9 X
  39. Active=1
    * K7 A: g1 G* I* P
  40. ---cut here---
    1 N3 c& m# n- G; d5 [+ ^/ ]
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / G. ~  g: \$ u8 T7 i
  42. ---example---8 E) S) M# t5 B
  43. [DBEXPRESS]
    + ?. m, o2 o, }; D2 Z( A$ n9 k
  44. sqldir=mysql_sql# n3 |* Z0 l) z; U: K
  45. Drivername=mysql, }  Y) z: L8 k
  46. Database=test1 m+ i( \) [; p% ?5 }5 W
  47. Hostname=localhost
    # K, m! a  P( {2 J
  48. User_name=testuser
    8 G) h! z, B+ F  a3 e' B
  49. Password=my_password% |" d- z- H0 v- f
  50. GetDriverFunc=getSQLDriverMYSQL
    + `4 q- Z' n! [( H2 g$ D
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0% G+ t0 e2 T% l- {% _9 k
  52. LibraryName=./libsqlmy.so; F$ L. W7 g, N3 z8 H
  53. Active=1
    3 ~. d2 V4 I; c5 ?" W3 y! ?6 w: o
  54. ---example---
    4 M  q6 e3 f% }: k6 o, k7 V
  55. 9 q3 S! N4 ]5 l# V
  56. On a windows box, also running the MySQL server locally, it would be:9 m% Q" s  M; A
  57. ---example---, E+ j& W( S& a* H. L
  58. [DBEXPRESS]
    * T, i9 j  H' c: q: A( y+ |- v
  59. sqldir=mysql_sql/ E& |- f* ], I3 p/ O) d2 u: r
  60. Drivername=mysql
    . ~% _5 Y4 n' j8 h
  61. Database=test
    7 c% J2 D0 o4 j  f2 G* v( v& m
  62. Hostname=127.0.0.1
    2 a6 R9 @+ w* \
  63. User_name=testuser
    . l- K$ j1 b3 u* C# {" ]
  64. Password=my_password& A- v+ X6 y# J& L# A3 J) r' j
  65. GetDriverFunc=getSQLDriverMYSQL) }) t' q! v+ i& V7 z; f0 K; Y
  66. VendorLib=libmysql.dll
    ( c& ~" }, }" _  }8 W* a8 m
  67. LibraryName=dbexpmysql.dll
    # w. t) ]: ]0 B/ N
  68. Active=11 m/ A* m; I  v6 k: Y) r( h
  69. ---example----, o$ X7 e* }. s
  70. - written 02.03.04 by pwk.linuxfan1 Q. ~4 Z1 i9 h5 U
  71. ! f$ F* l! p. @: V" c* h
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看  H1 V3 B) I7 C/ |
  1. % s2 C  H) P8 Y- q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    8 t' M% u' B/ c; v) l4 p/ M: t
  3. , b' w9 H1 J% C& B7 Z; o5 t
  4. # # #我们所需要# # # # B' |4 `+ Y8 Z  N
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件9 {4 T+ Z: C: P" _( J6 P# u* M
  6. 不会解释如何做到这一点-也有文件存在,为9 F9 q1 F6 @! _: f
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用& L+ T8 g9 c; e" X  ~  N) H, J
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    $ t7 E  R  N+ M1 a  `" o& s7 H
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    9 @: e5 l$ S# z* z) ]
  10. 本地机器,这是我的MySQL安装。
    ' M- Y4 V, E6 T0 e6 K7 ?: L8 ?7 i
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从/ x5 G( v' s+ g3 B0 v  @  \
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ' D0 _5 N2 h! `# I  t, o0 _
  13. 数据库。 - J. ?7 `: }. z/ o1 {
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在  J; g' g0 f: b
  15. 编写本报告的时候,仍然有太多的问题-检查现状5 A- `0 l' v- W0 w8 Q. S
  16. 在teamspeak论坛,如果你有兴趣。
    . A' p) P! r( h0 v
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    " t, P+ Z7 B9 Q$ N& K/ |
  18. Borland公司使用。这个司机只能界面与客户端库. _0 h  B1 e" k
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    6 w8 A: `, d' F; x. \
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    6 c; \- ?  Z+ K% w& }
  21. " vendorlib " ,并解数据库连接。
    ; U) c) m7 B% M% h% Z1 z4 V5 H
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 0 p; K  `) l5 l7 ]1 {" i

  23. 8 p+ D( u* Y0 `% x3 s7 R3 a% g
  24. # # #做好工作# # #
    6 _+ C! `4 o' t& H
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都8 z; l, a: i& {+ O' v! [1 m
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在' B: l* ^: `2 s6 s# k+ B  }) y" O
  27. 结束:
    & I. E- @: c' [2 Q  O+ w* E
  28. ---削减这里--- * p* g6 _# o: C7 q: R7 }
  29. [ dbexpress ] . |6 a  Z; v' ~) R6 `! I
  30. sqldir = mysql_sql ) E8 @/ B, ]7 ~( X+ ~* {5 Y
  31. drivername = MySQL中3 X$ i" Y( _& I8 E& u) h
  32. 数据库= your_database_name_here
    # i$ u; s& O0 Q, c
  33. 主机= the_pc_the_mysql - server_is_on . k' A' d( B: x+ b5 a6 h
  34. user_name = user_name_on_the_mysql服务器
    - z! R  E+ _$ [, J- m
  35. 密码= password_to_go_with_above_user_name # c3 q6 W8 b  ~. t# e7 T; Y& d
  36. getdriverfunc = getsqldrivermysql
    # o  ]8 U/ v) ^" E1 |  ]1 C
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 6 {8 x, _) J2 C
  38. libraryname = path_to_libsqlmy_libary   J* _5 e* _1 i$ r* ?
  39. 积极= 1 0 P+ v! t& w1 ~; \: e+ X
  40. ---削减这里---
    7 z+ X& i0 ~; t
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    + o! W& T" u- z5 v
  42. ---例如---
    7 g& v& r: F. h0 h# ?
  43. [ dbexpress ] ' a" i% J, Z" a4 k$ w; _( ]3 F3 I9 c
  44. sqldir = mysql_sql
    % Q$ M$ f7 U( N( w  w
  45. drivername = MySQL中
    7 A2 S& u9 K* j5 c0 k4 O
  46. 数据库=测试
    5 i% y" ]0 D' {3 u
  47. 主机=本地主机8 y# h3 c! z" M# {3 ~6 k! X2 N
  48. user_name = testuser ( |0 [$ Z% N8 M5 `# R& H, Q
  49. 密码= my_password + J. g1 E/ {3 D  Y2 z; ^1 q
  50. getdriverfunc = getsqldrivermysql 4 |+ \  O+ j3 t7 h8 |- J$ l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    8 H6 T+ P( J5 A* M
  52. libraryname =. / libsqlmy.so
    & j9 \: e2 p# O- @! w
  53. 积极= 1 # ]1 f4 y' c; }$ r- k* a
  54. ---例如---
    , b$ H, M$ ?1 y3 {

  55. 1 J& [" F* w9 L7 g$ l$ c. Q0 [
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ( m+ `: E9 @/ p, M0 H
  57. ---例如--- 6 T( Z. v! b2 h) K
  58. [ dbexpress ]
    8 s5 Z6 q% j, |1 c3 R/ ^- P: Y
  59. sqldir = mysql_sql , R  h2 X& d% [: S9 `5 n) t
  60. drivername = MySQL中! ~, T$ x% M, ]
  61. 数据库=测试. ^, }* m; Y& w) J# q1 j( U
  62. 主机= 127.0.0.1
    ) |8 m/ g* K' |. ^* a* o! B. {
  63. user_name = testuser
    7 f: I: ]9 k- ^, p
  64. 密码= my_password
    + d6 L. B/ L5 i  @7 _1 [" X) I
  65. getdriverfunc = getsqldrivermysql ; I+ Q% m* Q1 M4 {/ J6 l9 O) C4 v
  66. vendorlib = libmysql.dll在) ^( `; f. m6 v/ N& e# l
  67. libraryname = dbexpmysql.dll / k' f- M. z' E6 a- z. t' g
  68. 积极= 1
    1 _' F% S) o1 ?5 W9 @; F8 m
  69. ---例如---- # |0 E& R6 v7 k7 Q  \+ E/ ]
  70. -写在0 2.03.04由p wk.linuxfan/ s; U# S: g; }
复制代码
发表于 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: z; Y) v2 ~  U  E- D

1 w6 ]1 ~6 p2 A3 [+ l; V. _* q1 T1 b( Cbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-19 08:31 , Processed in 0.099364 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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