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

2742 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 2 C+ W/ U+ U+ `
/ m4 v7 h) W: Y: ~2 {5 y

  1. : p+ e6 E) y) C3 v
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######" g+ u' M$ a5 g2 n, w+ \# C, K7 t
  3.   S% l% d7 u: x& L& |" }  k
  4. ### What we need ###3 c* m) J& X! \) x4 ^0 Z/ x
  5. Naturally, we will need a MySQL server to store the data for us, this document 4 W! u: c) R% U5 T4 s
  6. will not explain how this can be done - there are documents out there for the
    - B- N( O3 M* y$ O
  7. interested. The requirements include a (empty) database for TeamSpeak to use3 j. [/ M; u! A
  8. and a user account (username + password) that has the permissions to do stuff
    + i8 r3 i& @$ U  `
  9. with the database. Additionally, you will need a vendor library installed on the- K+ B9 U/ w: j% q+ n+ E" @
  10. local machine, this came with my MySQL install.
    ( i3 Q2 s5 Z- R+ I  e6 L' J
  11. These instructions will not tell you how you might transfer your data from the" K& Y/ F" c' @4 j% [5 e# d+ ]0 {9 Z
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    % D( u) b  \( ?" {% x
  13. database.
    + O6 ^/ t0 D! _: U; C' c( r+ V( R
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    # R. I9 F7 I6 n0 n* f1 G) F
  15. the time of writing, there are still too many issues - check the current status
    8 ~0 t% s1 W( \; k& _
  16. in the TeamSpeak forums if you are interested.
    ( D1 v  |# m" I/ j; d9 W# O! ^8 t
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    0 g' P$ w$ S9 J' ^
  18. Borland was used. This driver can only interface with the client library that   A3 E: o  J5 ]9 N6 q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this7 z6 i  \+ A  q" A/ J
  20. client library - basically all you have to do is to use a 3.x client library as $ K1 h# u) C! S4 p* z
  21. "VendorLib" and a 4.x database to connect to.7 j$ L  k: h8 U' ?0 T5 U
  22. If you need more info about dbExpress, you can contact Borland.6 F% K: s$ A3 N6 q3 B+ i0 w, b

  23. 0 h. f# F7 T3 n
  24. ### Doing the work ###* k3 B+ x7 p0 _5 a, X. H
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all+ ~$ w& Z0 o5 n0 y/ y; L
  26. the perquisites right, just open your server.ini file, and add this section at
    9 r. P6 h0 E* T3 b$ r+ v/ z6 T
  27. the end:; n0 a  O9 H7 g0 B' T8 w/ b+ }9 o
  28. ---cut here---$ D4 q8 B; J2 X0 U$ N. W. @
  29. [DBEXPRESS]
    $ x- X; f( n& A
  30. sqldir=mysql_sql
    1 m* }  a9 m9 y% d. @
  31. Drivername=mysql
    7 I4 J1 M6 T" T3 |- a+ V4 L& w
  32. Database=Your_Database_Name_Here
    7 P6 o! r1 M( C( O
  33. Hostname=The_PC_the_MySQL-Server_is_on$ Y: X9 H# g( e) ]5 N+ Z
  34. User_name=User_name_on_the_MySQL-Server1 v0 a. U/ X) p: |( s) s- w
  35. Password=Password_to_go_with_above_user_name
    8 F4 a/ V% S9 h! u6 o* o3 k
  36. GetDriverFunc=getSQLDriverMYSQL
    ' f7 r; C4 V) I- O* @7 Y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    " @, Z; I8 ?6 `* i- ?4 @
  38. LibraryName=path_to_libsqlmy_libary: y% E7 p. _0 O) K
  39. Active=1: W6 F2 L  F& m+ W/ j
  40. ---cut here---
    * [& c  V7 {+ k# ?0 a" j
  41. In my environment (a linux box with a MySQL server running locally) I have:
    * }; V3 J! Q- y/ g/ [( U
  42. ---example---' y" n, S9 w, ?, {! d) [
  43. [DBEXPRESS]
    9 E% i! U& H0 T% o( d- N6 P. F
  44. sqldir=mysql_sql
    4 V0 W0 ^- W" c" R  `. N1 ]1 h' k
  45. Drivername=mysql
    ; S3 ]2 C6 n6 o9 B+ O3 P
  46. Database=test6 D2 h2 k6 j8 w% ?
  47. Hostname=localhost3 |, U* J# a  o$ }9 x. x; v
  48. User_name=testuser
    * @0 B& h  M8 x0 D# H2 }* N! @" v
  49. Password=my_password, `) r' V2 [6 R
  50. GetDriverFunc=getSQLDriverMYSQL
    6 z% N+ D* q$ d3 l" C5 a
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    : L' o3 @4 @0 [) o: n" F
  52. LibraryName=./libsqlmy.so
    ! q- j5 V+ ]" U" h: `& {8 L
  53. Active=1
    9 v% W. R7 b5 f8 K- {2 y* P% E
  54. ---example---
    0 G5 O, p5 C/ \0 ^. n- t: I* o. J: U
  55. # c* I* F, \3 S$ g# y
  56. On a windows box, also running the MySQL server locally, it would be:8 p5 T: \7 m3 T) J3 L9 C
  57. ---example---
    ; Y( W; l2 x3 j$ J
  58. [DBEXPRESS]9 N+ l# c. k& B  F
  59. sqldir=mysql_sql6 }& \2 D0 r" F2 @6 ]
  60. Drivername=mysql1 X! |6 X7 F& d6 ^, [
  61. Database=test6 f6 @: M2 M+ G6 a
  62. Hostname=127.0.0.1
    & J2 j% T2 J- ]3 l8 z: k
  63. User_name=testuser' C- r0 U8 D5 H3 k. W/ d3 F' j
  64. Password=my_password
    . j, O2 M4 L  ]6 \6 W/ p9 b6 ]
  65. GetDriverFunc=getSQLDriverMYSQL# T6 P+ L' }! ^% ?' T8 x, v
  66. VendorLib=libmysql.dll
    3 X( z. N5 Z0 v
  67. LibraryName=dbexpmysql.dll4 V( i% A2 h2 j
  68. Active=1
    1 @& r) i, ], j+ @8 e
  69. ---example----, L1 J9 q- [, x: R* F4 Z
  70. - written 02.03.04 by pwk.linuxfan9 u- x* |) g" h: |4 L( r
  71. * {5 e( h1 X" H4 d' }" m# I3 @
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看1 u& ?" m) O+ i( E
  1.   n+ o8 Q: @9 _8 M
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    % U* c  y# r! b; y0 y, A9 V/ [
  3. ) {% Z: ~! w3 ]+ ]: j8 Z0 S2 J
  4. # # #我们所需要# # # % K! M: [0 X& Y7 C+ R, Y' H
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    " `  y1 t3 Z9 q: a( J. J) i* j9 A
  6. 不会解释如何做到这一点-也有文件存在,为
    * {& s: K$ q# d6 K% w
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    . w; c; A0 ?9 H8 q) H4 w
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西. x1 k# j( |4 y- b" D
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    / ]) r" G' ?% l
  10. 本地机器,这是我的MySQL安装。 , ?5 V  g9 m- }
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从2 `& U4 x* n3 t
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    0 p- ?5 g% Q; s& i
  13. 数据库。
    : k9 J( P; T; `
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    5 a# Z  C. [0 |! U" Y7 D. Z
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    , X0 m; a8 l: z8 J
  16. 在teamspeak论坛,如果你有兴趣。 " @0 {$ W1 f' [6 H3 I
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    3 B. H( ]; o7 ?4 a' a6 E
  18. Borland公司使用。这个司机只能界面与客户端库/ E5 ?0 ^+ L8 D
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这$ Z" b) S) D; q: u: [( J
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    6 Y6 `3 A2 y9 F6 G
  21. " vendorlib " ,并解数据库连接。 6 \+ X) y9 R+ C* K# m: u
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    % l( x% [  A% O. K! v& W( _9 U3 \
  23. $ y- k7 g4 X+ D4 }
  24. # # #做好工作# # #
    / [5 C7 Y' Q7 j: X. W9 W5 U
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    6 s" [' |- N# ~- U* d( Z& ^* P
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在. D  Y2 ~$ X  p. h
  27. 结束:
    , a4 v& V/ N$ O. {
  28. ---削减这里--- . [4 }' m! [6 o. i; [; s: J
  29. [ dbexpress ] 8 |9 {! N6 {+ p' v- V
  30. sqldir = mysql_sql # N, T2 g. |2 T' Y# e
  31. drivername = MySQL中
    ; A: u9 g) ?: @2 H
  32. 数据库= your_database_name_here
    5 k7 E3 Z' o/ l/ t6 H# K# W1 c
  33. 主机= the_pc_the_mysql - server_is_on
    8 j2 a0 y. n- p& J! ?$ z. @
  34. user_name = user_name_on_the_mysql服务器4 ]' o( S, k/ D" t- k
  35. 密码= password_to_go_with_above_user_name , H: E4 V! ~! |! `
  36. getdriverfunc = getsqldrivermysql
    ; _7 ]9 Q8 B. Y' |/ v
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 5 \) m9 Q& t1 A9 y/ X
  38. libraryname = path_to_libsqlmy_libary % Z! ]+ z# Y* s% `& Q
  39. 积极= 1
    0 }# i& ~4 g2 p+ d
  40. ---削减这里---
    & x( J6 r$ I8 q& ]5 j3 Q* g) d
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    5 [9 V. i1 s* h3 J, D, e* f, y) t
  42. ---例如--- 0 W. ]2 A" T( ~! T# |7 J
  43. [ dbexpress ] 9 l5 D/ B( c3 Q. W* r
  44. sqldir = mysql_sql
    $ F2 t: ^4 h' j+ N/ g0 A* k- p
  45. drivername = MySQL中
    % N" L: t5 M: e$ l: R0 k% ]. v2 _" {
  46. 数据库=测试
    ! y$ m2 {$ M: x; v3 |  u7 I
  47. 主机=本地主机0 p# G; c# Q# a' b0 W# e
  48. user_name = testuser
    5 U0 m- k+ M  M9 F4 [: N6 m
  49. 密码= my_password
    6 Z: X" |; G, J: {4 @" ]
  50. getdriverfunc = getsqldrivermysql 2 x' _' S- ~, C& o- ~! Z0 o& \/ k
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    * U5 w2 A( I; C. |1 B9 F! j+ D
  52. libraryname =. / libsqlmy.so
    6 n6 j; ]1 ]/ ~4 D  p' p0 V% ?( i
  53. 积极= 1 0 r) q1 r' ]4 g' u8 {
  54. ---例如--- ' f. `% E. u4 V; i- w3 ^4 ]1 e
  55. 7 m8 ?( f; ]% j2 d. v/ `* F& p
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ! O4 X' O. Q* O" q" I/ q6 V/ D
  57. ---例如--- 7 |/ A! |/ U+ U" Y) [- x# c
  58. [ dbexpress ]
    4 ?& f! c0 f7 [! J6 h5 ~' M
  59. sqldir = mysql_sql ! }' d! o: C% p1 j8 A
  60. drivername = MySQL中- [) |) v( G3 K5 d
  61. 数据库=测试
    / }5 N# w* i7 Z5 ^' u$ ]
  62. 主机= 127.0.0.1 8 Y- Y1 B3 E7 d* t
  63. user_name = testuser ( {( a1 T& }* G/ Y# B. J1 C" j
  64. 密码= my_password , [! E% ^/ s: h, R3 h
  65. getdriverfunc = getsqldrivermysql 5 F! q( y% ]+ M" O$ `
  66. vendorlib = libmysql.dll在3 {0 f. K1 N. r5 S
  67. libraryname = dbexpmysql.dll
    ( @9 s: U' P2 s0 ]3 J
  68. 积极= 1
    * z& D3 D0 N6 z- F) F
  69. ---例如----
    / I6 I, r2 J! b- D% O+ d" }& i) H# q, u
  70. -写在0 2.03.04由p wk.linuxfan
    # n6 E1 S+ ]; R7 V. 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/ c: L& }! ^1 o- F' U- i

& f* t1 ]2 u7 w* p) c- Pbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-10 11:40 , Processed in 0.096997 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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