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

3182 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
) D, |, X: \) t& W2 s: n
+ K. J2 z' ^9 S% j! C

  1. 5 S$ ?& ]3 J0 o/ ?: ^
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######- A8 i1 D* m5 _9 ]+ v$ b/ v8 a/ M

  3. ) D/ l' u" n+ u4 j
  4. ### What we need ###
    9 F* }( z' |( o1 K4 r
  5. Naturally, we will need a MySQL server to store the data for us, this document
    8 f; f# L5 |# g! h8 R6 r/ a( F8 B
  6. will not explain how this can be done - there are documents out there for the * g* R& k& Z8 u" j% @  s" N
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    & K" [& ~! n; D6 q" @; q
  8. and a user account (username + password) that has the permissions to do stuff
    - k/ s+ w" q1 e. Q8 b
  9. with the database. Additionally, you will need a vendor library installed on the
    " _+ ]- b2 ]2 i, Q7 A* q
  10. local machine, this came with my MySQL install.
    ' _- z! W' I, {1 D+ K: B3 [
  11. These instructions will not tell you how you might transfer your data from the
    5 T: Q" C7 @8 r5 d0 I8 x
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL  t8 L  Q6 k/ O
  13. database.
    # s6 X; m6 U, w; V
  14. Some users have reported ways to import a SQLite database into MySQL, but at+ r: Y3 ?& n" M  Q( N; `2 \: U
  15. the time of writing, there are still too many issues - check the current status- _1 s; O. S7 O7 [$ S% L- ~
  16. in the TeamSpeak forums if you are interested.
    , r. O2 u( S# F. T! |9 B
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from2 j6 j! q% h) Z1 I0 R
  18. Borland was used. This driver can only interface with the client library that
    6 {4 c, \' e; g3 d- B4 j
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this- e9 F1 d1 h  g8 j5 ]
  20. client library - basically all you have to do is to use a 3.x client library as ) L% J' @! m) |8 o
  21. "VendorLib" and a 4.x database to connect to.$ R5 [6 j+ N" O, a
  22. If you need more info about dbExpress, you can contact Borland.9 A- Q6 E$ {7 G/ E, B$ y! Z( S
  23. ; E- O& W6 v. Q$ Y
  24. ### Doing the work ###
    , R3 d; S' r: I  T* M( |
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all8 f, m/ D7 u" G. U
  26. the perquisites right, just open your server.ini file, and add this section at
    2 ^$ k1 O: b1 m/ Q- q
  27. the end:! r! Y  X. x% w  n" z1 X  C
  28. ---cut here---
    7 M7 m* e7 w: G  g
  29. [DBEXPRESS]
    - \  g/ \7 B0 a, z
  30. sqldir=mysql_sql
    7 x+ A4 H# S  `
  31. Drivername=mysql
    1 G  @( Z+ _) s9 I
  32. Database=Your_Database_Name_Here& O( F$ y% |$ u
  33. Hostname=The_PC_the_MySQL-Server_is_on+ Q( R2 N7 t! j$ g* F( C
  34. User_name=User_name_on_the_MySQL-Server
    # Z4 d" V! L! T$ \% Z" b, B! P" e
  35. Password=Password_to_go_with_above_user_name
    1 ]" {+ M' s2 m  U
  36. GetDriverFunc=getSQLDriverMYSQL, }+ \$ N, |9 j6 D
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    8 g# D2 K3 {9 F' I
  38. LibraryName=path_to_libsqlmy_libary
    7 q$ ?% H7 o6 p; e/ o( q
  39. Active=1- I  y  z' U, |: T% E( X
  40. ---cut here---
    5 }, k+ p% j" Q. Y/ r( D+ g" `% t8 v: v
  41. In my environment (a linux box with a MySQL server running locally) I have:5 p" Y, e3 B  z
  42. ---example---; r+ ]) F" E  Y
  43. [DBEXPRESS]
    5 {6 r; Z- |$ b% _0 p  |
  44. sqldir=mysql_sql) G# x3 Q$ t( Q. H& F, V
  45. Drivername=mysql
    " i! J. }0 {, i/ `/ w3 }
  46. Database=test9 j+ E$ h! W$ t$ }% \0 y/ d2 |- C) b
  47. Hostname=localhost. l; }9 m8 ]- B4 H1 [7 X
  48. User_name=testuser4 P0 J3 R* ~0 L) D6 x3 z
  49. Password=my_password
    $ z5 {; t$ e! O. `8 P
  50. GetDriverFunc=getSQLDriverMYSQL
    , Z1 T" J! U$ K* J
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0( F. M( d2 ~6 d% B0 k" B
  52. LibraryName=./libsqlmy.so
    / F6 C. g8 ]) ?! I
  53. Active=12 H, U3 o5 K4 b- {+ R1 N
  54. ---example---
    " w  c7 T" x& m  D. B% K& {' p

  55. 9 n2 S" `( g% @# V5 j0 X
  56. On a windows box, also running the MySQL server locally, it would be:
    4 o7 {5 n: V% ~( M
  57. ---example---
    + r* {; n( t  h1 ?& v
  58. [DBEXPRESS]- X# @/ C. X5 X+ c, |+ q
  59. sqldir=mysql_sql
    # {7 @$ Y- x: m6 t! D% A8 |
  60. Drivername=mysql- @" H7 |1 X+ U3 U+ D3 R
  61. Database=test
    3 Q# u, q4 w. p
  62. Hostname=127.0.0.15 W, B. @( K, E2 r% t
  63. User_name=testuser0 n5 u& F, p+ d/ m; V
  64. Password=my_password
    - p% k# J' m, n6 f
  65. GetDriverFunc=getSQLDriverMYSQL& q( C/ ~1 k4 w7 Q# P* y% F
  66. VendorLib=libmysql.dll8 y) j8 ]+ r, Z
  67. LibraryName=dbexpmysql.dll
    + ~, M0 [: _9 O& v
  68. Active=1) H0 E* t' |1 R8 Y$ E2 C
  69. ---example----
    + z! m. ~: D+ a& w- i
  70. - written 02.03.04 by pwk.linuxfan
    ( D2 Q4 ]' G1 [7 [$ X/ r) F9 b/ M% u5 r
  71. 6 G) l  W8 a$ E  u0 I% k. }  @
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
6 Y3 H* x5 k; f, f/ S

  1. 2 b9 M# {# G$ O$ t0 G. C
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ) q( {6 c: c7 \! C& C

  3. # @) V% A* O0 L6 m
  4. # # #我们所需要# # #
    * \  G+ F2 v7 r3 h4 i
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件% p( {8 ^- ~0 I$ z) C
  6. 不会解释如何做到这一点-也有文件存在,为
    4 L( w( P7 Y' T+ |4 T
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    $ ~* S8 e  [7 ?- S: p
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西/ ^0 h; g* G! N; J2 g; [1 ~
  9. 随着数据库。此外,你需要一个卖方图书馆安装于( n* ~$ `5 u6 v' ?0 e7 Y
  10. 本地机器,这是我的MySQL安装。
    ( v4 q& h$ c% A) @# f# p
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从) ^& v, m5 k) ?1 ~+ h3 d5 j9 f. n8 i' Q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 6 H8 y/ z$ I# H3 n
  13. 数据库。
    ! K6 r  r5 w2 A. n/ m  z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在" g, D8 x. S, k+ U" x. Y
  15. 编写本报告的时候,仍然有太多的问题-检查现状0 O/ ~; W; |% q( \1 b7 Z! |
  16. 在teamspeak论坛,如果你有兴趣。
    ' S" Q8 g, s: i" W- k
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    5 G# I% ?' \* I
  18. Borland公司使用。这个司机只能界面与客户端库3 W( i9 H9 Y) o) ], |
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ' }5 j% v) g0 i7 A+ X6 @
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
      E8 i2 o' q2 s. r% Y- G4 q) \) E
  21. " vendorlib " ,并解数据库连接。
    6 G4 A9 u- G2 Z* a( p. u& w1 U( z
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ( A9 Y5 R; N+ B5 U3 y

  23. / ]: ?% T" ~3 L6 M- e
  24. # # #做好工作# # # 8 n1 b& }) }5 F/ I' c
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ' W6 z9 @* p! r/ m2 e; b
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在8 v0 h. P3 P  i+ v
  27. 结束:   q$ a$ d8 v# J8 s/ g. C7 e
  28. ---削减这里--- , \# D: n6 u5 d# U' \2 g
  29. [ dbexpress ]
    2 I' G$ Y/ v; _" O9 e6 E( M
  30. sqldir = mysql_sql 2 C$ H9 s" R9 _' {1 `+ m
  31. drivername = MySQL中0 O5 L; f- K/ e  u" d; e
  32. 数据库= your_database_name_here & S3 V- \2 J  U4 o+ W
  33. 主机= the_pc_the_mysql - server_is_on
    $ T& d8 Y$ D# W' Y- }
  34. user_name = user_name_on_the_mysql服务器
    + n/ s  t0 D- S
  35. 密码= password_to_go_with_above_user_name # M) Y% D+ O  v+ ?' ]8 W
  36. getdriverfunc = getsqldrivermysql
    ; A3 }+ |/ U5 D* W7 e
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ) ?+ _3 @. \- J& |
  38. libraryname = path_to_libsqlmy_libary
    5 J# P4 L" s, |  X: O0 S
  39. 积极= 1
    2 z& M! I; @4 m+ u8 w5 @
  40. ---削减这里---
    3 L! M# p( ]5 @- h. H
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 3 k- [4 b! c- t' p
  42. ---例如---
    . t2 ~7 Y5 o: X1 L" f6 H8 ]' j
  43. [ dbexpress ]
    $ c+ _7 }! K. o
  44. sqldir = mysql_sql
    3 J; i9 F1 H2 u0 s% c
  45. drivername = MySQL中
    / z1 k5 M* Y8 l, ^& C( _5 o
  46. 数据库=测试% m9 ]! u- D2 G
  47. 主机=本地主机
    ( h3 I5 H, i) n0 G! U, B" i4 X
  48. user_name = testuser - J  m/ H$ z3 O4 D8 @/ Z
  49. 密码= my_password 3 _* t; ]5 y& x6 ~3 Q4 a4 _) ~
  50. getdriverfunc = getsqldrivermysql / P) |" w5 m# z5 E* T8 b
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 5 I8 M& ^( m8 o4 ?  v* y& a1 M
  52. libraryname =. / libsqlmy.so ' ]" v$ z; F( V$ Y& q  X
  53. 积极= 1
    8 M9 i0 k$ {1 |: \* z
  54. ---例如--- 1 D1 J8 \3 N7 k% h0 U

  55. + a0 f1 {* w, i; s
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ; t5 Y7 v6 K2 N
  57. ---例如--- 1 j3 P# s3 w0 j
  58. [ dbexpress ] " \* n. T) D7 ]/ O) g# B
  59. sqldir = mysql_sql
    ( f* K7 X. V/ {3 G+ }8 R- {2 }
  60. drivername = MySQL中  l* f+ x! _2 x& P; d
  61. 数据库=测试+ z/ U, S+ X, P
  62. 主机= 127.0.0.1 : d; B1 l" l  m
  63. user_name = testuser & F* q, I5 j1 ^2 f  E
  64. 密码= my_password : |& V" N& A2 ]6 U9 x5 [
  65. getdriverfunc = getsqldrivermysql 5 w8 C  s: O1 P& x
  66. vendorlib = libmysql.dll在
    & k5 L/ p6 o' e! z( d
  67. libraryname = dbexpmysql.dll
    ) U8 q4 [' Q' W& d' {4 u& O. U& o
  68. 积极= 1
    3 Y; B* u* a9 T6 R: a
  69. ---例如---- 1 S( O% Y; K. z5 S
  70. -写在0 2.03.04由p wk.linuxfan
    ( ~- L3 U) R+ d7 V7 B$ d, T% m
复制代码
发表于 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% g6 H- J* h' }8 i, A
$ A5 F: z* d; q' m; B! R
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-18 11:45 , Processed in 0.087171 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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