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

2274 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ( Q9 h0 a& Y0 D1 d/ U: ~  z! c
; T  H7 }) w0 L9 Z& z# ~1 X
  1. ! U* g9 x" {; o" U5 z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    & ^3 C- Y( x' d0 C8 S. F* ^& W
  3. - S3 }8 q7 t! l+ d7 A+ \
  4. ### What we need ###
    . F! O! B& w5 C5 S+ R) d, g5 _
  5. Naturally, we will need a MySQL server to store the data for us, this document 5 M9 I& X, m& {& m9 ?8 B2 ]
  6. will not explain how this can be done - there are documents out there for the % s3 |9 ]# ~; U# G3 N
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    , u% D6 m* b4 T/ I. I! n0 u
  8. and a user account (username + password) that has the permissions to do stuff) F4 k4 t8 z! r' k; N! e
  9. with the database. Additionally, you will need a vendor library installed on the
    5 }1 n6 y; g- F( C) R
  10. local machine, this came with my MySQL install.
      |  ?( v; [9 ?( s% i8 b" u4 \
  11. These instructions will not tell you how you might transfer your data from the
      y8 e% j* P0 j
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL) S9 ^7 c2 w$ s1 d5 W; b
  13. database.  P+ p+ ?7 w2 P1 X1 q; g
  14. Some users have reported ways to import a SQLite database into MySQL, but at3 l# M$ t  r; K( Y- v
  15. the time of writing, there are still too many issues - check the current status
    ; D" L* P" u. k# L) O6 x3 K- h" T
  16. in the TeamSpeak forums if you are interested., s1 E; |4 W" _& F1 e+ w6 p
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from9 H4 o/ F* @! a' N* o" c
  18. Borland was used. This driver can only interface with the client library that
    3 W* r  Z5 ^  H0 W+ x3 R* J0 o4 x1 b
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ; D5 S  k/ g$ C, T0 C' w" @! `! C
  20. client library - basically all you have to do is to use a 3.x client library as ; l5 r; H8 T9 G  E6 U4 I
  21. "VendorLib" and a 4.x database to connect to.( {9 i- J, F( K3 D* `$ P0 t
  22. If you need more info about dbExpress, you can contact Borland.
    8 p# h+ s" A) {3 [

  23. ( p7 m3 W# l% w9 T8 M/ B0 e) h
  24. ### Doing the work ###6 V) g1 i; W! n  e: o; d
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ) v8 Y: A/ o3 }: i8 \
  26. the perquisites right, just open your server.ini file, and add this section at' O' P& s+ K( ]7 W$ u" b$ t
  27. the end:: Y9 E7 e& Y( j
  28. ---cut here---
    ! ]4 Q# L: c" Q+ [" r8 Q
  29. [DBEXPRESS]
    * [3 q. V7 T; }
  30. sqldir=mysql_sql# }; o7 C+ `! w, {
  31. Drivername=mysql
    : |( J' y5 V% ~5 }: r. s/ R- I8 J5 S
  32. Database=Your_Database_Name_Here
    3 V( g; l: O$ Y1 h, r) }5 x: M  S, V
  33. Hostname=The_PC_the_MySQL-Server_is_on# o- Q, c' f. `# T& N& b; _
  34. User_name=User_name_on_the_MySQL-Server
    . \2 M8 I4 w, G9 }  F
  35. Password=Password_to_go_with_above_user_name' }; f; ]: C& B0 j9 ?
  36. GetDriverFunc=getSQLDriverMYSQL
    3 f& F: q6 N+ {: v3 L
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib8 @; D( T8 i( q# Z4 e6 e
  38. LibraryName=path_to_libsqlmy_libary
    , p% k1 ~, G4 o- [1 w7 V
  39. Active=1
    ! ~/ V8 ?$ A) ~$ \: v( e3 K3 N/ @7 G
  40. ---cut here---
    ' N; |: }) k: F- J! E. T
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ! p* Z6 M- o/ l
  42. ---example---: i/ f4 W4 g- D- o( s0 V
  43. [DBEXPRESS]
    * }( ?3 i8 a$ I$ e
  44. sqldir=mysql_sql; m- l/ D( f4 I0 {! H& d
  45. Drivername=mysql
    , C: \% N7 V. |
  46. Database=test
    9 }3 [) J& Z( o2 l
  47. Hostname=localhost0 v) P, E) j8 M7 j
  48. User_name=testuser# ]9 ~& [4 t) u8 d; U' d; x1 t1 O
  49. Password=my_password8 t" y/ d# G7 L7 b: i7 u
  50. GetDriverFunc=getSQLDriverMYSQL
    ' M& I" ^) n, F: d# R
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.07 h" v  Q$ a+ s3 w4 E) l6 [* [; B( D& E
  52. LibraryName=./libsqlmy.so
    " O& s& B) B* ~4 `; ^& F
  53. Active=1
    6 \) D0 u1 n  P& w2 J, H
  54. ---example---% x/ _& m$ n- m0 L
  55. 6 P" u' D7 U1 L) \
  56. On a windows box, also running the MySQL server locally, it would be:
    3 i6 f+ _6 n2 _9 e+ g; i$ T
  57. ---example---- c/ O0 b& Q* o1 [- E
  58. [DBEXPRESS]
    7 {$ c; J+ h: N+ b
  59. sqldir=mysql_sql
    5 Q9 b! u3 d# k+ v) f
  60. Drivername=mysql
    ' m0 F: L& F. r. T3 \
  61. Database=test
    6 R  r% U" d' e2 ~. a! @  h
  62. Hostname=127.0.0.14 |' d. F, |& A. N5 U2 H; N
  63. User_name=testuser; S' |/ |) f, W& \
  64. Password=my_password
    ; E! a/ g+ m; C: }& ?+ g
  65. GetDriverFunc=getSQLDriverMYSQL. E, A- B# [  O! M
  66. VendorLib=libmysql.dll1 K8 V. Y8 C: a! k$ P4 H8 l
  67. LibraryName=dbexpmysql.dll9 K# [" X8 k- K6 P
  68. Active=1
    8 V- f1 y( I' W4 y
  69. ---example----; Z+ R2 F5 n! @3 m
  70. - written 02.03.04 by pwk.linuxfan9 R$ {: J: g0 Z' P' l. @

  71. % ]! v. c4 o$ k6 b
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看2 ~/ L9 Y5 y9 \2 E7 l

  1. " Y( w4 r; A5 C" j" X4 c
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    / T' `3 n4 K$ ]5 _
  3. ' J  C5 o4 J" z5 \: I" h+ I
  4. # # #我们所需要# # #
    ; A. A4 n" J$ ^$ R
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件5 r* \7 R. C/ Z1 a
  6. 不会解释如何做到这一点-也有文件存在,为% J6 j9 L8 V7 n
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用! a! b' D: ~- H: e
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    " u+ w* b5 b: M
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    - W' Z  I' F  D) @
  10. 本地机器,这是我的MySQL安装。 ( s- Z) V0 u4 @+ d$ g; ^
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从, ~% o" v5 ]8 c+ h
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL % y% K, L5 d9 K+ z! ?1 t
  13. 数据库。 6 M- C- s- Y. b/ |& t
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在- u( s4 C% O- _1 x% U, G
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    5 @4 D  t, j! X5 C7 j: I2 O3 c3 O, H
  16. 在teamspeak论坛,如果你有兴趣。 9 ^9 l7 v' L) [* s3 V- K# t! y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    : ]1 I/ H9 ^4 V6 k
  18. Borland公司使用。这个司机只能界面与客户端库& x, y& L: _  T7 n
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    5 t) }: F/ p# \2 t% W
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    & X; N, R5 H, R$ K7 C2 [0 Y8 J7 e3 ^
  21. " vendorlib " ,并解数据库连接。
      A+ G$ Z8 O3 l7 G" u* R' H) n) c
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 * `" K. X4 @( ~( u( ~& w

  23. 5 A4 T1 m* m) }! b  ~
  24. # # #做好工作# # #
    7 I& e  F' E9 [
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    8 S0 \  k8 I) X1 U3 @" A/ J) ]
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在/ J2 h3 a& F) @* O- d7 J
  27. 结束: ( W+ [1 ]% J8 s1 F( H& x0 m! T7 B
  28. ---削减这里---
    $ P0 t! s1 ^5 {
  29. [ dbexpress ]
    ; ~: \) A+ Z8 V" n4 |
  30. sqldir = mysql_sql ; J  v; H# D$ J) R, q1 |2 f, j
  31. drivername = MySQL中
    % s* I$ c7 d; T! I( J
  32. 数据库= your_database_name_here
    ) g% q0 s8 u5 k, F/ H6 g4 D3 x
  33. 主机= the_pc_the_mysql - server_is_on + \$ v, \, o$ o- H( q
  34. user_name = user_name_on_the_mysql服务器
    # E+ b% T( G6 B0 h
  35. 密码= password_to_go_with_above_user_name ) U  _  G2 u  {( H$ W: D* o
  36. getdriverfunc = getsqldrivermysql
    & D* N: f, {6 R8 z/ s, a# n! N
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ! }9 j9 v3 Z, A) X
  38. libraryname = path_to_libsqlmy_libary
    . Q9 h4 B/ s2 ]2 v) D8 ]
  39. 积极= 1
    $ c5 |/ x: j  d# e) U' S9 Q
  40. ---削减这里---
    - H# w: g5 i7 J  b3 t9 X
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    6 I3 p$ P7 ]6 P! }% |) W3 l4 _
  42. ---例如--- * A0 w, {2 ~1 R; {
  43. [ dbexpress ]
    / N. r# e1 I$ q5 w0 k9 y# d
  44. sqldir = mysql_sql
    . ^# P& S2 }. e! r; b7 W' P5 B+ _
  45. drivername = MySQL中
    1 f& G% t6 U4 L$ i/ p( o8 t
  46. 数据库=测试
    # n9 _! w* s* R
  47. 主机=本地主机
    ' Z* i  h1 r- m
  48. user_name = testuser
    . n; h& ^. J4 [6 T" _6 @
  49. 密码= my_password 9 t/ I$ z( |3 w& v! l
  50. getdriverfunc = getsqldrivermysql 0 R/ r6 [' U5 l7 y* a8 \
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    : g6 f9 k- Z+ S0 x$ m+ o7 r5 q+ J
  52. libraryname =. / libsqlmy.so 3 O5 Y2 z- L' G/ n
  53. 积极= 1
    4 \- |8 U# E. d1 J( p5 a
  54. ---例如---
    2 ^, @; A8 x# n# G: z8 A
  55. & R: N' D5 y6 o, L) J' r6 l, N. @
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    2 T- g5 r9 h- K, @* ^; b
  57. ---例如--- + t. t/ m: E. M8 Q4 T  @
  58. [ dbexpress ] 9 d6 B0 ~- ~5 @$ i* S: Q; }
  59. sqldir = mysql_sql
    0 }5 O( T( [. i4 R. A  u# g
  60. drivername = MySQL中. `5 k$ Q+ N8 D) h# G1 y
  61. 数据库=测试% l2 D1 m/ l8 {, C* w
  62. 主机= 127.0.0.1
    . R/ B& ~4 |  n& n2 p# p
  63. user_name = testuser
    - |/ [1 e( R. Z" c' D
  64. 密码= my_password $ a) `! L; _& O6 k5 x; K6 [
  65. getdriverfunc = getsqldrivermysql ( ]* h+ A3 A& a$ `2 f& o3 X1 S% S9 `6 M
  66. vendorlib = libmysql.dll在1 A; T6 y, Z, a* O, p
  67. libraryname = dbexpmysql.dll " ?) [$ ^0 ]! i# |* c  `
  68. 积极= 1 ; E  `0 E: z- T
  69. ---例如---- 6 r! h6 i5 ~& k" R+ _4 [
  70. -写在0 2.03.04由p wk.linuxfan2 ^7 _. s' e9 N" g. A8 f+ B
复制代码
发表于 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/ W* N7 s. H; U2 f8 B* G- [1 Z- {
6 K" E4 k3 e/ C2 o- tbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-8 10:46 , Processed in 0.096497 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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