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

2565 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ; I% v! n; ?4 f1 D
6 n: V' R9 X( }# i% b. g! ~- d

  1.   _( l# C3 s3 T; l) W/ f8 _, R
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    - S: i8 x4 x' e' o' ]5 Y
  3. 0 e$ M* C+ K. G9 p- I( Z0 ]
  4. ### What we need ###" M! F: N& P5 Y* G# i' F
  5. Naturally, we will need a MySQL server to store the data for us, this document
    , Y% G' Q; m: [& D2 F) J
  6. will not explain how this can be done - there are documents out there for the
    : }2 k/ B, n  a+ ^& G# v0 K- t
  7. interested. The requirements include a (empty) database for TeamSpeak to use' a; h6 @0 }" d; {0 X5 M- h7 _1 h* I
  8. and a user account (username + password) that has the permissions to do stuff% B0 u1 p4 e3 q
  9. with the database. Additionally, you will need a vendor library installed on the
    / H$ w' e+ C* Y9 u) X" _
  10. local machine, this came with my MySQL install.% D5 I4 A. v" a# Z+ y
  11. These instructions will not tell you how you might transfer your data from the+ t# F+ }+ a4 G; s
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL3 u4 Y6 E, c9 P+ j8 v1 S" u/ j" b
  13. database.
    ! W$ K5 F1 V1 Q; f7 y8 T* W# Y
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    5 b2 t- S% u8 x. h, m" |# o3 S
  15. the time of writing, there are still too many issues - check the current status
    7 I5 N! i. {( n/ t1 T
  16. in the TeamSpeak forums if you are interested.' @: v( E' H! @; o
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from# h" y- \5 ]  q  c$ v" j
  18. Borland was used. This driver can only interface with the client library that - _6 }- o7 s% Q. n
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    % u  }8 `9 w6 N# x0 \: L
  20. client library - basically all you have to do is to use a 3.x client library as
    / h  q2 ~3 u( o* A' h4 S
  21. "VendorLib" and a 4.x database to connect to.
    & U& p, D) F. r/ H; }6 n
  22. If you need more info about dbExpress, you can contact Borland.$ W) I2 l6 i1 G$ R4 O  O
  23. ) [+ @1 E$ L, q
  24. ### Doing the work #### ^5 j- K  @, u% \) K3 A
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all3 y" h! `# G7 \" D0 j3 P
  26. the perquisites right, just open your server.ini file, and add this section at
    - N; Y, y6 ^9 N& A  n/ Q- m, e6 C
  27. the end:
    ( y4 Y" T- r  M+ o. ^3 V, {
  28. ---cut here---8 _% O; v$ e. h) @7 X
  29. [DBEXPRESS]- m* `2 g. C# Y. M* t$ q
  30. sqldir=mysql_sql- M8 X1 d( A6 C* j9 k  T
  31. Drivername=mysql
    9 U0 t; h/ \7 f* {
  32. Database=Your_Database_Name_Here9 }$ v1 \/ T) h$ ]9 m  j1 t
  33. Hostname=The_PC_the_MySQL-Server_is_on! u$ U; L' [) d, D( Y, T
  34. User_name=User_name_on_the_MySQL-Server5 M9 `. d' z0 A
  35. Password=Password_to_go_with_above_user_name* U, t6 P* l% w0 i" [" `6 ~
  36. GetDriverFunc=getSQLDriverMYSQL. w% c( @+ S; F( c6 u
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib+ T8 w: l! U* ]+ j
  38. LibraryName=path_to_libsqlmy_libary, J4 \# y. n- B1 ^" h* p: k
  39. Active=1# C; u$ v; e% J' W8 \) D
  40. ---cut here---
    + K* p- V; J2 U' @* d9 F) c) W- m
  41. In my environment (a linux box with a MySQL server running locally) I have:! B  A: d+ u, I: N2 |, u6 `
  42. ---example---
    * F* B3 |$ E7 V: F/ u) x
  43. [DBEXPRESS]1 s9 n! {( N6 G2 `$ p
  44. sqldir=mysql_sql
    1 u$ g  J! F& c) M
  45. Drivername=mysql
    2 C  }: Z0 w  O- k/ H$ Y0 W7 o
  46. Database=test; u' a! y# o" V: v
  47. Hostname=localhost- W4 ~* R2 y+ s! R6 G
  48. User_name=testuser$ m+ f$ o, D. q
  49. Password=my_password0 ]6 j3 ~! I7 d" [4 {
  50. GetDriverFunc=getSQLDriverMYSQL* m' q: n& U2 \
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    - K1 E% `* t! E( \
  52. LibraryName=./libsqlmy.so: J2 o, g( r/ o& Q
  53. Active=1
    ( G6 A4 F- q$ R* {: X# i4 H5 a# Z1 {
  54. ---example---5 U8 b' G, p3 D- [+ w( y

  55. ( X# |) K9 A  o% v
  56. On a windows box, also running the MySQL server locally, it would be:% }3 Z$ m" U$ G) n
  57. ---example---4 |, c4 ?% J6 b" h; ?: D7 o& T
  58. [DBEXPRESS]
    , j' X& z2 `6 C7 }- z" S
  59. sqldir=mysql_sql: K. q  |. J2 p
  60. Drivername=mysql; M0 o5 j3 ~6 }' b0 M1 M5 H
  61. Database=test
    / e! X! }, `5 y6 ^+ P5 |
  62. Hostname=127.0.0.1
    , V/ @  Z( J' a  f- F: w. m4 _: N
  63. User_name=testuser
    + ~8 L2 M- P9 T* A/ v) I
  64. Password=my_password
    ) _1 H( R+ k. l  Z
  65. GetDriverFunc=getSQLDriverMYSQL
    & `; G5 b- a1 L( n  g, }, e) P
  66. VendorLib=libmysql.dll
    ! ^2 U9 e' j% Y' k
  67. LibraryName=dbexpmysql.dll* H/ i& [' Z. ?( [- m$ k0 B  \0 f
  68. Active=12 s6 J# B8 X+ g* g8 o
  69. ---example----( Y% e$ R6 X; Y+ a
  70. - written 02.03.04 by pwk.linuxfan$ b2 j- P4 d' y
  71. 7 l4 C# D3 L0 g9 t+ [' s$ c0 K/ J
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看% F/ X" b& n( C( l& W% Z

  1. , R& d* z* W  F" `) w
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    * A' P4 Q" p; Q8 r- k7 Q
  3. + P) l) ~. }4 p2 Z* L) _1 |+ R3 ^/ i0 C
  4. # # #我们所需要# # #
    2 V" H7 A& X3 `# D4 ~
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件9 g; d0 b6 |/ z9 A. J4 u
  6. 不会解释如何做到这一点-也有文件存在,为7 u; H1 @* N+ V, p0 Q! j
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ! h* X+ i8 T  h& I7 E# I0 V
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西6 X2 w1 ^" K+ |! N: |# B
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    - w& y" F: R- U) c1 Y
  10. 本地机器,这是我的MySQL安装。
    ; F  w( h- v0 x& l3 d
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ! I. Q3 o# m, O
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    0 m4 @! g- D# X
  13. 数据库。 ! ^+ t! d, x( T/ @5 t2 ~6 {
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在  D! p# D: [, p+ A2 C7 s" b
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    + r; U7 p$ b/ \* e
  16. 在teamspeak论坛,如果你有兴趣。
    3 n) W4 ^5 V) b- i9 p& q; q6 t+ p
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    6 X7 o/ V  E" Z4 |1 x& Z) d6 K
  18. Borland公司使用。这个司机只能界面与客户端库8 i8 Q$ G: U3 u( Z2 ?- c
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这; F" H: L) @3 G" q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为2 i3 ~8 V0 }9 _1 |7 L
  21. " vendorlib " ,并解数据库连接。
    0 c, z7 a( A6 ?
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ) w; _7 X" c+ T$ B  M8 |
  23. ; R( C- D5 T' |9 b, ~+ S  N7 U) f. f
  24. # # #做好工作# # # * D- J# e+ F) z% {/ U
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    / J$ G) z  j3 y1 R2 b
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    $ `7 t4 U" {( t
  27. 结束:
    . O+ A% c" Y% K1 e& j0 T4 f7 {
  28. ---削减这里---
    $ Z* _% Y* c6 D; ~9 u) W4 {
  29. [ dbexpress ]
    / D7 ]- X& t3 F# j! {
  30. sqldir = mysql_sql + S4 K% o  @# _8 j$ D/ C2 ^
  31. drivername = MySQL中$ l& |, S( w4 N9 o& Q+ f' g
  32. 数据库= your_database_name_here
    ; }! t# b; X  L# c% O" R
  33. 主机= the_pc_the_mysql - server_is_on ; _  a6 V5 d1 L" I
  34. user_name = user_name_on_the_mysql服务器7 g: T4 I) |* W
  35. 密码= password_to_go_with_above_user_name
    8 K! D6 p* h! P6 b
  36. getdriverfunc = getsqldrivermysql & a" m5 _  X; k9 {/ X- M$ k  D+ w
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib % f9 a- V! I2 w  m) W- W# s$ T
  38. libraryname = path_to_libsqlmy_libary
    ( F2 K" C1 K* `  ~2 F% _; C! C4 |
  39. 积极= 1
    # a" P! y, `, @" c8 _: L( G3 e' O: L
  40. ---削减这里--- : _% R2 ~) m2 M+ W/ N5 @3 Q4 S
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ! f. M) W9 P2 j6 Z) r
  42. ---例如---
    . R/ t! ~7 z& \, \1 A1 D' c' Y
  43. [ dbexpress ]
    8 [9 M& j& f( C3 v
  44. sqldir = mysql_sql # g/ U7 a! m' d6 O9 a% F2 ~
  45. drivername = MySQL中5 W! _* c+ z1 x6 C
  46. 数据库=测试
    - D( Z4 x- c/ l/ J- C! j2 ~7 r& B
  47. 主机=本地主机' R% h1 w: y! C! T
  48. user_name = testuser # ~" x$ w6 m& d
  49. 密码= my_password
    * x( N0 ^7 G4 I. v
  50. getdriverfunc = getsqldrivermysql 9 }' X9 A/ n; E. g2 H
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 & e# U: V& u* K# ]" @5 S3 U
  52. libraryname =. / libsqlmy.so + C( q  _1 C  Y
  53. 积极= 1 $ w9 |: A! o9 U' h6 t' y
  54. ---例如--- 0 G+ r; N. b7 s+ N
  55. ! }$ [# K# ~* `% P6 Q9 c
  56. 对Windows中,也运行MySQL服务器本地的,那就是: $ z& b7 ~, X# t) F1 p* Y
  57. ---例如---
    / g/ @8 D* P1 j: v9 K8 J" Z/ u
  58. [ dbexpress ]
    ) q) x0 h& w3 V5 R# l
  59. sqldir = mysql_sql
    / w1 Y7 ?4 m3 s0 e! e& o' Q0 ?
  60. drivername = MySQL中
    # T1 h( \' @1 z
  61. 数据库=测试+ r- b* N% B7 [8 L  `
  62. 主机= 127.0.0.1
    : C5 G9 n* @. r
  63. user_name = testuser ' _2 j8 Y) N) b3 `2 d9 r: I. L
  64. 密码= my_password 7 \1 S* p  |: U6 |0 P0 z2 `
  65. getdriverfunc = getsqldrivermysql
    " g3 O, \9 |3 V  h& N& n5 T
  66. vendorlib = libmysql.dll在
    - U* u3 ]( u6 f
  67. libraryname = dbexpmysql.dll 6 b4 e/ _! _, `9 D# y1 y1 j& X
  68. 积极= 1
      [- g- l, k* {+ b1 u3 ^8 x
  69. ---例如----
    2 w! `  y0 [0 ]* @
  70. -写在0 2.03.04由p wk.linuxfan' L- {: O9 A& H5 j( a8 v5 U
复制代码
发表于 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
( R) q! A, P# A" N' ^0 `- H3 ^& `& p
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-29 22:07 , Processed in 0.102290 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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