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

2318 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan + I, i1 _3 M# V! E3 A( Z

/ A- j2 s4 T6 |9 c$ Y
  1. % h3 k  x7 a. U8 [& a
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    , h* X/ V. [  m

  3. ' d  r9 m. l" d
  4. ### What we need ###% d# |0 H& [8 F8 f+ k! I
  5. Naturally, we will need a MySQL server to store the data for us, this document
    4 B9 K+ P5 |7 [( C3 Z% M
  6. will not explain how this can be done - there are documents out there for the ' K: N8 U3 A. T& U5 Q2 U
  7. interested. The requirements include a (empty) database for TeamSpeak to use& c  ]' j8 m4 P/ p, I, {
  8. and a user account (username + password) that has the permissions to do stuff& V# C7 a( S3 t& d
  9. with the database. Additionally, you will need a vendor library installed on the% o5 \' s2 ~. d/ o5 I
  10. local machine, this came with my MySQL install.& A$ f  x$ W1 R
  11. These instructions will not tell you how you might transfer your data from the
    % ]0 Q1 S4 z! w% K+ r+ [0 o5 S# L
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    1 Y, n; E! Z5 Z4 o  H8 r& t
  13. database.# k2 U& g( ^& w) K- L7 F% ]
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    8 s5 M2 e) W1 S+ T. y9 D
  15. the time of writing, there are still too many issues - check the current status
    ! X! P6 {8 M# [3 U
  16. in the TeamSpeak forums if you are interested.' z/ R4 t; ?7 Q/ R$ p
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from9 X9 _, {! {2 e
  18. Borland was used. This driver can only interface with the client library that 9 \6 k  o' ]6 z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this& n0 L, o4 k3 j0 n# s9 \2 _
  20. client library - basically all you have to do is to use a 3.x client library as 1 B- F6 f! t' V6 M- f. W, S+ j
  21. "VendorLib" and a 4.x database to connect to.
    * V9 T( F' W: h0 Z( T
  22. If you need more info about dbExpress, you can contact Borland.
    ! h' X, w. S0 t8 r0 u

  23. * U. W/ l$ \/ h
  24. ### Doing the work ###
    4 ]5 U! H% F5 E4 F
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    4 M2 Y4 d3 C+ G8 [( k  f
  26. the perquisites right, just open your server.ini file, and add this section at
    / t0 c$ I) K7 q6 ]& Z3 ?9 M
  27. the end:- f3 F0 b6 C! v
  28. ---cut here---
    ' [. G. n* P& E8 P: f# e& j3 P
  29. [DBEXPRESS]
      E5 c# G* l$ w( E
  30. sqldir=mysql_sql& B: n; X( X+ e, E& {  \, ^+ t
  31. Drivername=mysql! ]7 A( k# V! ]$ T7 T0 N
  32. Database=Your_Database_Name_Here
    1 e$ E* B9 h- Q4 [) s
  33. Hostname=The_PC_the_MySQL-Server_is_on
    , D" m$ a. A7 D
  34. User_name=User_name_on_the_MySQL-Server
    ; c1 c: q3 l. q* A' o
  35. Password=Password_to_go_with_above_user_name1 Q1 ?: m: ^* `1 d3 D- }
  36. GetDriverFunc=getSQLDriverMYSQL
    0 C+ p1 j, B" J5 K/ Z( ?9 K0 @
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ) w3 `9 @! g( w! f* l
  38. LibraryName=path_to_libsqlmy_libary
    $ w# @) o# F: {) E/ t- S
  39. Active=1
    ) I5 k9 S3 T. K# i. N) ]8 a! _# I0 k
  40. ---cut here---
    + F" R/ ]0 g4 R3 p& Z: ^, {
  41. In my environment (a linux box with a MySQL server running locally) I have:6 q0 y! d( U( W- f  V  y' V
  42. ---example---
    # p! z1 n2 M6 t# ~
  43. [DBEXPRESS]
    * e# E1 L0 z$ q2 m( T; A. m9 P
  44. sqldir=mysql_sql
    7 [9 `2 q3 }4 q+ ]5 g+ e) y
  45. Drivername=mysql8 D2 Q4 O" m% [8 b. V
  46. Database=test
    ) U5 b+ l% z+ F2 P3 s- K5 }* e
  47. Hostname=localhost
    / o* B- h5 G7 C/ c
  48. User_name=testuser$ f+ i2 U8 h6 A5 [6 c
  49. Password=my_password' H/ O6 C) q0 Y
  50. GetDriverFunc=getSQLDriverMYSQL
    : ]% P* O( S; Z4 z# Z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.03 {; N, ^3 ~, F+ X' g
  52. LibraryName=./libsqlmy.so
    ) r8 J% l! C9 U  ~, ^; {6 V5 E
  53. Active=19 \$ U% Y$ [5 v9 A( a
  54. ---example---, Q* q4 \: p' |- G2 K3 @
  55. 9 P. }" M' X, g# y5 ^! W
  56. On a windows box, also running the MySQL server locally, it would be:, e; h# }# J, A1 k# D
  57. ---example---# Y% O4 f8 v" U  Y1 ~8 p
  58. [DBEXPRESS]. S$ g) Z. [7 ?- N$ T2 z' H
  59. sqldir=mysql_sql
      ?5 t8 }- x3 T0 z9 v; j; [
  60. Drivername=mysql
    ( m0 _3 g/ B/ r# D# ]
  61. Database=test
    4 B: K- k8 Z  c, U
  62. Hostname=127.0.0.1  Y8 f5 h( u1 I' s- k' G6 X. H
  63. User_name=testuser
    ' a: t5 K% g0 A: Z
  64. Password=my_password& \3 f# P3 F0 J4 ~
  65. GetDriverFunc=getSQLDriverMYSQL1 r) r  l& z% H( @! u, b/ |' s# z* `
  66. VendorLib=libmysql.dll
    / n+ t( I; j" P8 H" |$ N
  67. LibraryName=dbexpmysql.dll% [; n6 n; R0 \  f
  68. Active=1
    1 @8 I8 g8 o' b& z" Q
  69. ---example----/ x. @4 F, m; ]
  70. - written 02.03.04 by pwk.linuxfan# f* S$ y8 ?# h& Y- S! v

  71. . w! I0 s4 |, ?0 d
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看5 W1 |$ X  K; [& L9 n; J
  1. ) h  L& m- g2 x7 t6 p, v  _
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    - M" ]+ A& E" O/ I* W

  3. ) ~: \* L7 e% u( h( Z/ J  M% }4 z
  4. # # #我们所需要# # #
    0 |9 s3 c+ z- b1 `' O2 t
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件8 h8 a, z4 ~: }/ \
  6. 不会解释如何做到这一点-也有文件存在,为; b2 ]- ^# f5 A% [1 X0 ~
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ) t9 U% _) v$ m
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ! o! n! N0 s$ G. D
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    0 _) Q! g3 `. ^* x& Q
  10. 本地机器,这是我的MySQL安装。 : Q$ ?; z0 ?+ B2 B7 {. ~
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从% s8 G8 \) z5 C; o, k  }+ i/ O, l/ ^
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    : n& U$ W( ~" @" ]) u, \- a
  13. 数据库。 & G9 |) B* l0 k+ O7 g
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    5 M8 c( g6 n* f; [% q& ^. P
  15. 编写本报告的时候,仍然有太多的问题-检查现状( l" G# `3 j) G- ^& B) K- K4 C5 ^2 N  s
  16. 在teamspeak论坛,如果你有兴趣。
    7 q' I0 o& x5 `) p
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 t1 I) X1 G% C% }8 S
  18. Borland公司使用。这个司机只能界面与客户端库& a/ n; g1 D/ |
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    0 j# [0 Y* C8 b( ~% v5 K- Y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为( O* ]4 ?# G- s, R9 ]' |
  21. " vendorlib " ,并解数据库连接。
    9 s: d5 {" k6 P! T
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
      B8 U0 X; j  k; e9 a% e: S
  23. 4 C1 A% B, q% \# t, n2 M/ P
  24. # # #做好工作# # # 3 ~' k% L  G  \+ `! x
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    - {! w$ O5 p2 ]; u+ W5 F
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    1 O7 W. S7 @9 V$ Z
  27. 结束:
    $ t: M/ [( U; |" ~, J
  28. ---削减这里---
    % U/ N+ I+ j$ `" V8 P  i. {
  29. [ dbexpress ]
    : q1 s7 w; H& s- Y3 N
  30. sqldir = mysql_sql - y  ^# j0 o0 `9 b/ e0 j# m5 [1 A
  31. drivername = MySQL中, S# B! @- H9 U4 \' A
  32. 数据库= your_database_name_here
    " t1 ?8 U7 o  H' K6 t. p* z, j% J  O2 t
  33. 主机= the_pc_the_mysql - server_is_on
    ) c: p$ y) p9 X7 x2 s' Q
  34. user_name = user_name_on_the_mysql服务器! v6 Q# {6 h+ @7 d
  35. 密码= password_to_go_with_above_user_name
    * e! R. n. Z* ?
  36. getdriverfunc = getsqldrivermysql
    . `6 K# ~/ b' P
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    $ \: y9 y9 D( j9 g0 L$ W
  38. libraryname = path_to_libsqlmy_libary
    3 u" Z: P) H% r* y, ^. J
  39. 积极= 1
    & {7 k% P5 [% I
  40. ---削减这里--- , h$ _' H$ v& N' _( T1 {  \2 i- v
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: : y; i1 p- O9 D: S: C
  42. ---例如---
    7 E+ N( |. h' }3 ?5 R3 P
  43. [ dbexpress ] ' Z# V. e+ }, k% q" s8 ~/ K
  44. sqldir = mysql_sql ' ^  J9 R* J3 K  |* q7 Z0 ^" R9 t
  45. drivername = MySQL中
    ! I( H, J) [$ o& l% y- n
  46. 数据库=测试
    8 Y% r- Z# t* O8 {$ O) t
  47. 主机=本地主机
    8 e( y% [6 B! d8 M
  48. user_name = testuser
    0 P( n5 M9 j: H
  49. 密码= my_password . F: s! `* t8 Y9 q
  50. getdriverfunc = getsqldrivermysql 4 l, Z- M7 n" z- j8 C
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    7 ]+ L2 X4 d( W) N% Y% X5 b
  52. libraryname =. / libsqlmy.so : }9 n2 T6 h2 B# F( a' h6 k
  53. 积极= 1 # L% ], |% `# [
  54. ---例如--- 9 P: D; c3 x# y7 o3 u* u3 p  s6 J4 M
  55. 3 |  ?7 f/ J) G. \4 a' j
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    + ?1 N! p$ i( w' O
  57. ---例如---
    . V, t, m0 P5 S; ~
  58. [ dbexpress ]
    / s3 K) N! E9 X6 f
  59. sqldir = mysql_sql ) X/ l0 }/ g; o+ D% H6 W
  60. drivername = MySQL中% x! X! T. p- w0 O, r2 @1 H4 B
  61. 数据库=测试8 E7 v1 V9 D- r8 u3 ~
  62. 主机= 127.0.0.1 , n0 ]1 i; P4 c
  63. user_name = testuser ! N7 o& y9 R: X4 P2 m
  64. 密码= my_password
    2 j. J7 @$ F+ C$ ]* Y
  65. getdriverfunc = getsqldrivermysql
    9 T; b, R- d! x
  66. vendorlib = libmysql.dll在
    . s. R3 j. a/ c5 J" q2 v- I) ]$ {+ L" g
  67. libraryname = dbexpmysql.dll , T, i- E: P* ^- E/ ^5 N! W
  68. 积极= 1
    2 p+ E) |: `# M7 b/ z$ v
  69. ---例如---- 8 g0 h% C) F6 x* T8 b0 r
  70. -写在0 2.03.04由p wk.linuxfan
    8 t0 |% v$ u4 s* @- ~* [
复制代码
发表于 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
7 k1 u7 e! U6 M! @: y2 M5 q& z% U9 Y+ E( O) [
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-19 18:48 , Processed in 0.103488 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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