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

3448 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan . l7 r5 t& G% T: P0 @' C- R
$ f" ^. ~8 C: ^( i; ^- J, _+ @, F

  1. + T0 {4 O4 L% [
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ! f6 X5 |% g! X- N" K( ~" A
  3. ( k5 [( w8 N2 d) y$ f3 ^$ ^: u/ t
  4. ### What we need ###
    7 T' ]7 d% ?( l: h# r: L
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ) @5 [) |* j7 H$ f# ~
  6. will not explain how this can be done - there are documents out there for the 0 `* Q+ }1 H) S# A5 N" b6 |
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    7 Y7 I0 g0 k& c9 _1 N
  8. and a user account (username + password) that has the permissions to do stuff* K) Q6 o4 L8 p. |
  9. with the database. Additionally, you will need a vendor library installed on the
    0 m! R3 h6 D+ D7 h
  10. local machine, this came with my MySQL install.  S3 ~4 i7 v% v4 o6 c, \
  11. These instructions will not tell you how you might transfer your data from the
    - g0 r4 o8 a) a
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL) C7 X; D% Q: L3 q
  13. database.
    : }2 Y. W8 f. M( [# E4 B
  14. Some users have reported ways to import a SQLite database into MySQL, but at+ f9 p2 t: }# ]" `
  15. the time of writing, there are still too many issues - check the current status+ Y" v, |* f7 D; }# h& B) g
  16. in the TeamSpeak forums if you are interested.% m. t; ^) o- L3 ?
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    4 j+ Z' O; W) Z8 X0 u* v& s
  18. Borland was used. This driver can only interface with the client library that
    * {* c3 B2 c1 H/ j, \
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this: {% `5 E7 x# M; i% b$ R  z0 L
  20. client library - basically all you have to do is to use a 3.x client library as % B- W+ N0 a8 y; E: s0 Y
  21. "VendorLib" and a 4.x database to connect to.
    8 x# w( }: W5 a) G' k, |5 m3 `9 w
  22. If you need more info about dbExpress, you can contact Borland.2 e% w6 f3 o: \2 |

  23. # _0 j6 o1 a$ \) J2 [6 \+ p
  24. ### Doing the work ###9 [" g: c! M9 q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all( x) ^- ^$ _2 \
  26. the perquisites right, just open your server.ini file, and add this section at: l$ w- W+ [, b- d9 @
  27. the end:. C5 r0 K% o& o! u. m7 g3 m
  28. ---cut here---, g2 s" K  F6 a4 U1 P/ L& J
  29. [DBEXPRESS]
    # R" j7 B3 c3 q4 ]/ @8 |
  30. sqldir=mysql_sql8 ^# t% q4 {1 w0 ^( V# M
  31. Drivername=mysql
    7 Z9 L9 C) B0 @. @- I# V0 W
  32. Database=Your_Database_Name_Here# L  @5 R0 T( L
  33. Hostname=The_PC_the_MySQL-Server_is_on
    % A3 Y# x$ u' z- K5 j2 n0 D
  34. User_name=User_name_on_the_MySQL-Server
    " P) s" M" y+ q( b2 Q' q3 Z. A
  35. Password=Password_to_go_with_above_user_name
    % b/ Y9 h/ A# v- N9 Y0 [: F* W3 l7 x
  36. GetDriverFunc=getSQLDriverMYSQL
    - V" m9 Z3 A/ U# p3 U& e. s( k% R
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib2 z( K3 H7 ]! i0 y! n6 p3 n
  38. LibraryName=path_to_libsqlmy_libary
    ! U, R' U. Y" u, d+ q
  39. Active=1, \, @/ ~% E. |
  40. ---cut here---/ }" f8 D/ u* ~: D% @
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ! g9 |. n( r+ S  V
  42. ---example---9 Y% [, r4 p3 X* ~- w
  43. [DBEXPRESS]; E2 |+ p% C7 c* F0 d9 d8 A6 L
  44. sqldir=mysql_sql
    ) T* \- C! f" l" T6 [
  45. Drivername=mysql; b7 A6 m" R" F6 J* o$ K
  46. Database=test- @, W2 D. p! ^: U
  47. Hostname=localhost( y5 |0 g; m& V( \/ @
  48. User_name=testuser
    + w/ x3 h5 T+ {: J7 B5 y2 Y- {
  49. Password=my_password* I9 F. M8 {, m5 s6 F( Z& Y
  50. GetDriverFunc=getSQLDriverMYSQL
    % x- G( v6 i0 n
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.01 `4 D( A3 Z7 ^" p+ x
  52. LibraryName=./libsqlmy.so) V* ~% t! I; i% I9 a) i" B4 u5 L( N
  53. Active=1! r2 d3 i" ~# N& J# p
  54. ---example---; e) O2 w* w( N' j8 n& c$ e
  55. 4 x% `; g6 r' m8 H' X8 Q
  56. On a windows box, also running the MySQL server locally, it would be:8 J4 N6 }( q( H/ ?/ k
  57. ---example---
    0 b2 k( T/ W+ N% c  Q
  58. [DBEXPRESS]
    3 c6 y9 p/ w! I# [- X
  59. sqldir=mysql_sql
    0 w6 r1 v8 ?/ Q. d5 `* W3 y2 v
  60. Drivername=mysql4 U1 _0 m/ t- O+ [4 C6 w
  61. Database=test
      G: z/ n1 w2 H" g
  62. Hostname=127.0.0.1
    $ j2 x( F$ {& y6 p# j$ R
  63. User_name=testuser) e8 Y# T4 f% D
  64. Password=my_password
    * P, y" u, D! Q0 P
  65. GetDriverFunc=getSQLDriverMYSQL
    0 L3 q; A% Q. R: \% T
  66. VendorLib=libmysql.dll& Q8 T4 l& T. Y! o7 G6 v
  67. LibraryName=dbexpmysql.dll
    . j; b# `+ M: _, S1 g
  68. Active=1
    - [# j5 C1 o, R
  69. ---example----
    8 |4 N9 e# M; b+ W
  70. - written 02.03.04 by pwk.linuxfan
    8 e0 i, ^9 S" C! o1 m

  71. * A3 E1 }! _+ d' U, z
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看: n6 D( h2 Z* N, I" ?) |

  1. ! g' ~2 M* c. ]" X+ j6 R$ k, @+ G! E
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### $ H- b. j# A% n1 @

  3. % b/ q" ~- y$ N& N8 ~8 a9 a
  4. # # #我们所需要# # #
    0 T$ P2 X. G  l  l
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    % W' h4 u, v6 S9 }8 K3 o
  6. 不会解释如何做到这一点-也有文件存在,为
    0 I# i* A  R- ?
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用/ u% d% `1 D3 C  X" B4 N
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西$ |: v% C( z8 g4 O* J  l+ n
  9. 随着数据库。此外,你需要一个卖方图书馆安装于) @2 D9 z. {/ U! T) |  Q$ W
  10. 本地机器,这是我的MySQL安装。
    ( P( m4 S6 V' P8 G( Z( N9 k, g
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从& I  Y" V$ ~; W& ?6 n" z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ( q0 x) Y) b% O# {* ~+ Y
  13. 数据库。 . w' {; d$ ?& c! L+ B) N" B
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在; \) i$ e7 n5 Q* q4 O7 t
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    8 R' \' x1 r  e6 I
  16. 在teamspeak论坛,如果你有兴趣。
    ' Y* Q& f: u' G" K7 P5 ], P
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    / ]# _& c$ Z- Q) z4 W8 z3 V
  18. Borland公司使用。这个司机只能界面与客户端库
    8 P6 \# b- T, e4 ~" a
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ) o& I& r( s( o' ]
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    1 Q5 n: {: x. J% G0 P
  21. " vendorlib " ,并解数据库连接。
    . Y7 u/ O' z  f; m; H
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 , M0 |8 Q1 |# q& b. ]; j

  23. 9 |9 Z& I7 q, o! B( d" E1 D( n
  24. # # #做好工作# # # ! L' B& G3 V2 ?! h. t: W/ P
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    3 |, N* \, X" @
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    * _9 P/ I* N& Y3 U1 f
  27. 结束:
    . N4 b! O0 m- r
  28. ---削减这里---
    * I5 N3 D$ ~& S
  29. [ dbexpress ] ) }3 W5 m$ L4 W5 p" R6 \5 j& p
  30. sqldir = mysql_sql
    ! D3 Q) n) |1 O- ^
  31. drivername = MySQL中
    : O9 L/ Z+ C$ j4 }
  32. 数据库= your_database_name_here
    ' ?1 W* b& m* Y2 S5 }( N& m
  33. 主机= the_pc_the_mysql - server_is_on
    1 \* b# n- {3 Y# T
  34. user_name = user_name_on_the_mysql服务器" [. L. e, }. T2 d6 k  k
  35. 密码= password_to_go_with_above_user_name 8 w! W# F; ?: k- D4 U
  36. getdriverfunc = getsqldrivermysql $ g4 L- U" b1 T# p
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib - ^9 R" z  q& h8 T# t' [
  38. libraryname = path_to_libsqlmy_libary
    " n( ^. p0 p7 d3 m1 G& D: V, U
  39. 积极= 1
    8 d( G  z& W0 z/ h3 h
  40. ---削减这里---
    ! ?$ C. {1 H  {% d
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    % z  P  c( V/ m) [  N
  42. ---例如---
    # ]5 b2 o, I# j* r6 |% w5 J! `
  43. [ dbexpress ]
    ( c+ K) n7 W, `$ F! L4 g0 p7 {
  44. sqldir = mysql_sql 2 K+ i1 g: K% r3 [+ v! r& ~3 }$ |
  45. drivername = MySQL中+ X  ?8 O& s( }" i9 a
  46. 数据库=测试, R4 L/ Y, N1 d
  47. 主机=本地主机
    1 O* i* j0 d5 J6 v( M- {
  48. user_name = testuser 4 ~. _) l) u! C3 e% o
  49. 密码= my_password
    ) q* m1 M; o/ u( C
  50. getdriverfunc = getsqldrivermysql
    2 |1 [9 w' {1 |5 ?4 Y% M
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 # g8 y: G! D' v, c1 D
  52. libraryname =. / libsqlmy.so 5 V% Y+ ?0 K0 M6 G9 o
  53. 积极= 1
    6 ^! Y$ l) a! g8 ~, Q1 I: V
  54. ---例如---
    3 J: a: j6 i% O- ~# f
  55. & Z: M& Q2 k, s9 ~/ s! b
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    $ S7 s0 @1 K5 F* y; k5 P! R: @
  57. ---例如---
    8 _+ m. m% z0 j" I2 g& L- |
  58. [ dbexpress ]
    6 R7 i+ k- T5 r" X+ D& k
  59. sqldir = mysql_sql * v, [2 R4 S# w+ Y3 [  `
  60. drivername = MySQL中
    ! d, k. h! c# X2 o6 g8 O
  61. 数据库=测试+ }0 {, n! f3 |
  62. 主机= 127.0.0.1 ) A9 d; R, L* G! Y2 r! X; L8 M
  63. user_name = testuser
    4 @& v+ h5 t! [# n* @
  64. 密码= my_password
    ) q/ V! e0 F2 y
  65. getdriverfunc = getsqldrivermysql : I3 G( }" T  F$ V
  66. vendorlib = libmysql.dll在
    9 @, v" n: D: I! m# t
  67. libraryname = dbexpmysql.dll 0 T- O) f* f, R
  68. 积极= 1
    * c$ R9 `0 f) Q3 Y
  69. ---例如---- % b" Q7 X. M6 e
  70. -写在0 2.03.04由p wk.linuxfan
    * u- o. [% z, E% l
复制代码
发表于 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
8 L+ p; N  q! ?* I9 Q! S% ]( s' _9 ]) D& Y; U/ K( H/ }
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-29 20:25 , Processed in 0.060109 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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